Manual exam 1 is coming up february 23 2010 lecture 8

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: . manual. Exam 1 is coming up February 23, 2010 Lecture #8 1 February 23, 2010 Lecture #8 2 Lab 2 Pseudo-Code PseudoInitialize functions Port_Init Initialize ports 1,2 and 3 Lab 2 Pseudo-Code Pseudobegin infinite loop buzzer off, LEDs off reset counters print ready to start statement wait for Start button read speed pot input calculate on_time and print value on_time … … display results, (successful replay or failure) enhancements?? end infinite loop 3 February 23, 2010 Lecture #8 4 Timer0_Init set up Timer 0 set up Timer 0 interrupts ADC1_Init set up voltage reference enable ADC1 set gain Interrupt service routine Increase count February 23, 2010 Lecture #8 1 Lecture #8 February 23, 2010 Lab 2 Pseudo-Code Pseudo… from previous page: For 5 rounds of display light random LED for on light random LED for on_time turn off LED for off_time off_time keep list of LED pattern (use an array?) E...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online