As you know, Arduino IDE resets Arduino when Serial Monitor is opened.I want also my program to do it. But I don't know how.
I examined the source code of Arduino IDE(Serial.java & SerialMonitor.java) but can't find where it sends reset command. Please help about this issue.
I use C# to communicate with serial.