2021-10-25, 11:53 PM
(2021-10-25, 05:58 PM)seandepagnier Wrote: Interesting because I recall this same keypad with 8 wires, and 2 for the led. So maybe it changed.
Thinking about it, perhaps there's more than one kind. Mine has four blue keys and a red key. But I've seen another that has five blue keys (type "G"):
https://www.aliexpress.com/item/1879700082.html
Perhaps I should get that one instead.
Quote:the best way would be to maintain pypilot so that a hat.conf file can specify if the keys are active high or low.
I suggest modifying the software to make the lines work for you, and post the changes "git diff"
Thanks for being open to that. I seem to recall that the RPi GPIOs have pulldowns as well as pullups.
Quote:As for the LED, what will it do? Just turn on when the pilot is on or should it have other functions like blinking in standby?
Could do either.