Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

PWM problem

2007-10-10 by Thomas Keller

OK, one guy wrote back and said it wasn't possible, but I don't think 
that's
correct, because the PWM can also trigger interrupts.  Again:

   I need to drive more than 20 mA to an LED being PWMed by an ATtiny25.
I want to use the PWM module on timer/counter0 to drive an interrupt
routine that sets and clears, as appropriate, a pair of GPIOs driving my 
LED
to ~~30-35 mA.  ( I really don't have the physical room in my 
environment for
one more transistor, very very tight environment)

   Problem is, the data sheet material on this particular issue has me 
confused,
not clear on what I should be doing.  Any help?

tom

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.