There are 4 buttons were run the same function that sends 'S' every 60 minutes and also sends 'R' every 1 minute, both functions were stopped after 24 hours.
I'm seeking help, advice, and guidance to code this, and sincerely appreciate your help.
I encountered an error during parsing the JSON data received from the external device through the serial port.
Could you advise what went wrong with my script? Anyway to resolve the issue? Thus, I have pasted the script and error message below.
Data received from an external device...