polling initiate

This commit is contained in:
Julian LECLERC 2022-03-02 10:52:17 +01:00
parent bae9237575
commit f30dcf419d
1 changed files with 9 additions and 0 deletions

9
polling/polling.ino Normal file
View File

@ -0,0 +1,9 @@
void setup() {
Serial.begin(9600);
pinMode(A0, INPUT);
}
void loop() {
input = analogRead(A0);
delay(10);
}