working on RS232 sample code