Skip to content

Commit 30fd72d

Browse files
authored
Add files via upload
1 parent 03da58f commit 30fd72d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#include <LiquidCrystal.h>
2+
3+
LiquidCrystal lcd(16, 17, 5, 18, 19, 21);
4+
5+
int Potenciometro = 0;
6+
7+
void setup(){
8+
lcd.begin(16, 2);
9+
lcd.print("hello, world!");
10+
}
11+
12+
void loop() {
13+
lcd.setCursor(0, 1);
14+
Potenciometro = analogRead(34);
15+
lcd.print("CH0:");
16+
lcd.print(Potenciometro, DEC);
17+
lcd.print(" ");
18+
//lcd.print(millis() / 1000);
19+
}

0 commit comments

Comments
 (0)