Passing a value to function

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Pass value as parameter:

   

Hi I have had some trouble regarding passing a value to function as a parameter.

   

This is how I am calling the function.

   

Keypad (&recievedCode);  

   

The *rCode contains zero, even though receivedCode- contains 1234.  

   

 

   

uint8 Keypad (char * rCode [100])

   

{

   

-Something. 

   

}

0 Likes
1 Reply