• Serial Interrupts / printf
    Greetings, I am wanting an interrupt to occur when I receive data. In my code - When I receive data, I set a variable and clear RI. Then in the main part of my code I have some printf() statements...
  • Serial Interrupts / printf
    Greetings, My processor is a Dallas DS80C320. I am wanting an interrupt to occur when I receive data. In my code - When I receive data, I set a variable and clear RI. Then in the main part...
  • printf serial port 8051
    Hi. Why does TI need to be set before printf is called. TI = 1; printf("Hello world\n"); Whereas in assembly TI should be cleared before a char is put in SBUF, so it can be tested to see if...
  • Printf() function for debugging process
    Hello! I wanted to use printf() function for debugging my project. I read the description about it but couldn't understand it, can u guys help me use it? i know that it prints the data in the "printf...
  • About printf() function !
    HI : if I use these codes the "printf" don't work: { SCON = 0x50; TMOD |= 0x22; TCON = 0x40; TH1 = 0xFD; //TI = 1; printf(" thank you"); } BUT if I set TI to hight(TI = 1) ,the printf...