5 Replies Latest reply on Aug 30, 2018 9:44 AM by user_342122993

    Why is my interrupt not working?


      Hello guys,


      I am trying to set up a basic rig to allow me to develop a reliable debounce circuit for a button I am using.
      What I am trying to do is have the value 'Count' incremented every time there is a rising/falling edge and have the total displayed in binary on a bar graph display I have to hand.


      The output part works fine and I am able to display whatever I like, the problem seems to be entering the ISR.
      At the moment I have set the ISR to display 10101010 just to show that it has successfully been entered but the only time I have managed this is when I hold down the bootload button (Causes a crash).


      I've used interrupts before in a very similar manner so I'm just confused now.


      Kind regards,