cancel
Showing results for 
Search instead for 
Did you mean: 

Question about button function turn on, turn off LED

kquirosp
Associate
Posted on June 20, 2015 at 17:15

How can I turn on or turn off a LED through button function

1 REPLY 1
Posted on June 20, 2015 at 17:37

Configure the respective GPIO pins as inputs/outputs, sit in a loop monitoring the key input, and then transition the state of the LED output.

Might I suggest you review software library examples for the chip/board you're using.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..