• #ifndef does not work properly
    Hello! I want to include the same headerfile in more than one sourcefile and of course have to take care that each Headerfile is included just once. I really have no clue, why this works for...
  • URGENT : ulink is not working properly
    Hi All, I am using ulink2 tool for programming the LPC 2378 processor. When i connect the ulink to the board, the PC initializing the ulink properly(LED' status is good). The chip ID is detecting...
  • SPI error in ADuC7024
    Now I want to use SPI of ADuC7024 to extend a LCD.But I fail to write any data to SPITX which is SPI's transmitting register.Who could help me?Thank you! There is the beginning code. int main(void...
  • strlen function not working properly
    Hi Guys I am facing a very strange problem related to the strlen inbuilt function in the keil C51. I wrote few functions as follows: Function 1 : void ModMasterData(uChar *,uChar *...
  • sscanf does not work properly
    I started to use the sscanf function to parse commands from serial port and found out that it does not work as it must do. Example: int i, j = 0x1234; char c = '\0'; i = sscanf("anything", "%d%c",...