Mistake in description event timer sketch on wiki

Issue #50 resolved
Michał Gołębiewicz created an issue

I think there is a mistake in this part of description in event timer sketch:

//Be aware that because the ping_timer method uses Timer2,
// other features or libraries that also use Timer2 would be effected. For example, the PWM function on
// pins 3 & 11 on Arduino Uno (pins 9 and 11 on Arduino Mega) and the Tone library.

According to my tests and this website: https://playground.arduino.cc/Main/TimerPWMCheatsheet/. Timer 2 is responsible for pins 9 & 10, not 9 & 11. This is a small mistake but made me waste some time so I think it’s worth correcting for future users.

Comments (2)

  1. Log in to comment