Timeline for Arduino serial port reset in Serial monitor & Python
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 9, 2014 at 18:00 | vote | accept | hawkar | ||
| Mar 8, 2014 at 15:32 | comment | added | hawkar | It's fine on the Arduino end of things, when I open the serial monitor, it happily prints, the problem is in Python, when I try to send the 'S' byte, the serial port appears not to receive it. | |
| Mar 8, 2014 at 15:30 | comment | added | TheDoctor |
You could try putting something in your setup function, like while (Serial.read() != 'S');
|
|
| Mar 8, 2014 at 14:59 | comment | added | hawkar | I removed millis() and used a counter instead inside my loop. However when I try to send a start signal to my serial port, using ser.write('S') on Python, the arduino doesn't receieve it | |
| Mar 6, 2014 at 17:52 | comment | added | hawkar | I understand that, however this is affecting my script because it means the script plots garbage at the start, my question is can I stop this from occuring. From where I see it, it is something I need to change in the Arduino sketch first. | |
| Mar 6, 2014 at 14:05 | history | answered | TheDoctor | CC BY-SA 3.0 |