??? 02/04/06 23:15 Read: times |
#109207 - That'll be it, then! Responding to: ???'s previous message |
Billy Fairhurst said:
IN the main() function just after the serial initialization there is a printf() That's probably your problem. printf() calls putchar(), and the default putchar uses polled IO - but you've put in an interrupt handler that fiddles with the TI and RI flags! You need to define your own putchar() that works with your ISR - see the Keil example. (I´ve tryed using a putchar instead too) but nothing happened. See above. I´ll have a look to the keil example. Yes, you definitely need to! PS. thanks for the code posting info! You seem to have used the wrong slash in your closing tag - it should be /pre (a forward slash). |
Topic | Author | Date |
c programing question | 01/01/70 00:00 | |
How to post your code | 01/01/70 00:00 | |
re: How to post your code | 01/01/70 00:00 | |
That'll be it, then! | 01/01/70 00:00 | |
putchar uses polled IO | 01/01/70 00:00 | |
Polled means...... | 01/01/70 00:00 | |
See for yourself!![]() | 01/01/70 00:00 | |
How are you debuging? | 01/01/70 00:00 | |
RE: How are you debuging? | 01/01/70 00:00 | |
project | 01/01/70 00:00 | |
Start a new thread | 01/01/70 00:00 |