connection with analog temperature sensor

I connect TEMP36 analog sensor in pin A0, and LED in pin 25 in arduino mega 2560.

How does the Arduino communicate with these pins? is there any specific protocol ?

Muna_1:
I connect TEMP36 analog sensor in pin A0, and LED in pin 25 in arduino mega 2560
How does the Arduino communicate with these pins? is there any specific protocol ?

Not sure if one would call it a "protocol" as such, but analogRead() and digitalWrite() respectively will do the trick.

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html .

Have you googled

tmp36 analog sensor arduino

Thanks.. Tom.. :slight_smile: