Yes i am using the serial terminal option in proteus...
serialEvent is an interrupt code means that it supposed to be called when data is available on serial port...
first while statement is because i don' t want my arduino to do anything all data comes in...
and second its just that i hav code to write below but wanted to see wheather the code is actually receiving the proper data that i hav sent.....that's it...
its just the piece of code in my project but i am stuck with this....