Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - modify pwm resolution

(you are viewing a thread; or go back to list of threads)

modify pwm resolution (by David R)
HI I want to modify the pwm resolution i don't care if it is not logical to have say 0--->255% I just need more resolution.

Can someone point me in the correct direction in the source code to make the change.
The closest I found was from line 869 of pic16.cpp
Kind Regards
David.
Sun Feb 8 2015, 02:02:18
(no subject) (by Jonathan Westhues)
The thing that determines the max is on line 916. Resolution would still be limited by hardware, of course, and decreases as the PWM frequency increases.
Tue Feb 10 2015, 01:07:35
(no subject) (by David R)
Thanks Jonathan all done and working well.
Kind Regards
David.
Tue Feb 10 2015, 04:41:22
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):