From a03573562fc80aa1160d9d66b653dff93ea5f947 Mon Sep 17 00:00:00 2001 From: Haldrup-tech Date: Tue, 20 Aug 2024 09:30:53 -0400 Subject: [PATCH] first commit --- Arduino/test/test.ino | 17 +++++++++++++++++ README.md | 0 2 files changed, 17 insertions(+) create mode 100644 Arduino/test/test.ino create mode 100644 README.md diff --git a/Arduino/test/test.ino b/Arduino/test/test.ino new file mode 100644 index 0000000..1689e62 --- /dev/null +++ b/Arduino/test/test.ino @@ -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); +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29