Lab_Five_Part_One

Lab_Five_Part_One - no min2 = 48 min1 yes(min1 == 54 no...

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

View Full Document Right Arrow Icon
start TCCR0A = 0x00 TCCR0B = 0x03 TIMSK0 |= (1 << TOIE0) I2C_Init() ClearLCD() sei() (;;) unsigned char string[11] = {hour1,hour2,':',min1,min2,':',sec1,sec2,' ',noon,'M'} DataSize = sizeof (string) SendLcdData(string) SetLcdCursor(0x00) yes end no (sec2 == 58) no sec2 = 48 sec1++ yes (sec1 == 54) no sec1 = 48 min2++ yes (min2 == 58)
Background image of page 1

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

View Full Document Right 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 Document Right 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: no min2 = 48 min1++ yes (min1 == 54) no min1 = 48 hour++ hour2++ yes no no (hour == 12) hour = 0 countnoon++ yes (countnoon % 2 == 1) noon = 65 yes noon = 80 no (hour2 == 58) hour2 = 48 hour1++ yes ((hour1 == 49) & (hour2 = 50)) hour1 = 48 hour2 = 48 yes no hour1 = 48 hour2 = 48...
View Full Document

{[ snackBarMessage ]}

Page1 / 4

Lab_Five_Part_One - no min2 = 48 min1 yes(min1 == 54 no...

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