sync
This commit is contained in:
15
ES/PlatformIO/Projects/esp32test/src/main.cpp
Normal file
15
ES/PlatformIO/Projects/esp32test/src/main.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
int analogValue;
|
||||
int readPin = 32;
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
analogReadResolution(10);
|
||||
pinMode(readPin,INPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
analogValue = analogRead(readPin);
|
||||
Serial.println(840);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user