When setting up a timer to generate an interrupt every half second, what value must the timer be initialized to (if counting down)? What is the clock frequency of the AVR mcu on the STK500 when shipped? On the average, how many clock cycles are required per instruction? Using your answers from questions 2) and 3) above, how long does a typical instruction take to run on the AVR mcu? Write pseudo c-code to toggle every other light to blink every ¼ of a second. – Read STK500 user guide – Complete the Pre-lab Questions on page 1-4.
2ĬOM port connections: COM1 for programming your code onto AVR COM2 for communication to display your program output
– Lab1 requires writing 1 simple C program to talk to a terminal. – Lab1 requires writing 3 simple C programs to activate LEDs in different patterns.