??? 04/01/10 10:24 Read: times |
#174728 - I would like to write a more suitable code for this algorith Responding to: ???'s previous message |
Look at Keil's examples of interrupt-driven serial IO with a Ring Buffer:
http://www.keil.com/download/docs/200.asp Your main loop just writes to the Ring Buffer, and then the interrupts send the characters from the Ring Buffer as a kind of "background task" - without the need for any busy-wait loops! QEF. |