Go Down

Topic: A/D conversion with Lilypad (Read 471 times) previous topic - next topic

ksellstrom

Can any of the 6 analog input/outputs be used as Analog to Digital converters? I need to read 6 separate analog voltage sensors.

MarkT

[ I won't respond to messages, use the forum please ]

Si

A0 to A5 are analog inputs

Code: [Select]

int value;
value = analogRead(0); // 0 to 1023 for 0 to 5V at A0 pin
--
My New Arduino Book: http://www.arduinobook.com

ksellstrom


Go Up