Lab_Five_Part_Three

Lab_Five_Part_Three - yes end no...

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

View Full Document Right Arrow Icon
(hour1 == 48+0 && hour2 == 48+6 && min1 == 48+1 && min2 == 48+9 && sec1 == 48+0 && sec2 == 48+5) unsigned int slendy DDRD = 0x20 PORTD = 0xFF yes unsigned char string[11] = {hour1,hour2,':',min1 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
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
Image of page 3

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

View Full Document Right Arrow Icon
start TCCR0A = 0x00 TCCR0B = 0x03 TIMSK0 |= (1 << TOIE0) I2C_Init() ClearLCD() sei() unsigned int slendy (;;)
Image of page 4
Image of page 5

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

View Full Document Right Arrow Icon
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern