6 Replies Latest reply on Dec 1, 2012 8:19 AM by rajiv.vasanth.badiger

    GPIO ISR is not executed

    user_228698340

      I begin to desperate, hopefully you can help :)

         

       

         

      1. Changed Pind to "Pull down" and "Change from read"

         

      2. added "ljmp _foo" to PSoCGPIOINT.asm

         

      3. added

         

       #pragma interrupt_handler foo

      int counting=0;

      void foo(void)
      {
          counting++;
          return;
      }

         

      to main.c.

         

       

         

      The pin is working but the value is now increased when the is a edge.

         

      I also attached the whole project.

         

       

         

      Thanks for support