| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -77,7 +77,7 @@ void setup() | |||
| 77 | 77 | void loop() { | |
| 78 | 78 | // read analog input, divide by 4 to make the range 0-255: | |
| 79 | 79 | int analogValue = analogRead(0)/4; | |
| 80 | - Serial.print(analogValue, BYTE); | ||
| 80 | + Serial.write(analogValue); | ||
| 81 | 81 | // pause for 10 milliseconds: | |
| 82 | 82 | delay(10); | |
| 83 | 83 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments