piclist 2017\09\07\115810a >
Thread: High Frequency 16 bit PWM Dimming
face BY : Kerry email (remove spam text)

OK, I got some numbers wrong.

If your 16bit value was 0x3000, then the 10bit would be 0x0c0 and the
6bit would be 0.
The PWM output would be 192/1024 for all cycles, so there would be no
dithering.  But 192/1024 is exactly equal to 12288/65536, so no
dithering is needed.

That's what I get for doing hex arithmetic in my head!


On 9/7/2017 11:26 AM, Kerry wrote:
{Quote hidden}

http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at
<7b4cfdb2-f161-952e-59ed-100389f6bd32@skunkworksnh.com> base64

In reply to: <73c1aed4-4708-4336-c2db-8ee700451632@skunkworksnh.com>
See also: www.piclist.com/techref/microchip/ios.htm?key=pwm
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) High Frequency 16 bit PWM Dimming

month overview.

new search...