first commit
This commit is contained in:
commit
a03573562f
17
Arduino/test/test.ino
Normal file
17
Arduino/test/test.ino
Normal file
@ -0,0 +1,17 @@
|
||||
int potPin = A5;
|
||||
int potValue = 0;
|
||||
|
||||
|
||||
void setup() {
|
||||
pinMode(LED_BUILTIN, OUTPUT);
|
||||
Serial.begin(9600);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
potValue = analogRead(potPin);
|
||||
|
||||
Serial.print("Pot is at: ");
|
||||
Serial.println(potValue);
|
||||
|
||||
delay(100);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user