参考:http://sobisource.com/arduino-mega-pwm-pin-and-frequency-timer-control/
Arduino mega pins and hardware Timers
Pin | Timer |
---|---|
46 | OC5B |
45 | OC5B |
44 | OC5B |
13 | OC0B //Caution: this one directly effects major timing { i.e delay and millis} |
12 | OC1B |
11 | OC1A |
10 | OC2A |
9 | OC2B |
8 | OC4C |
7 | OC4B |
6 | OC4A |
5 | OC3A |
4 | OC0B //Caution: this one directly effects major timing { i.e delay and millis} |
3 | OC3C |
2 | OC3B |