Script to control external device via Arduino

Ahrevival

New member
Hey all. I’m new here. I built a coin pusher machine using Arduino. I am repurposing our old iMac to be an NES emulator. I’ve built a custom game for my wife (a big coin pusher fan). I’m wondering if there are any scripts, or any advice on building a script, that can control an Arduino device via USB. Would it just be a mapping thing?

When user gets to a certain level they can “press A” to start the coin pusher motor triggered via Arduino.

Thoughts?
 
Top Bottom