You are receiving a list with two data and in your code you want to read three data.
Disable Luminosidad.Texto
o Arduino send three data:
all_sensors = luz + "|" + mov + "|" + luminosidad;
Serial.println(all_sensors);
You are receiving a list with two data and in your code you want to read three data.
Disable Luminosidad.Texto
o Arduino send three data:
all_sensors = luz + "|" + mov + "|" + luminosidad;
Serial.println(all_sensors);