NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Basic Electronics » more questions about tempsensor.c code

July 21, 2011
by codenamejupiterx
codenamejupiterx's Avatar

i have used the << operator in cout statments but i dont know what they mean in the context of this code. What exactly is a adc...is it a register?????

July 21, 2011
by Ralphxyz
Ralphxyz's Avatar

adc as in Analog To Digital Converter!!

If you put a voltage (o - 5 volt) to the adc you get a digital representation.

Ralph

July 22, 2011
by bretm
bretm's Avatar

<< is the left shift operator.

July 22, 2011
by codenamejupiterx
codenamejupiterx's Avatar

Thanks bretm and Ralphxyz!

Post a Reply

Please log in to post a reply.

Did you know that you can use a transistor to interface between different voltage levels of digital logic? Learn more...