Professional Documents
Culture Documents
1
Important registers required for experiment
SYSCTL_RCGC2_R; // 1) activate clock for Port F
while(time){
time--;
Exercise 1: Toggle onboard LED (R or G or B). Observe the waveforms in debug mode and
calculate on time, off time and frequency.
Exercise 2: Toggle onboard LED in sequence (R, G, B). Observe the waveforms in debug mode
and calculate on time, off time and frequency.
Exercise 3: Interface SW1 and control LED (R or G or B). Observe the waveforms in debug mode
Post-lab experiment:
Write a program for performing the following operations: