While the t85 does have support for four PWM outputs one of them is inverted which makes it not very useful in the Arduino world.
The core available from here... http://code.google.com/p/arduino-tiny/
...has support for three PWM outputs on the t85 processor. The inverted output is not supported.
I only need 3 anyway (RGB) so this is fine for me - Thank You.
BTW what does inverted mean? One PWM with two inverted Outputs, so 3 at all?
Can't the PWM be configured any way I like?
I have a LED with common Vdd and the colors need to be switched to ground or not.
The LED was part of an Arduino Uno Kit with some little alike stuff added.
I've read the datasheet again and it looks like Timer 0 has two pwms
and Timer1 also, has 2 inverted pins per pwm so 4 overall, but seems to be configurable having one pin connected also.
Honestly the Datasheet is very hard to read, I can't figure out which pwm is connected to which pin there is a lot of COMnx and similar but can't find a table for n x and the coresponding pins.
/OC1B (OC1B with a bar over it) is the output in question. It's on PB3. When OC1B is set high then /OC1B is set low and vice versa. /OC1B is always OC1B inverted. There is no other way to control it.
One PWM with two inverted Outputs, so 3 at all?
There are two inverted outputs and four primary outputs. Two primary outputs overlap on PB1. A primary output and an inverted output overlap on PB0.
I have a LED with common Vdd and the colors need to be switched to ground or not.
The output will be inverted (0 = full on; 255 = full off; 250 = dim) but it will otherwise work fine.
OK I see the Pin assignment is Not to Smart.
PWM0B and PWM0A are the same Pins then PWM1A and PWM1A inverted.
So you can have only PWM0A,0B,1B at the same Time.
But enough for RGB.