Browse Source

Add Blinka stuff to Pi Eyes installer

Phillip Burgess 1 month ago
parent
commit
a3e70cb2d2
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      pi-eyes.sh

+ 4
- 3
pi-eyes.sh View File

@@ -145,9 +145,10 @@ apt-get update
145 145
 echo "Installing Python libraries..."
146 146
 # WAS: apt-get install -y --force-yes python-pip python-dev python-imaging python-smbus
147 147
 apt-get install -y python3-pip python3-dev python3-pil python3-smbus libatlas-base-dev
148
-pip3 install numpy pi3d svg.path rpi-gpio adafruit-ads1x15
149
-# smbus and ads1x15 Python libs are installed regardless whether ADC
150
-# is enabled; simplifies the Python code a little (no "uncomment this")
148
+# WAS: pip3 install numpy pi3d svg.path rpi-gpio adafruit-ads1x15
149
+pip3 install numpy pi3d svg.path rpi-gpio adafruit-blinka adafruit-circuitpython-ads1x15
150
+# smbus and Blinka+ADC libs are installed regardless whether ADC is
151
+# enabled; simplifies the Python code a little (no "uncomment this")
151 152
 
152 153
 echo "Installing Adafruit code and data in /boot..."
153 154
 cd /tmp

Loading…
Cancel
Save