So you set it up like so:
Code: Select all
ss.pin_mode(BUTTON_1, ss.INPUT_PULLUP)
Code: Select all
if ss.digital_read(BUTTON_1):
This is the exact opposite of what I would have thought.
So if you want to make it "normal", use a "not" statement after the if and it will look for a normally open (NO) switch to short Normally, the output is offthe pins and work as one would think.
Now I want to add a RC receiver to the pins. This is the momentary version that Adafruit sells.
So the LEDs are off until the button is pushed, then turn on.
I have to test this when I get home but I think I might need the not to make it work when I push the RC button, right?
Thanks in advance for answering this.
MagicBill