On Sat, Apr 23, 2005 at 03:18:44PM +0200, Nazeer Vawda wrote: > I got the following task to carry out,and im totally lost. Its the first time > im programming in AVR. Where do i start?? > > Write properly documented c-code to run the A/D converter in 8-bit mode on 2 > channels and read values from 2 potentiometers. Use the push-buttons to select > the channel (no button * off; button 1 * Channel 0; button 2 * Channel 1), and > display the A/D value on the led's. Calibrate at ten voltage values and check > for cross-talk between channels. Sounds like a homework problem. You're supposed to figure these out on your own. As to where to start, the best place is the datasheet. -Brian -- Brian Dean BDMICRO - ATmega128 Based MAVRIC Controllers http://www.bdmicro.com/
Message
Re: [AVR-Chat] A/D converter - MEGA16L
2005-04-25 by Brian Dean
Attachments
- No local attachments were found for this message.