Experiment 4: Interrupt-Timer Module (TIMER A)
(The code for IAR MSP430 based C/C++ Program)
Procedure:
Task 1.) Write a program to count from 0 to 9 and display it on a seven segment display using Timer A module interrupts.
Task 2.) Make the seven segment display change the number every time you press the button using hardware (button) interrupts. (Change BIT3 for button input)
Fritzing
Figure-2: Sample Pin Connection
*** These pin connections are made as an example for MAN72 Seven Segment Display. Before the experiment, you need to check your seven segment display datasheet for the correct pin connections. ***