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
-
@niek Try with a basic blink sketch and see what happens. if this keeps working add some serial output and see what happens.
1 out of 3
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39