• Problem with putchar()
    Hi, When I execute the first putchar statement in the code below, nothing is printed to the serial window, when I execute the second putchar statement, the value I thought would print out firstly ...
  • Problem with putchar()
    Hi, When I execute the first putchar statement in the code below, nothing is printed to the serial window, when I execute the second putchar statement, the value I thought would print out firstly ...
  • putchar problem with S0TIR
    #include <stdio.h> #include <reg165.h> signed char putchar (signed char c) { if (c == '\n') { while (!S0TIR); S0TIR = 0; S0TBUF = 0x0d; /* output CR */ } while (!S0TIR); S0TIR = 0; ...
  • putchar problem with S0TIR
    #include <stdio.h> #include <reg165.h> signed char putchar (signed char c) { if (c == '\n') { while (!S0TIR); S0TIR = 0; S0TBUF = 0x0d; /* output CR */ } while (!S0TIR); S0TIR = 0; ...
  • putchar/printf problem
    Dear all, I am having problem with putchar function. When i am running a "putchar('A');" instruction, i am getting the Charater 'A' output on the serial window. But when i run next "putchar...