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++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -