Added sleep in serial transmit and changed checksums to uint16_t

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>