how to write a program for COM Port
Note that a "COM Port" is a specific feature of a PC - Keil don't make tools for writing PC programs
Sheesh, Erik. Everybody knows you're supposed to leave space in the numbering for later insertions.
Step 100: read the datasheet and manuals Step 110: plan what to do Step 120: open editor Step 130: enter code Step 140: try to compile Step 150: fix compilation errors Step 160: try to run Step 170: debug Step 180: while bugs goto 130
Sheesh, Erik. Had Per followed your advice I would not have had a step 0 :)
Sheesh, Drew! You've got a potentially infinite loop there:
Step 180: while bugs goto 130
Everyone knows you need an "escape" clause if the loop's gone round too many time; in this case, go back and read the docs again!