I have a sensor that gives me this string, serially read @9600:
This burst arrives automatically about every second. It means:
"@" start of the string "T;" means the Temperature is coming now, after that ";". "+019.8" the Temp value (fixed number of digits, with a leading +/- sign. ";" separator. "H;" means the Humidity value is coming now after the ";". "043.6" the Humidity value (fixed number of digits: so 000.0 to 100.0). ";" separator. "51" is a 2 digit checksum.
Then a pause of about 1 second >> next string with new values.
I want to
Serial.print them separately, and put then into a log file on the SD card of the Arduino Ethernet Shield.
On a next step I will show these values on a local display and a webpage, and add (resettable) alarm settings with individual hysteresis settings...
Any advice to solve this string-breakup and SD card logging?