| 49 | |
| 50 | #if defined(ENABLE_SERIAL) |
| 51 | void Everything::readSerial() |
| 52 | { |
| 53 | String message; |
| 54 | while(Serial.available()>0) |
| 55 | { |
| 56 | char c=Serial.read(); |
| 57 | message+=c; |
| 58 | delay(10); |
| 59 | } |
| 60 | if(message.length()>0) |
| 61 | { |
| 62 | receiveSmartString(message); |
| 63 | } |
| 64 | } |
| 65 | #endif |
| 66 | |
| 67 | void Everything::sendStrings() |
nothing calls this directly
no test coverage detected