I am trying to write a code on the launchpad msp430g2553, which would simulate the output of several simple logic gates.
I have connected 2 push buttons as inputs to pins P1.3 and P1.7 and 4 LEDs as outputs to P1.0, P1.4, P1.5, and P1.6.
2 of the LEDs are representing the "truth" and "false" of the truth table and the other 2 are just to indicate that a push button has been pressed (1 for each).
At first I did it with polling with 6 diferrent logic gates in switch cases and it is working just fine.
But now I am trying to do it with interrupts and I get problems w