Lab_Six_Part_One

Lab_Six_Part_One - yes (buttonValue & 0x08) OCR1A = 500...

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

View Full Document Right Arrow Icon
yes no OCR1A = 125 btn0_hit = true yes (btn0_hit == true) no OCR1A = 0 btn0_hit = false yes no_op no yes no OCR1A = 250 btn1_hit = true yes (btn1_hit == true) no OCR1A = 0 btn1_hit = false yes no_op no no
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: yes (buttonValue & 0x08) OCR1A = 500 btn2_hit = true yes (btn2_hit == true) no OCR1A = 0 btn2_hit = false yes no_op no (btn0_hit == false && btn1_hit == false && btn2_hit == false && btn3_hit == false) yes OCR1A = 1000 btn3_hit = true yes (btn3_hit = = no start InitPWM() DDRB = 0xF0 PORTB = 0xF0 DDRD = 0x20 OCR1A = 0x00 uint8_t buttonValue = 0 (;;) yes end no no (btn3_hit == true) OCR1A = 0 btn3_hit = false yes no_op no...
View Full Document

This note was uploaded on 11/21/2011 for the course ECE 3411 taught by Professor Park during the Fall '11 term at UConn.

Page1 / 4

Lab_Six_Part_One - yes (buttonValue & 0x08) OCR1A = 500...

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

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