read string

pull/294/head
Alan Johnston 2 years ago committed by GitHub
parent 12e9acce1f
commit c4c410cd5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -152,7 +152,8 @@ void loop() {
blink(50);
if (Serial1.available() > 0) {
char result = Serial1.read();
string result;
result = Serial1.readString();
Serial.println(result);
// Serial1.println("OK");
}

Loading…
Cancel
Save

Powered by TurnKey Linux.