Sketch only works when console is open



  • Hi,
    I have upload the temperature sketch to an Arduino Nano. I only edited the name of the node. The code will run as long I have the console from the Arduino software open.
    When I close the console, the red led starts blinking and the code will no longer run.
    I have another temperature node with the same code and that node is running without any problems.
    Does anybody know what the problem is?



  • Nobody? This arduino is useless on this way... :S


  • Hero Member

    @niek Try with a basic blink sketch and see what happens. if this keeps working add some serial output and see what happens.


Log in to reply
 

Suggested Topics

  • 87
  • 7
  • 6
  • 1
  • 7
  • 10

38
Online

11.4k
Users

11.1k
Topics

112.6k
Posts