Skip to content

Commit aab70e3

Browse files
committed
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

+1
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)