I finally combined the codes and it did not work. got compiling error. I am unable to post the code because it says more than 9000 chars?? please advice me how to share the code ?
here is what I did:
On the secret knock code I pasted parts from the motor control with limit switches code. however the error coming is : expected unqualified-id before 'void'