Hi Seth.
As I've said before a couple of times. I followed the Adafruit info at...
https://learn.adafruit.com/setting-up-i ... k/overviewWhatever libraries that installed is what I have tried.
And I have just followed this site
https://github.com/adafruit/adafruit-be ... -io-python And it still does..
debian@beaglebone:~$ sudo ntpdate pool.ntp.org
sudo: ntpdate: command not found
Then, following the rest of the install,
Results are..
(the version 10 file is the same as the 9A one but I copied it so as not to break the working one while playing around)
debian@beaglebone:~$ python -u OMCB_IO_10.py
Traceback (most recent call last):
File "OMCB_IO_10.py", line 9, 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
debian@beaglebone:~$
The cape error message is new since the latest Linux was installed.
But if I comment the ADC out,
And change ....
#import Adafruit_I2C as Adafruit_I2C
#mcp = Adafruit_I2C(0x3f)
to....
import Adafruit_GPIO.I2C as Adafruit_GPIO.I2C
mcp = Adafruit_GPIO.I2C(0x3f)
I get..
debian@beaglebone:~$ python -u OMCB_IO_10_NoADC.py
File "OMCB_IO_10_NoADC.py", line 16
import Adafruit_GPIO.I2C as Adafruit_GPIO.I2C
^
I have no clue what that all indicates.
Why has the ADC and I2C been changed???
Have you found ANY code that reads the Beagle Bone Black ADC, drives the PWM and talks to I2C in Python?
If I could find code that I can modify that would be ok. But I cannot get any Python code to work following the Adafruit links now.