• 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 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...