Magician:
My analytical mind says, it's a waste of time to try to help you. You are too far from the required level for completing such project. Start from the beginning, like everyone does, blinking led. No offence mean.
Too bad!
Thank you!
Magician:
My analytical mind says, it's a waste of time to try to help you. You are too far from the required level for completing such project. Start from the beginning, like everyone does, blinking led. No offence mean.
Too bad!
Thank you!
Where is the file variant.h in IDE version 1.6.12? Although the Board Manager says that I have the Due software installed (v 1.6.9) and I can program my Due, I cannot find the variant.h file so that I can change the PWM frequency as discussed above.
Are you using windows or mac platform?
Hi. how can I change pwm frequency in pin13 to 150khz in arduino due?
antodom:
Have a look to pwm_lib available at:
hello, and thank you for the library, it is exactly what i need -- however there is a problem.... the examples error out, looking for include file "tc_lib.h". do you know what library provides this dependency? or is it a file missing from your library?
Hi there @tom,
You can find tc_lib at GitHub - antodom/tc_lib: This is a library to take advantage of different functionalities available on Timer Counter (TC) modules in Arduino Due's Atmel ATSAM3X8E microcontrollers.
Library pwm_lib, itself, does not depend on tc_lib, but the examples do depend on it, as they use tc_lib for measuring duty and period of the PWM signals generated by pwm_lib, and for verifing its correct behaviour.
I hope it helps.
Best regards.