![]() ![]() SoftwareSerial& _dev = MY_RS485_SWSERIAL HardwareSerial& _dev = MY_RS485_HWSERIAL Īnd after: #if defined(MY_RS485_SWSERIAL) SerialPort _dev = SerialPort(MY_RS485_HWSERIAL) I also made a change in MyTransportRS485.cpp This works (using hardware serial1 of my Mega): #define MY_RS485Īnd this one doesn't work (trying to use SoftwareSerial pins 4 and 2) #define MY_RS485 I tried to do everything according to what is said in the link above, but with no success. Anyone managed to run SoftwareSerial on RS485 gateway?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |