From bd3c482eaaff1fcec68e1493de0ac61c6834f80f Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Sun, 17 Aug 2025 19:24:41 -0500 Subject: Add Networking support - Based on config.h parameters, the ESP32 can connect to the local AP and send packets containing the value read from the soil sensor --- main/config.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 main/config.h (limited to 'main/config.h') 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" + -- cgit