Version 1.1: Added RS485 support