System crash after switching off Serial interface


hello community,
i  wrote program create alarm clock! receive chip on serial interface  current time + date.  working process 3 times each day. afterwards switch off serial interface because otherwise receive trash data before receive next  time+date.
i found out in moment command
serial.end();
appears program stop running , nothing anymore have restart complete system before can anything. can explain me reason this?

probably in code.


Arduino Forum > Using Arduino > Programming Questions > System crash after switching off Serial interface


arduino

Comments