yaacov / ArduinoModbusSlave

Modbus slave library for Arduino
ISC License
205 stars 75 forks source link

Defining serial buffer for mega2560 #70

Closed ziju28 closed 3 years ago

ziju28 commented 3 years ago

I can't compile last one version oof library for mega2560, where I use Serial1. Problem was header file at line 140. I must change SERIAL_BUFFER_SIZE to SERIAL_RX_BUFFER_SIZE