Created
June 29, 2018 07:18
-
-
Save penpencool/88190bc4540e334eeef6e2e9b43ea8fc 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
/* | |
Example By ArduinoAll | |
GND - GND | |
VCC - 3.3 หรือ 5V | |
AOUT - A0 | |
*/ | |
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
int val = analogRead(A0); | |
Serial.println(val); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment