Advertisement
geotheory

Setup Buendia Edison to run Nokia 5110 LCD

Jan 7th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1.  
  2.  
  3. # connect to internet follow instructions at top of this page
  4.  
  5. https://github.com/projectbuendia/buendia/wiki/Adding-LEDs-to-Edison-to-report-on-battery-and-server-status
  6.  
  7. # update libmraa0 library
  8.  
  9. echo "src mraa-upm http://iotdk.intel.com/repos/1.1/intelgalactic" > /etc/opkg/mraa-upm.conf
  10. opkg update
  11. opkg install libmraa0
  12.  
  13. # install Adafruit_Python_GPIO library
  14.  
  15. wget https://github.com/nioinnovation/Adafruit_Python_GPIO/archive/master.zip --no-check-certificate
  16. unzip master.zip
  17. cd Adafruit_Python_GPIO
  18. python setup.py install
  19.  
  20. # install adapted Adafruit_Nokia_LCD library
  21.  
  22. cd ..
  23. rm master.zip
  24. wget https://github.com/adafruit/Adafruit_Nokia_LCD/archive/master.zip --no-check-certificate
  25. unzip unzip master.zip
  26. cd Adafruit_Nokia_LCD
  27. python setup.py install
  28.  
  29. # now you should be able to run the LCD script
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement