As promised, here is the code : https://github.com/zenmetsu/gpiost4

This is probably the dirtiest kludge I've ever performed. I simply took two projects and mashed them together, cutting out the need for USB->Arduino link. I need to test on RaspberryPi, but it is working on my Pine64.

Try at own risk, I'm not responsible if your OTA starts spinning wildly and your rig takes off like a helicopter.

Read More...