ESP32AnalogRead
ESP32AnalogReadTest.ino
Go to the documentation of this file.
1 #include "Arduino.h"
2 #include <ESP32AnalogRead.h>
4 void setup()
5 {
6  adc.attach(33);
7  Serial.begin(115200);
8 }
9 
10 void loop()
11 {
12  delay(50);
13  Serial.println("Voltage = "+String(adc.readVoltage()));
14 }
void setup()
void attach(int pin)
void loop()
ESP32AnalogRead adc