AVR sense/PWMing Help!
I'm intent on finishing up a few loose end projects of mine, but before I do so, need the following information.
How can I sense some resistance or voltage with my uC? I know I can do an a/d conversion, but that only triggers when Vin > some 1 preset value. I'm looking to make an adjustable knob to turn the intensity of an LED up and down.
Also, how can I PWM some LEDs with my AVR uC - I can use the tiny2313 or mega8 or tiny 13, but I have no preference. I just need 3 different PWM channels. Any ideas?
I already googled, but apparently I'm terrible at finding good tutorials.
(oh, and I'm coding in C)
The LEDs will be inserted into this nice, custom built (by myself) welded devil duckie. Horns and tail will turn to control RGB.
Thanks a whole lot,