Do you thinks it is possible to generate a 1MHz PWM signal with a 16 MHz system frequency ?
What is the result of 16 MHz divide by 256 ?
You should have a look on 328p (or 2560) datasheet !
You will found PWM frequency formula.
Do you thinks it is possible to generate a 1MHz PWM signal with a 16 MHz system frequency ?
What is the result of 16 MHz divide by 256 ?
You should have a look on 328p (or 2560) datasheet !
You will found PWM frequency formula.