You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to use this code using ESP32. I have a doubt related to the pin conection of a MAX485 converter.
On the file settings.h I do not found the "transmit enable" pin for configuration (only RX and TX).
The MAX485 converter has the RE / DE pins to define the communication direction.
Could someone help with that?
Thank you!
The text was updated successfully, but these errors were encountered:
I just added this line on GoodWeCommunicator.cpp
goodweSerial->setTransmitEnablePin(settings->RS485EnableTx); // added recently because the use of some MAX485 converters with RE/DE pin
and this line on Settings.h
//rs485 transmit ENABLE pin (added because some RS485 converters need the RE/DE enable pin)
#define RS485_ENTX 4 //D4
and this line on GoodWeLogger.ino
settings->RS485EnableTx = RS485_ENTX; // RS485_ENTX added on settings.h - for RE/DE pins MAX485 converter
now I will try, If it works, I will inform here.
Thanks!
Hello!
I am trying to use this code using ESP32. I have a doubt related to the pin conection of a MAX485 converter.
On the file settings.h I do not found the "transmit enable" pin for configuration (only RX and TX).
The MAX485 converter has the RE / DE pins to define the communication direction.
Could someone help with that?
Thank you!
The text was updated successfully, but these errors were encountered: