summaryrefslogtreecommitdiff
path: root/main/config.h
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-08-17 19:24:41 -0500
committerAaditya Dhruv <[email protected]>2025-08-17 19:24:41 -0500
commitbd3c482eaaff1fcec68e1493de0ac61c6834f80f (patch)
tree25ccd800b0ed90dfa00c88df9daa52ea191b202d /main/config.h
parent3d0fbbfe9f5c683028f37e06bc720a74811e30fe (diff)
Add Networking supportHEADmaster
- Based on config.h parameters, the ESP32 can connect to the local AP and send packets containing the value read from the soil sensor
Diffstat (limited to 'main/config.h')
-rw-r--r--main/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/config.h b/main/config.h
new file mode 100644
index 0000000..29bae6b
--- /dev/null
+++ b/main/config.h
@@ -0,0 +1,9 @@
+#define THRESHOLD 2000
+#define FLIP_GPIO_PIN 23
+#define SENSOR_GPIO_PIN 22
+#define SENSOR_CHANNEL ADC_CHANNEL_7
+#define SSID "SSID"
+#define PASSWORD "PASSWORD"
+#define SERVER_IP "127.0.0.1"
+#define SERVER_PORT "80"
+