hello, I am new in this micocontroller world actually I am interfacing sim300 gsm modem with 89c51, I want to indicate the incoming call on modem using lcd but I am not getting how to stop reading the text, now I am using counter means I have set the counter at 0, when there is a call on modem it sends ring continuously on serial port it creats interrupt then I an increasing counter when it reaches to 4 I am printing RING on lcd bt for every command its nt possible to set counter every time so I wanted to know what char does a modem sends after every ring because of which it prints ring on next line, if u check it on modem want to grab that char and using that wants to stop reading If any one knows anything about this plz reply me thank you