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:/tmp/tmux-1000$ cat /tmp/strace.log | |
15577 execve("/usr/bin/python", ["python", "/var/lib/cloud9/test-spi.py"], [/* 15 vars */]) = 0 | |
15577 brk(NULL) = 0x239e000 | |
15577 uname({sysname="Linux", nodename="beaglebone", ...}) = 0 | |
15577 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
15577 mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f07000 | |
15577 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
15577 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
15577 fstat64(3, {st_mode=S_IFREG|0644, st_size=27732, ...}) = 0 | |
15577 mmap2(NULL, 27732, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f00000 |
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 |