pip install Adafruit_BBIODownloading/unpacking Adafruit-BBIO Downloading Adafruit_BBIO-0.0.18.tar.gz Running setup.py egg_info for package Adafruit-BBIO Traceback (most recent call last): File "<string>", line 16, in <module> File "/tmp/pip_build_root/Adafruit-BBIO/setup.py", line 7 print "py_compile module missing; installing to %spy_compile.py" %\ ^ SyntaxError: invalid syntax Complete output from command python setup.py egg_info: Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/Adafruit-BBIO/setup.py", line 7
print "py_compile module missing; installing to %spy_compile.py" %\
^
SyntaxError: invalid syntax
----------------------------------------Cleaning up...Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/Adafruit-BBIOStoring complete log in /root/.pip/pip.log
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The PWM Duty Cycle range was reversed in 0.0.15 from
100(off)-0(on) to 0(off)-100(on). Please update your code
accordingly.
"
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
import Adafruit_BBIO.ADC as ADC
ADC.setup()
value = ADC.read("P8_36")
voltage = value * 1.8 #1.8V
print voltage# python2 voltage.py
Traceback (most recent call last):
File "voltage.py", line 3, in <module>
ADC.setup()
RuntimeError: Unable to setup ADC system. Possible causes are:
- A cape with a conflicting pin mapping is loaded
- A device tree object is loaded that uses the same name for a fragment: helper
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.