Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] A/D converter - MEGA16L

2005-04-25 by Brian Dean

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/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.