Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/20/02 16:49
Read: times


 
#24688 - RE: UART printf and scanf
This was discussed recently: don't use scanf in the ISR.

Your ISR should just put received characters into a buffer; scanf can then read the buffer.

Mark Odell has posted his interrupt-driven ring-buffered serial IO here, and there's also an example in the Keil downloads area.

List of 3 messages in thread
TopicAuthorDate
UART printf and scanf            01/01/70 00:00      
RE: UART printf and scanf            01/01/70 00:00      
RE: UART printf and scanf            01/01/70 00:00      

Back to Subject List