We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cf16b commit 65aab36Copy full SHA for 65aab36
prototype.pde
@@ -33,10 +33,10 @@ void loop() {
33
analogWrite(readData(), readData()); break;
34
case 4 :
35
//read analog value
36
- Serial.println(analogRead(readData()));
+ Serial.println(analogRead(readData())); break;
37
case 99:
38
- //just dummy to cancel the current read, needed to prevent lock when the PC side
39
- //dropped the "w" that we sent
+ //just dummy to cancel the current read, needed to prevent lock
+ //when the PC side dropped the "w" that we sent
40
break;
41
}
42
@@ -48,4 +48,4 @@ char readData() {
48
return Serial.parseInt();
49
50
51
-}
+}
0 commit comments