5461Views4Replies

Author Options:

Using an ATtiny to control LED brightness? Answered

Picture of

Hey guys, I was wondering if any of you know how to control LED brightness using an AVR microcontroller. I'm using the ATtiny 2313... I was guessing that there is some way to do it using PWM, but I have no clue how to do so. Any help at all is appreciated! Thanks, -Muffinator

4 Replies

user
phenoptix (author)2013-09-04

Funny I should stumble across this post tonight. Hope you have a good time at the summit this year!

Select as Best AnswerUndo Best Answer

user
gmoon (author)2007-10-02
user
gmoon (author)T3h_Muffinator2007-10-02

You're welcome :) And like the page says, you don't really even need a crystal with the 2313 or any newer AVRs...so the schematic is even simpler.

Select as Best AnswerUndo Best Answer