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.

Sensors, Actuators, and Robotics » Understanding Registers

November 19, 2010
by Proton
Proton's Avatar

I have learnt to program in C. I have been able to connect USB to unit and write code to it. I have tested the provided tempsensor program with the kit. It works fine. I am now trying to learn and understand the program and the different parts of the MCU.

Can someone explain what these registers do in simple terms, their purpose, what the individual bits in them do, and why we set them the way we do? Ex: How do we know to set bits in ADCSRA to 1? Why?

ADMUX, ADCSRA, ADEN

I understand that this is part of initializing the ADC, but I want some deeper knowledge, and the data sheet is too complex for me to understand.

Regards, Proton

Post a Reply

Please log in to post a reply.

Did you know that you can adjust most wire strippers to make it easier to strip insulation faster? Learn more...