Difference between revisions of "ESP32: analogRead"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with " void setup() { Serial.begin(11500); } void loop() { int sensorReading = analogRead(15); Serial.println(sensorReading); delay(1000); }") |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
Serial.begin(11500); | Serial.begin(11500); | ||
} | } | ||
− | + | ||
void loop() { | void loop() { | ||
int sensorReading = analogRead(15); | int sensorReading = analogRead(15); |
Revision as of 16:59, 5 November 2019
void setup() { Serial.begin(11500); } void loop() { int sensorReading = analogRead(15); Serial.println(sensorReading); delay(1000); }