FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Updated Arduino example code to be Arduino 1.0+ compatible · sunsure/processing@361ca3c · GitHub

Repository navigation

Commit 361ca3c

Browse files
committed
Updated Arduino example code to be Arduino 1.0+ compatible
1 parent 1aeaed8 commit 361ca3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎java/libraries/serial/examples/SerialMultiple/SerialMultiple.pde‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void setup()
7777
void loop() {
7878
// read analog input, divide by 4 to make the range 0-255:
7979
int analogValue = analogRead(0)/4;
80-
Serial.print(analogValue, BYTE);
80+
Serial.write(analogValue);
8181
// pause for 10 milliseconds:
8282
delay(10);
8383
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL