Modbus protocol for Bascom AVR  compiler: Modbus RTU (master, slave), ModbusTCP server (for Arduino Ethernet Shield)