Closed DannyBoy-PI closed 2 months ago
Just an FYI - The code for ESP32 has been updated (See link: https://github.com/espressif/arduino-esp32/issues/9500)
This causes the UART (hardware serial 2 to fail !)
Workaround is to change the following line in RS485Handler.cpp (line 33) until they fix it:
FROM: _RS485Serial->begin(DEFAULT_BAUD_RATE, SERIAL_8N1);
TO: _RS485Serial->begin(DEFAULT_BAUD_RATE, SERIAL_8N1, 16, 17);
This gave me a two hour headache to find the cause after updating the Alpha2MQTT software.....
Dan M.
Thanks for the tip, it is a harmless amendment anyway so I will include it.
Just an FYI - The code for ESP32 has been updated (See link: https://github.com/espressif/arduino-esp32/issues/9500)
This causes the UART (hardware serial 2 to fail !)
Workaround is to change the following line in RS485Handler.cpp (line 33) until they fix it:
FROM: _RS485Serial->begin(DEFAULT_BAUD_RATE, SERIAL_8N1);
TO: _RS485Serial->begin(DEFAULT_BAUD_RATE, SERIAL_8N1, 16, 17);
This gave me a two hour headache to find the cause after updating the Alpha2MQTT software.....
Dan M.