karadio-addons icon indicating copy to clipboard operation
karadio-addons copied to clipboard

Arduino Nano reboots startup

Open maik-dmxc opened this issue 7 years ago • 1 comments

dear karawin,

i have build the addon with an Arduino Nano, connected tx/rx via levelshifter 3V->5V. the communication works perfect, but if the Nano send "cli.info" on startup, the Nano gets the requested data and reboots.

is this why im using a NANO and not a Pro Mini?

regards maik

maik-dmxc avatar Nov 05 '17 06:11 maik-dmxc

when i comment out this section, Nano dont reboot, but get no time&date

// ntp control and first info demand if (loopDate>=5) { loopDate = 0; if (itAskTime) { if (!syncTime) // time to ntp. Don't do that in interrupt. { //Serial.print(F("\rsys.tzo(\"")) ;Serial.print(TZO); //Serial.print(F("\")\r")); //Serial.print(F("cli.info\r")); // Synchronise the current state itAskTime = false; } else askTime(); } }

regards maik

maik-dmxc avatar Nov 05 '17 09:11 maik-dmxc