Did you start up the ADC?
Mark
On 14-May-13 04:56, Cat C wrote:
> Did you set up the MUX?
> Cat
>
> -----Original Message-----
>
> From: Dave McLaughlin
> Sent: 14 May 2013 02:23:42 GMT
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] Can you have split ADC usage
>
> Hi all,
>
>
>
> I have a small board from another project that only has PA0 to PA5 of an
> ATMega324P brought out and I need to do the following:
>
>
>
> 1 pulse input (PA0/INT0)
>
> 2 ADC input (PA1 and PA2)
>
> 1 digital output (PA3)
>
> I2C bus (PA4 and PA5)
>
>
>
> Is it possible to use the ADC on PortA on only 2 channels, ie mixed digital
> and analog like this?
>
>
>
> I have tried but the 2 ADC channels (1 and 2) are always returning a 1023
> bit reading.
>
>
>
> I have disabled the digital on those 2 channels.
>
>
>
>
>
> Is this at all possible or am I going to have to build a small external ADC
> board to do this over I2C?
>
>
>
>
>
> Dave.
>
> ---
>
> Very funny Scotty, now beam down my clothes.
>
> ---
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
> .
>Message
Re: [AVR-Chat] Can you have split ADC usage
2013-05-14 by enkitec@gmail.com
Attachments
- No local attachments were found for this message.