This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A red light for this green LED
#2
Interesting because I recall this same keypad with 8 wires, and 2 for the led.

So maybe it changed. In any case, the best way would be to maintain pypilot so that a hat.conf file can specify if the keys are active high or low. This is needed anyway to eventually support matrix keypads and rotary encoders as well as various led outputs etc just by specifying them in the file (which can be loaded on an eeprom as well to specify the hardware attached)

I suggest modifying the software to make the lines work for you, and post the changes "git diff" and I'll work on a config option to support it. 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?
Reply


Messages In This Thread
A red light for this green LED - by CapnKernel - 2021-10-25, 11:41 AM
RE: A red light for this green LED - by seandepagnier - 2021-10-25, 05:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)