You haven't tried anything it looks like. The most basic would be two separate writes with a delay in between. A little more sophisticated would be an array of commands you pass into a for loop with a delay in it.
hi, i came up with this code but its not very practical as there will be alot of messages coming which is unknown. So may i know is there any way to make this program works better? Thanks