PinguinoIDE / pinguino-libraries

Pinguino librairies, keywords and other useful files.
24 stars 27 forks source link

Allow full range of PWM frequencies on 16F1459 #20

Closed kh90909 closed 6 years ago

kh90909 commented 6 years ago

The 16F1459 has a 1:64 prescaler setting which allows frequencies down to 733 Hz. This commit extends PWM_setFrequency() to allow frequencies down to this limit on 16F1459.

rblanchot commented 6 years ago

Thank you.