library update
This commit is contained in:
parent
410821e898
commit
36280ae2e3
|
@ -12,6 +12,6 @@
|
|||
platform = espressif32
|
||||
board = wt32-eth01
|
||||
framework = arduino
|
||||
lib_deps = siwats/ESPMegaPROR3@^2.9.5
|
||||
lib_deps = siwats/ESPMegaPROR3@^2.9.7
|
||||
monitor_speed = 115200
|
||||
build_flags = -DCORE_DEBUG_LEVEL=0 -DSW_VERSION='"walkway-1.0.0"' -DBOARD_MODEL='"ESPMegaPRO R3.3c"'
|
|
@ -18,8 +18,9 @@ void setup()
|
|||
ESP_LOGD("OS", "Binding Ethernet Interface");
|
||||
espmega.iot->bindEthernetInterface(Ð);
|
||||
// Connect to Network
|
||||
ESP_LOGV("OS", "Connecting to Network");
|
||||
ESP_LOGV("OS", "Loading Network Config");
|
||||
espmega.iot->loadNetworkConfig();
|
||||
ESP_LOGV("OS", "Connecting to Network");
|
||||
espmega.iot->connectNetwork();
|
||||
// Connect to the MQTT Broker
|
||||
ESP_LOGV("OS", "Connecting to MQTT Broker");
|
||||
|
@ -42,5 +43,6 @@ void loop()
|
|||
|
||||
void input_callback(uint8_t pin, uint8_t state)
|
||||
{
|
||||
if(state!=1) return;
|
||||
espmega.outputs.toggleState(pin);
|
||||
}
|
Loading…
Reference in New Issue