11 Replies Latest reply on May 23, 2014 12:20 AM by JoMe_264151

    Multiple definitions of a function

       I have created a function named "keypad". then I have placed the function in a header file called "keypad.h".


      then I have used the keypad function all over the different ISRs. when I build the project I get this error:


      Build error: multiple definition of `keypad'


      I am quite sure that it is only defined once. so what is the problem?