karadio-addons
karadio-addons copied to clipboard
Arduino Nano reboots startup
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
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