I am reciving data (16 bytes) from system serially every 20ms and I want to receive the recent data every 20ms which am not able to do. So I thought of flushing the serial buffer to receive the recent data. Can anybody tell me how to flush the serial buffer. Its urgent plz.

Thanks,
Guddappa T H