fatburger92
New Member
I need some help (newbie) starting a program that continuously displays a value sampled from the A/D input terminal through a UART in hexadecimal. How would I start my code (using C for Atmega644) ?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
fatburger92 said:Thanks! That's really helpful. So, if I don't want to include high/low LED's and just want to continuously display the value, will this work? (without the UART Part)
#include <avr/io.h>
ADCSRA |= (1 << ADPS2) | (1 << ADPS1) | (1 << ADPS0);