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