serial port - How to "reset" an Arduino board? -


i've uploaded sketch arduino uno loop this:

void loop(){     serial.println("hello world"); } 

so, now, can't upload anymore, because ide says "port in use".

is there way "reset" arduino without programmer?

edit :
nothing else using serial port, , went fine until uploaded previous sketch.

edit :
i've found interesting things:

try following:

  1. prepare basic empty program (empty setup, loop, etc.)
  2. compile it.
  3. reset arduino using hardware button on chip
  4. press ctrl + u upload code.
  5. if unsuccessful - got 3.

there delay before boot loader starts programs, work on timing. worked me when bug in arduino's code executing soft reset every 500 ms.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -