2021-10-19, 06:48 AM
(2021-07-14, 02:11 AM)seandepagnier Wrote: it is possible with software modification.. but the problem is there are limited gpio remaining.
If you dont need the end stop switches, or rudder feedback or temperature sensor, that would give you 4 keys, and you could also take advantage of a few others, but this would change motor.ino.
For what it's worth, if you have an ADC pin free, you can read a few buttons by using resistors:
https://www.tinkercad.com/things/9eZJtkR...-input-pin
http://dduino.blogspot.com/2012/03/butto...adder.html
And I'm looking at the controller on the website, and ADC6 and 7 aren't used :-)
https://pypilot.org/schematics/wp_controller.pdf
motor.ino would still need to be modded to report the buttons back, but a plus is that it frees up GPIO pins on the RPi.