Dear All, Who know how hyperterminal identifies input state of cpu connected to PC via serial port ? For example when codes in CPU reaches to scanf() func. the hyperterminal switches to input situation and is ready to receive data from user without any extra data exchanging . Regards. Majid
I think that an (arguably) more conventional means of dealing with user input is to use a simple means of string input (e.g., repetitive getchar()'s until \r) and then parsing the string with sscanf() (or whatever). Sidenote: Hmm, several "means" in there -- I should be a patent attorney.