Matteo Sisti Sette wrote:
So, if arduino only sends this at startup, and if startup is not guaranteed to (re)happen when connecting to it, what is the correct way to ensure that you send the necessary configuration messages (such as pinMode stuff) just after opening the port? Other than putting an arbitrary delay I mean.
I would remove the (annoying) autoreset feature from the arduino board by cutting the "reset-en" trace. No more stupid resets.