system
1
I want an Uno to keep running no matter what a Mac does, and occasionally connect to it.
I've read that this causes a reset, which can be prevented by removing something that I couldn't find a picture of.
But what about the computer going to sleep? There should still be power, so will the sketch continue?
system
2
I want an Uno to keep running no matter what a Mac does, and occasionally connect to it.
I've read that this causes a reset, which can be prevented by removing something that I couldn't find a picture of.
http://arduino.cc/playground/Main/DisablingAutoResetOnSerialConnection
But what about the computer going to sleep? There should still be power, so will the sketch continue?
Time to do some testing, I think. Load the blink sketch, and see what happens when the Mac snoozes.
system
3
Thanks! The capacitor does prevent reset and the LED kept blinking on a sleeping computer.
I looked at the code for the 16U2 (it's rather short so I probably missed some files) but couldn't find any handling of USB power events.