- void serialEvent(Serial s){
- String datastring = s.readString();
- if(datastring.contains("data:")){
- print("found data");
- }
- print(datastring);
- print(datastring.length());
- datastring=null;
- }
- some data: dt:19.90 tp:22.0 wa:0
- 111111111111111111111111111111111