Pages: [1]   Go Down
Author Topic: Which timer for which PWM pin on Arduino Mega?  (Read 590 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I would need to generate PWM signals on a Arduino Mega at a higher frequency than the default used for the analog write function. I therefore need to change the prescaler of the concerned timer. However, I wasn't able to find documentation of which PWM pin is linked to which timer in the case of the Arduino mega. Can someone help me here or give me a link to the relevant information?

Thank you in advance,


Massachusetts, USA
Offline Offline
Tesla Member
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

2      PWM T3B
3   PWM T3C
4   PWM T0B   
5   PWM T3A   
6   PWM T4A   
7   PWM T4B   
8   PWM T4C   
9   PWM T2B   
10   PWM T2A
11   PWM T1A
12   PWM T1B
13   PWM T0A
44   *PWM T5C   
45   *PWM T5B   
46   *PWM T5A

   * functions not implemented in Arduino version 0015         

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: