• 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 and printf problem
    Hi, I'm using Silabs IDE and KEIL C 51. I want to use printf, I know that printf is using putchar. So I've modified the file PUTCHAR.C to meet my HARDWARE UART the file PUTCHAR.C is located in the...
  • problem redefining putchar
    #include <reg51.h> #include <stdio.h> ........ lcd code ........ char putchar(char c) { lcd_rs = 1; //data lcd_rw = 0; //write lcd_en = 1; lcd_data = c; lcd_en = 0; if (!lcd_busy_check...
  • Using putchar
    I am testing simple 8051 program that polls for a character from serial port and output it out to the serial port again. In the main function, I do the following continously u8_t xdata c; while...
  • pfintf and putchar
    Dear Colleagues, I want to work with printf and putchar but I have not had luck. Anybody can help me what is wrong on the below code. I am trying to prove the two functions printf and putchar wiht the...