LAB2_02_05_2007

LAB2_02_05_2007 - ECE 3551 MICROCOMPUTER SYSTEMS 1 Lab...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 3551 MICROCOMPUTER SYSTEMS 1 Lab 2—Learn more event handling in embedded system OBJECTIVE: Learn more event handling in embedded system Learn to write Interrupt Service Route (ISR) Create the Project 1. Before power on the board , make sure that switch SW9 pin1,pin2, pin3, pin4 are turned on. 2. Open the LED Blink (C) project, which you should have copied to your U: drive in the previous lab.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Modify the Project 1. Program the following buttons to control the moving lights LED4 - LED9: When Pushing PF8, change the direction of moving light When pushing PF9, decrease the speed of moving light When pushing PF10, increase the speed of moving light 2. The button PF11 should control the lighting pattern of LEDs in the following manner: (1) When pushing PF11 once, LED4 (the left most one) will be turned on (and stay on) while all the other LEDs continue moving. (2) When pushing PF11 twice, LED9 (the right most one) will be turned on (and stay on), while all the other LEDs continue moving
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

LAB2_02_05_2007 - ECE 3551 MICROCOMPUTER SYSTEMS 1 Lab...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online