SKIP if you’re an advanced user
Reconfigure the AVR START project, adding an ADC
Choosing an analog input pin, configuring an ADC Result Ready IRQ
Show how to use the View Diff (with WinMerge), to decide whether to override changes to generated files or not.
Show how START ADC_init () function implements all the datasheet recommended steps, required in order to setup the ADC, all that is left is for us to start a conversion.
Write ADC_start_conversion (), which is called in the RTC overflow IRQ, and ADC_get_result () which is called in the ADC conversion complete IRQ.
Create a global variable adc_result, adding this to main.h, along with above function prototypes.
Write a usart_send_data () function, in order to send ADC results.
Demonstrate ADC results on the Data Visualizer.
http://start.atmel.com/