NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » PWM and LEDs
| 
  April 02, 2010  by ruipinheiro  | 
I wanted to make it so that a LED gets brighter and brighter and then once it hits "full-power" it would loop back to off. I know this can be done using PWM to keep switching the pins between on and off but I have no idea how. The datasheet doesn't show anything I can understand either, and the projects that use PWM can't be adapted that easily. Anyone care to explain how PWM works a bit? Thanks, and love my Nerdkit so far :D  | 
|---|---|
| 
  April 02, 2010  by bretm  | 
Something like this?  | 
| 
  April 02, 2010  by ruipinheiro  | 
Yeah, exactly that. Thank you very much, I looked around but didn't find that.  | 
Please log in to post a reply.
| 
		 
Did you know that hobby servos are controlled through a particular kind of PWM (Pulse Width Modulation) signal?  Learn more...
		 
	 |