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.
The *rCode contains zero, even though receivedCode- contains 1234.
uint8 Keypad (char * rCode )
When you declared
recievedCode is already a pointer, so you are passing the address of a pointer to KeyPad function.