From 0bbceba55a5e4d5f469e683d4c74e46669fe2a6c Mon Sep 17 00:00:00 2001 From: Kamil Kurzacz Date: Tue, 23 Jun 2020 22:11:15 +0200 Subject: [PATCH 1/2] Add smbus to pip install --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc4fa67..257223e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ On your Raspberry PI you must enable I2C in settings before being able to use it > 7) Select yes when it asks to reboot. > 8) After reboot , run ```sudo apt-get install -y i2c-tools``` > 9) Run ```sudo apt-get install python-smbus``` -> 10) Run ```sudo pip3 install pyserial``` +> 10) Run ```sudo pip3 install pyserial smbus``` # III. Coding Guide From dcdc7efbad81960a72cf3f3f2fd9709a0efe61f3 Mon Sep 17 00:00:00 2001 From: Kamil Kurzacz Date: Tue, 23 Jun 2020 22:15:18 +0200 Subject: [PATCH 2/2] Update smbus library install to Python 3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 257223e..f810e9b 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ On your Raspberry PI you must enable I2C in settings before being able to use it > 6) Use the right arrow to select the button. > 7) Select yes when it asks to reboot. > 8) After reboot , run ```sudo apt-get install -y i2c-tools``` -> 9) Run ```sudo apt-get install python-smbus``` +> 9) Run ```sudo apt-get install python3-smbus``` > 10) Run ```sudo pip3 install pyserial smbus``` # III. Coding Guide