• problem about putchar and puts functions
    I have a sub void init() { PCON |= 0x80; TMOD |= 0x20; SCON=0x52; TH1=0xF3; TR1=1 } void main() { init(); while(1) { } } I see no reason why when I call init() it automatic send two bytes...
  • putchar and getchar
    i have read Mark Odell's UART driver. However,the code size is too large for me. can i just using the simple function call: char x,y; getchar(y); //get char from urat x=y; putchar(x); //put...
  • puts error
    hi, puts ("Line #1"); this outputs Line #1 but puts (""Line #1""); gives error why it is so As i want to output "Line #1"
  • Redefining putchar ()
    Hello All, I'm using a Keil eval Cortex-M3 eval board and using uVision v4.23, and trying to redirect printf output so stdout displays on the lovely LCD display instead to the serial port. I have...
  • 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...