Device command - AndriiArtemenko/UARTSensorsReader GitHub Wiki
The device returns the value of the sensor in response to UART commands.
Command characters:
-
"a" - Get the count of dry contact closures.
-
"b" - Get the count of LED flashes.
-
"c" - Get the value of the thermometer.
-
"d" - Reset the dry contact counter.
-
"e" - Reset the flashes counter.
After each command it is needed to send a newline character (\ n)