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?