I am developing a MQTT Client on a arduino uno, with a ethernet shield and a 4ch relay control.
My code was working yesterday, today i don’t know why it is not anymore, i havent changed anything.
For example, looking at the void callback() on the serial port, it prints that the command “ALLON” was recognized, but the variable inMessage is null within the void.
I really can’t understand what is happening, why it worked yesterday and today is not. Does it has to do with using string variables ?
MQQT_Client_RelayControl.ino (6.63 KB)