Implemented code from the example TI toggle LEDs interrupt code.