Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aab70e3

Browse files
Added Arduino ino file
1 parent d72c1c4 commit aab70e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎arduino-to-node.ino‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
int percent = 0;int prevPercent = 0;void setup() { Serial.begin( 9600 ); }void loop() { percent = round(analogRead(0) / 1024.00 * 100); if(percent != prevPercent) { Serial.println(percent); prevPercent = percent; } delay(100); }

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /