Last active
July 12, 2019 14:30
-
-
Save bRitch022/d5d649ea484f2cc89b3e937f6e81731b to your computer and use it in GitHub Desktop.
strace simpletest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian@beaglebone:/var/lib/cloud9/Adafruit_Python_PCA9685/examples$ strace -f -o strace.log python simpletest.py | |
Traceback (most recent call last): | |
File "simpletest.py", line 21, in <module> | |
pwm = Adafruit_PCA9685.PCA9685() | |
File "/usr/local/lib/python2.7/dist-packages/Adafruit_PCA9685-1.0.1-py2.7.egg/Adafruit_PCA9685/PCA9685.py", line 75, in __init__ | |
self.set_all_pwm(0, 0) | |
File "/usr/local/lib/python2.7/dist-packages/Adafruit_PCA9685-1.0.1-py2.7.egg/Adafruit_PCA9685/PCA9685.py", line 111, in set_all_pwm | |
self._device.write8(ALL_LED_ON_L, on & 0xFF) | |
File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py", line 116, in write8 | |
File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 256, in write_byte_data | |
IOError: [Errno 16] Device or resource busy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
debian@beaglebone:/var/lib/cloud9$ strace -f -o strace.log python RGB_Sensor_Test.py | |
Traceback (most recent call last): | |
File "RGB_Sensor_Test.py", line 7, in <module> | |
bus.write_byte(0x29,0x80|0x12) | |
IOError: [Errno 16] Device or resource busy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment