void loop()
void loop() {
if(Serial1.available()){ // is there any bytes on the serial 1 port buffer
cmd = "";
delay(5);
serial_input(); // custom function to handle the messages over serial
}
}Last updated
void loop() {
if(Serial1.available()){ // is there any bytes on the serial 1 port buffer
cmd = "";
delay(5);
serial_input(); // custom function to handle the messages over serial
}
}Last updated