Created
August 30, 2023 02:21
-
-
Save antonprafanto/91a40f21cc5956cd5e188347dea9c225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int potPin = 34; // pin potensiometer | |
int potValue = 0; // variabel untuk menyimpan nilai potensiometer | |
void setup() { | |
Serial.begin(115200); | |
pinMode(potPin, INPUT); // inisialisasi pin sebagai input | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment