Go Down

Topic: Analog Inputs (Read 706 times) previous topic - next topic

floradesol

Sep 28, 2009, 06:48 pm Last Edit: Sep 28, 2009, 06:51 pm by floradesol Reason: 1
Hi,

I am planning to use standalone Atmega328.. In its datasheet it had Port C, i.e analog pins of arduino, as bidirectional input/output pins.

So i have made the board with analog inputs to 28 ,27 pins .. analog outputs to 26,25,24 pins... which corresponds to arduino analog pins(0-5)


Will i be able to use analog pins(0-5)  in arduino for both input and output????

thanks!!!

Grumpy_Mike

Quote
Will i be able to use analog pins(0-5)  in arduino for both input and output?


I think you are confused. the analogue inputs are on pins 23 to 28 corresponding to analogue input pins 0 to 5.

These can be used as digital input / output as well.

Quote
analog outputs to 26,25,24 pins

These are NOT analogue outputs.

floradesol

Hi Grumpy,

Thanks.. This clears my doubt.. So pins 23 to 28 can be used as digital pins as well.. thanks!!


Go Up