serial port - How to know when enter key is pressed in C -


i trying communicate computer through serial communication micro-controller (avr). programming in c, , cannot figure out how determine if user has pressed enter key in terminal , wondering if able me out.

this question more details. sounds want detect @ avr when user presses enter @ pc? , using serial line between two.

please provide copy of c code running on avr. if possible distill or simplify as possible highlight particular question.

finally, on avr setting led on, after avr receives cr or cr+lf?


Comments

Popular posts from this blog

c - sscanf() double showing zeros -

command line - Python: find current directory of remote "cmd.exe" processes -

pentaho - Carte Status / Kettle Slave Server Status page shows status for random runs instead of the latest run -