/* ADC and bar graph display the Orangutan, ATmega168, 8 MHz clock S. James Remington sjames_remington at yahoo dot com This program reads the tiny pot attached to ADC channel 7 on the Orangutan and displays the value as an integer and a bar graph on the LCD display. Yes, a GUI for your O! */ #include #include #define F_CPU 8000000UL //CPU clock frequency for delays #include void ADC_init() { ADMUX = 7; //set to right adjust, reference is AREF and ADC channel to 7 ADCSRA = (1<