avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] ADC usage on AT90S4433


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] ADC usage on AT90S4433
Date: Fri, 10 May 2002 13:59:26 +0200 (MET DST)

Urs Seiler <address@hidden> wrote:

> Function "blink" lights a light for a short while. This happens
> three times, in other words twice before the loop and one before the
> ADC starts but it does never come out of the while loop in
> function"readADC".

I can't see an obvious error in your code.

In my demo program at ftp://ftp.ifbus.de/pub/j_wunsch/avr-demo.zip
you can find a simple use of an interrupt-controlled ADC channel
on the '4433 chip.  You could give it a try to see whether your
chip works correctly, and if so, use it as the base of your design
if you want.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]