Lab_Three_Part_Three

Lab_Three_Part_Three - (ADCH & 0x yes (slendy...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: (ADCH & 0x yes (slendy <= 0x3FF && slendy > 0x300) yes PORTD = 0x54 PORTD = 0x50 PORTD = 0x48 no (slendy <= 0x300 && slendy > 0x200) yes (slendy >= 0x000 && sl no (slendy >= 0x100 && sle start unsigned int slendy InitADC() PORTD = 0x5C DDRD |= 0x5C (;;) yes no slendy = ReadADC(0x59) ADCSRB = 0x00 end (ADCH & 0x02) no 0x000 && slendy < 0x100) no yes 0x100 && slendy < 0x1FF) yes PORTD = 0x0C PORTD = 0x4C no PORTD = 0x48 ...
View Full Document

Page1 / 2

Lab_Three_Part_Three - (ADCH &amp;amp; 0x yes (slendy...

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

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