Arduino Forum

Forum 2005-2010 (read only) => Software => Troubleshooting => Topic started by: qwery on May 21, 2009, 12:00 am

Title: Access Individual Registers?
Post by: qwery on May 21, 2009, 12:00 am
Hello. I'm wondering if there is a way to access the registers of the Arduino, In order to "manually" (without a library) do things such as analog to digital conversions, PWM, or use the I2C bus? Thanks.
Title: Re: Access Individual Registers?
Post by: mem on May 21, 2009, 12:29 am
The datasheet for the controller has information on all the registers: http://www.atmel.com/dyn/resources/prod_documents/doc8025.pdf,  but its is written for engineers and if you are not experienced in embedded programming then you may find it tough going. What is your reason for not using the much more accessible Arduino commands?
Title: Re: Access Individual Registers?
Post by: qwery on May 21, 2009, 12:54 am
Much thanks! That's exactly the document that I've been looking for.

The reason I was looking for this is because the way that I originally learned embedded programming was through registers. Also, I feel that I learn it better when I work on a lower level.
Title: Re: Access Individual Registers?
Post by: mem on May 21, 2009, 01:08 am
Have fun!