16mm latching button

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
deltafee
 
Posts: 93
Joined: Sat Feb 08, 2014 1:23 am

16mm latching button

Post by deltafee »

Hi I am having a slight problem connecting this button: https://www.adafruit.com/products/1444, I have it connected correctly but I want the LED to turn on when the button is not press in a and off when the button is pressed in. They said on the video that you can do that, but I am not entirely sure how to.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: 16mm latching button

Post by Franklin97355 »

but I am not entirely sure how to.
You would use a pin on the controller to light or not light the LED however you wish. It's not the switch that controls the LED but your micro.

User avatar
deltafee
 
Posts: 93
Joined: Sat Feb 08, 2014 1:23 am

Re: 16mm latching button

Post by deltafee »

D'oh!! That makes perfect sense, I should have figured that out :/ thanks!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”