• printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • Code works after giving a debug statement
    Hi, I have experienced a strange problem. When a particular variable is initailised to a particular value, sometimes it never works. But if a debug statement is put before the initialisation statement...
  • Code works after giving a debug statement
    Hi, I have experienced a strange problem. When a particular variable is initailised to a particular value, sometimes it never works. But if a debug statement is put before the initialisation statement...
  • timer0 interrupt does not work with printf statement
    I got several warnings when I compile the following code using TIMER0 interrupt when it overflows. void main(void) { //----------------------------------------// interrupt TMOD = (TMOD & 0xF0)...