Generate burst of 2 kHz square wave?

eddydde

Member
I am wanting to generate a burst of 2 kHz square wave using an 18X device. The pwmout command only generates down to 3.95 kHz. Any suggestions as to how I can do this within the chip?
 

BeanieBots

Moderator
First off, make sure you have the latest editor version (5.2.10)
This has a new feature that enables lower PWM frequencies.

Then the wizard will give you:-
pwmout pwmdiv4, 3, 124, 250
 
Top