3. Microprocessor Input / Output:
Lab 1 - Buttons and Lights
1. A Simple Analog Circuit:
- Connect the PORTD and PB/LED headers on the Atmel.
- Compile and load demo1
from the lab 1 code:
-
- > cd lab1/demo1
/lab1/demo1> make load
- You should see a flashing LED. Now open the code in an editor:
-
- /lab1/demo1> xemacs flash.c &
- How would you change the rate at which the light flashes?
- How would you change how long the light stays on?
- Now, using jumper wires, flash an LED on your protoboard.
3. Microprocessor Input / Output:
Lab 1 - Buttons and Lights
1. A Simple Analog Circuit:
Copyright © 2003-09-21