0

How to wire LED Button on XT GPIO

I want to Connect this LED button https://www.adafruit.com/product/1185 to Thema GPIO port of an XT player. So I connect the two wires of the button itself to GPIO 1 (GND) and 3 (Button 0) and the two wires of the LED to GPIO 1 (GND) and 2 (3,3V). Ist that correct? So in total I will be able to use two illuminated Buttons (two 3,3V Pins)?

How do I switch on the LED when the Button is pushed?

1 comment

  • 0
    Avatar
    Aaron Rollins

    Hi Stefan,

    Yes, to use a button and a light it requires two GPIO. One as an input and one as an output. 

    There are one ground pin and one 3,3V pin per four button block. It looks like you need to use two buttons (one configured as in and one configured as out) for this application. I am not 100% sure of the details of is LED, but you should compare the requirements to what we can provide here.

    http://docs.brightsign.biz/display/DOC/XTx44+Hardware+Interfaces

    If you are using BrightAuthor, button press triggers can be used for the input and on/off behavior for the output is under the advanced commands tab on any event or state.

    Aaron 

Please sign in to leave a comment.