SPST switch and ACC...
 
Notifications
Clear all

SPST switch and ACC ignition

1 Posts
1 Users
0 Likes
2,151 Views
(@plebre)
New Member
Joined: 3 years ago
Posts: 1
Topic starter  

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.

   
Quote
Share: