Notifications
Clear all
Topic starter
26/07/2021 8:14 pm
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!