With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi: I made mine work on 4.4 kernel. The pin base is differnet on both kernels, on 4.3 it starts at 408 and on 4.4 it starts at 1016 for the zero pin. Since in this example we are using the pin #1 then you need to change the setup_gpio.sh to echo 1017 and the paths to point to the directory gpio1017. Also you need to change the main.py, find the line of code that's looking for the gpio path and change the 408 reference to 1017 as well. Make sure you run it with the python3 command. Hope this helps.
So I'm seeing that I'm always reading '1' from the filename (GPIO 408) it doesn't seem to be reading the button click. Do you have any quick instructions on how to setup the button properly? I don't know much about electronics, still learning about it.
Join 2 million + to receive instant DIY inspiration in your inbox.
Download our apps!
© 2016 Autodesk, Inc.