Pages: [1]   Go Down
Author Topic: 4 PWM on ATmega168, why not 6 ???  (Read 1315 times)
0 Members and 1 Guest are viewing this topic.
FR
Offline Offline
Full Member
***
Karma: 0
Posts: 105
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ?

Nicolas
« Last Edit: October 13, 2006, 10:39:47 am by nrolland » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  
Logged

Pages: [1]   Go Up
Jump to: