• Problem With Putchar
    I am having a slight Problem with the putchar function . when i say putchar(0x0A) it put 0x0D & 0x0A both but i only need 0x0A i tried writing putchar myself but dose not seem to work what i did...
  • Problem With Putchar
    I am having a slight Problem with the putchar function . when i say putchar(0x0A) it put 0x0D & 0x0A both but i only need 0x0A i tried writing putchar myself but dose not seem to work what i did...
  • 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...