removed bug notice since the issue resolved itself
parent
5cc71d5ff5
commit
579d28e34b
|
@ -196,11 +196,6 @@ void runCommand(){
|
||||||
Serial.print("s");
|
Serial.print("s");
|
||||||
return;
|
return;
|
||||||
case 'r': // read digital value
|
case 'r': // read digital value
|
||||||
/*bug:
|
|
||||||
The following "r" (or any other text you may put there) will never get printed despite this code branch being executed. Don’t ask me why or how.
|
|
||||||
Tested on Linux Mint 20.1, Arduino IDE version 2:1.0.5+dfsg2-4.1
|
|
||||||
Tested with Arduino Uno and Nano 328P
|
|
||||||
*/
|
|
||||||
Serial.print("r");
|
Serial.print("r");
|
||||||
pin = waitForSerialInput(2).toInt();
|
pin = waitForSerialInput(2).toInt();
|
||||||
if (pin >= NUM_DIGITAL_PINS) Serial.print("e");
|
if (pin >= NUM_DIGITAL_PINS) Serial.print("e");
|
||||||
|
|
Loading…
Reference in New Issue