UC GEE
UC GEE
How do I program ESP8266-12E using PlatformIO for soil moisture sensor and pump control?
I'm having trouble programming my ESP8266-12E using PlatformIO. I have experience with Arduino UNO but am struggling to adapt to ESP8266. The Serial Monitor displays gibberish, and my code doesn't work on the ESP8266 like it does on the UNO. I'm trying to read a soil moisture sensor connected to A0 and control a 5V pump using a MOSFET on the 5V pin. Can someone help me understand the differences in programming ESP8266 with PlatformIO? Specific examples and code snippets would be greatly appreciated. @Middleware & OS
3 replies