Except earlier earlier you said
which is not what will happen
Except earlier earlier you said
which is not what will happen
I don't get it. The Nano I have does the following.
I can also not end the PC program just close the com port, reopen it, send the command. Works.
Again my problem is that the Arduino A000005 Nanos I have do not see the first serial data sent to them after they are first powered on and the data is sent right after a connection is made to the serial port. I find a 2 second delay in sending the data will work. Anything shorter will not. Only after power on does this happen. Does not happen on IoT and UNO.
Added this to my code to turn on the internal LED when serial data is available.
if (Serial.available() > 0)
{
digitalWrite(LED1, 1); // turn on internal LED
inchr = Serial.read();
It does not turn on when I connect after power up.
Works at the very next connect.
Looks to me like the Nano has a design problem and most likely will never be fixed.
The explanation in reply #19 is ironclad. There is no way that can work. Go through the explanation slowly and follow along.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.