PRE-RELEASE artnet fix & binaries

This commit is contained in:
2022-01-04 20:37:45 +03:00
parent 1ce769de92
commit d5aa9f5ac6
19 changed files with 42285 additions and 41920 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -52,8 +52,8 @@ volatile unsigned long D_checkT=0;
#ifdef _artnet
#include <Artnet.h>
Artnet *artnet = NULL;
uint8_t artnetMinCh=1;
uint8_t artnetMaxCh=512;
uint16_t artnetMinCh=1;
uint16_t artnetMaxCh=512;
#endif
@@ -337,9 +337,13 @@ void DMXOUT_propagate()
void artnetSetup()
{
#ifdef _artnet
if (!artnet) artnet = new Artnet;
// this will be called for each packet received
if (artnet) artnet->setArtDmxCallback(onDmxFrame);
if (!artnet)
{
artnet = new Artnet;
artnet->begin();
// this will be called for each packet received
if (artnet) artnet->setArtDmxCallback(onDmxFrame);
}
#endif
}

View File

@@ -1346,6 +1346,8 @@ if (ethClient.connected())
ethClient.stop(); //Refresh MQTT connection
lanStatus=IP_READY_CONFIG_LOADED_CONNECTING_TO_BROKER;
}
if (lanStatus == OPERATION_NO_MQTT) lanStatus=IP_READY_CONFIG_LOADED_CONNECTING_TO_BROKER;
configLocked--;
}
@@ -1376,6 +1378,8 @@ void printConfigSummary() {
infoSerial<<F("\nArtnet ");
printBool(artnet);
#endif
infoSerial<<F("\nMQTT ");
printBool(mqttArr);
infoSerial << endl;
infoSerial<<F("RAM=")<<freeRam()<<endl;

View File

@@ -602,6 +602,7 @@ extra_scripts = extra_script.py
framework = arduino
;upload_port = net:192.168.88.2:23000
build_flags = !python get_build_flags.py mega2560-5100
_upload_command = custom-build-flags/upload_mega2560-5100 $SOURCE
lib_ignore =
;DS2482_OneWire //UNCOMMENT for software 1-wire driver
DHT sensor library for ESPx