back to serial read

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

@ -152,9 +152,10 @@ void loop() {
blink(50);
if (Serial1.available() > 0) {
String result;
result = Serial1.readString();
Serial.println(result);
while (Serial1.available() > 0) {
char result = Serial1.read();
Serial.print(result);
}
// Serial1.println("OK");
}
{

Loading…
Cancel
Save

Powered by TurnKey Linux.