Hi, how can I change pwm frequency to 150khz in arduino due?
Hi there @zahra5,
Have a look to pwm_lib at GitHub - antodom/pwm_lib: This is a C++ library to abstract the use of the eight hardware PWM channels available on Arduino DUE's Atmel ATSAM3X8E microcontroller.. Have a look to the examples coming with pwm_lib, you just have to adjust the period.
I hope it helps.