Lab_Three_Part_Two

Lab_Three_Part_Two - no PORTD = 0x54 yes (slendy >=0...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
start InitADC() PORTD = 0x5C DDRD |= 0x5C int slendy (;;) ADCSRB = 0x00 slendy = ReadADC(0x41) - ReadADC(0x42) yes end no PORTD = 0x50 yes
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: no PORTD = 0x54 yes (slendy >=0 && slendy < 512) no PORTD = 0x4C yes (slendy >= 512 && slendy < 1024) no PORTD = 0x0C yes PORTD = 0x48 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.

Ask a homework question - tutors are online