ESP32: analogRead

From OnnoWiki
Revision as of 16:59, 5 November 2019 by Onnowpurbo (talk | contribs) (Created page with " void setup() { Serial.begin(11500); } void loop() { int sensorReading = analogRead(15); Serial.println(sensorReading); delay(1000); }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
void setup() {
  Serial.begin(11500);
}
void loop() {
  int sensorReading = analogRead(15);
  Serial.println(sensorReading); 
  delay(1000);
}