• 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...
  • Exit from _getkey()
    I write function, which recieve 4 characters from serial port with _getkey() function. It waits until all characters does not come. I need to exit from recieving if characters does not come for long time...
  • Error C231: redefinition (of _getkey)
    Hello all, After upgrading from an ancient version of C51 to the latest greatest V8.05A, legacy code does not compile any longer because: Build target 'Target 1' assembling STARTUP.A51... compiling...
  • Prob in getchar
    i am using the nrf24E1 board, i transmit the data through serial port and display on PC through hyperterminal, now i want that i have to give some data to the board through serial port and watch the display...
  • Custom getchar
    Is there a way to prevent getchar from echoing the input characters? I tried to write my own implementation of getchar , but the linker doesn't seem to let me do that. - Mike