Go Down

Topic: 4 PWM on ATmega168, why not 6 ??? (Read 1 time) previous topic - next topic


Oct 13, 2006, 04:51 pm Last Edit: Oct 13, 2006, 05:39 pm by nrolland Reason: 1
I need 6 PWM output.
It looks like the wiring.c code lets me see 1 more PWM output (on digital pin 3) for the ATmega168.

But the ATmega168 data sheet shows about 2 more PWM outputs (for a total of 6).

Is it possible to have those 2 more PWM outputs for the Atmega168 on arduino ?



I'm not sure.  The other two PWM pins are controlled by timer 0, which on Arduino is also used to calculate the time returned by millis().  But it might be possible for it to do both.  If so, I'll try to support them in Arduino 0006.  

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131