• passing a port/pin to a function
    hi, i have a question regarding passing a port/pin to a function. i have written a piece of code as below #define LED_PIN P1_0 // bit LED_PIN = P1_0 also does not work void blink(bit...
  • passing a port/pin to a function
    hi, i have a question regarding passing a port/pin to a function. i have written a piece of code as below #define LED_PIN P1_0 // bit LED_PIN = P1_0 also does not work void blink(bit...
  • Passing > 4 Parameters to Function
    Greetings: Here is an odd one that I hope someone can point out the obvious thing I am doing wrong. In the accompanying extremely simplified source code, compiled with uVision3 V3.12a, I am just calling...
  • passing function pointers as parameters
    Hi, I have written a simple 8051-application using uVision2 V2.37. I have defined a function which expects a pointer to a function which is then saved in an array of function pointers: int registerFunction...
  • Passing > 4 Parameters to Function
    Greetings: Here is an odd one that I hope someone can point out the obvious thing I am doing wrong. In the accompanying extremely simplified source code, compiled with uVision3 V3.12a, I am just calling...