Difference between revisions of "ESP32: analogRead"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 9: | Line 9: | ||
delay(1000); | delay(1000); | ||
} | } | ||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[ESP32]] |
Revision as of 09:31, 7 November 2019
void setup() { Serial.begin(115200); } void loop() { int sensorReading = analogRead(4); //cek pin di layout Serial.println(sensorReading); delay(1000); }