Introduction - If you have any usage issues, please Google them yourself
This is a simple program with measure a voltage on ADC pin in Atmega8 AVR uC and control a PWM value . This is a program in CodeVision . I use it for control Lights, motors etc...