Activities/Turtle Art/Programmable Brick: Difference between revisions
| Line 195: | Line 195: | ||
else: | else: | ||
tw.lc.heap.append(-1) | tw.lc.heap.append(-1) | ||
Look in /sys/devices on your computer to find other devices you may be able to access. Also, if you can work out how to use them... | |||
* accelerometer: /dev/input/event0 ??? | * accelerometer: /dev/input/event0 ??? | ||
* power button: /dev/input/event1 | * power button: /dev/input/event1 | ||