Hi all - first post!
I have a project that uses Max 6/Maxuino/Firmata to send OSC messages to 3 Arduino Leonardo boards that control a series of motors. Everything works perfectly, except when I close the Max patch, the last set of messages sent to the boards get ‘stuck’ keeping the motors on. Pressing the hard reset button on the boards solves this problem, but the boards are not easily accessible. Is there a simple way of adding a ‘reset’ command from the patch? I know I could probably just send a ‘digitalwrite 0’ to each pin I’m using, but I wondered if there is a command that specifically does the same thing as pressing the physical button?
Many thanks for any help you can offer, and apologies if I’m missing something obvious, this is the biggest project I’ve used Arduino for so far, and I’m blinded by all the code!