lotsa changes

This commit is contained in:
2023-10-02 19:34:12 +02:00
parent ef21ad3cf1
commit ca16024a30
7 changed files with 2200 additions and 93 deletions
+18
View File
@@ -0,0 +1,18 @@
/*
* Soil moisture sensor on Wemos D1
*/
// the analog input on the Wemos D1 accepts up to 3.3V
const int analogPin = A2;
int val = 0;
void setup() {
Serial.begin(9600);
Serial.println("Starting moisture measurement");
}
void loop() {
val = analogRead(analogPin);
Serial.println(val);
delay(1000);
}