Lab_Five_Part_Three

Lab_Five_Part_Three - yes end no...

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

View Full Document Right Arrow Icon
unsigned int slendy DDRD = 0x20 PORTD = 0xFF yes unsigned char string[11] = {hour1,hour2,':',min1 m DataSize = sizeof (string) SendLcdData(string) SetLcdCursor(0x00) no (slendy=0;slendy<100;slendy++) wait() yes PORTD = 0x00 no (slendy=0;slendy<100;slendy++) wait() yes 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
start TCCR0A = 0x00 TCCR0B = 0x03 TIMSK0 |= (1 << TOIE0) I2C_Init() ClearLCD() sei() unsigned int slendy (;;)
Background image of page 4
Background image of page 5

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

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

Unformatted text preview: yes end no 1,hour2,':',min1,min2,':',sec1,sec2,' ',noon,'M'} (sec2 == 58) no sec2 = 48 sec1++ yes (sec1 == 54) no no no no sec1 = 48 min2++ yes (min2 == 58) min2 = 48 min1++ yes (min1 == 54) min1 = 48 hour++ hour2++ yes (hour == 12) hour = 0 countnoon++ yes (countnoon % 2 == 1) noon = 65 yes noon = 80 no (hour2 == 58) no hour2 = 48 hour1++ yes ((hour1 == 49) & (hour2 = 50)) no hour1 = 48 hour2 = 48 yes hour2 = 48...
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 / 6

Lab_Five_Part_Three - yes end no...

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

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