I'm having difficulty understanding how to use the Time library. In particular... I have a variable "previous_read_millis" which records the last time I read the sensors. I then want to do some further logic based on the hour and minutes of the time recorded as per the following line of code...
This didn't produce the desired result, so I tried outputting a test sketch to the serial monitor to see what was happening...
Serial.print ("hour ");
Serial.print ("minute ");
Serial.print ("second ");
This code returned the following output
but surely this is wrong... I was expecting...
What am I doing wrong...?