SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By skunkwerk
i'm looking for some sample code to help me get started with an atmega32 chip. i'm going to be reading in data using the ADC and then plan to use the USART to output data to the bluetooth module (bluesmirf). is there any sample C code available to help me get started?

By ryowens84
Check out the WiTilt product page: ... ts_id=8563

There's sample firmware you can download at the bottom of the product description that could be helpful. It's written for the ATmega168, not the ATmega32, but it should get you started. The code takes sensor data on the ADC lines and sends the converted data over the USART to a bluetooth module.