Search found 1 match
- Thu Sep 02, 2021 4:22 pm
- Forum: General Discussion
- Topic: deep sleep mode, remember the variable
- Replies: 1
- Views: 1959
deep sleep mode, remember the variable
Hi, I use this simple example program with esp 01 and dht11 sensor. The esp controller send the measured data via MQTT protocol to a raspberry pi. #include <ESP8266WiFi.h> #include <Wire.h> #include <PubSubClient.h> #include "DHT.h" #define DHTPIN 2 // what digital pin we're connected to NodeMCU (D6...