finished sample serial code. rs485 and protocol work