Notifications
Clear all
Topic starter
14/04/2021 8:32 pm
Hi,
I have this DYI button box with a SPST switch that I am using to control the ignition function of Assetto corsa competizione.
The problem is that the switch when in ON position give a continuous signal from the arduino micro. So to turn on the ignition I have to push the switch ON and then OFF so the game recognize the command.
After some research found this topic on the arduino forum
https://forum.arduino.cc/t/serial-println-after-pushing-a-button/178911
It's seems that the shown code make the arduino send a single print from the SPST switch.
I am a noob with the program code and don't have a clue where to add it on the simhub sketch.
Can you help me?
- Thanks in advance.