Illuminated toggle ...
 
Notifications
Clear all

Illuminated toggle switch wiring

1 Posts
1 Users
0 Likes
1,427 Views
(@theblitz)
New Member
Joined: 3 years ago
Posts: 4
Topic starter  

So I'm using an illuminated toggle switch for my button box but I can't seem to find a solution to get the LED to work in combination with the "button" registration. I connected it to the 5V, ground and data pin on the Arduino Leonardo but then only the LED works. When I connect the "+" on the switch to a digital pin and the data to ground on the Arduino, the switch gets registered in-game but the LED doesn't work.

I selected it as a button in the Simhub sketch setup.

I added the photo of the button I'm using, does anyone have an idea how to get the LED and switch to work at the same time?

Thanks in advance! 


   
Quote
Share: