Untitled

讀取可變電阻varibleRegistance.ino
mail@pastecode.io avatar
unknown
plain_text
2 years ago
202 B
21
Indexable
Never
//varibleRegistance.ino
const byte analogPin = A0;
int value;
void setup() {
  Serial.begin(9600);
}
void loop() {
  value = analogRead(analogPin);
  Serial.println(value);
  delay(500);
}