ESP32 mit WIFI und MQTT rx und tx
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /*
- * eepromsettings.h
- *
- * Created on: 14.05.2020
- * Author: agr
- */
-
- #ifndef EEPROMSETTINGS_H_
- #define EEPROMSETTINGS_H_
-
- #include <Arduino.h>
-
- #include <WiFi.h>
- #include <PubSubClient.h>
-
- #define RESET_PIN 9 //Connect a button to this PIN. If the button is hold, an the device is turned on the default ethernet settings are restored.
-
-
- void read_EEPROM_Settings();
-
- #ifdef DEBUG
- void print_EEPROM_Settings();
- #endif
-
-
- /* START Network section #######################################################################################################################################
- * Code for setting up network connection
- */
- unsigned long last_dhcp_renew;
- byte dhcp_state;
-
- void renewDHCP(int interval);
-
- void setupNetwork() ;
-
-
-
- #endif /* EEPROMSETTINGS_H_ */
|