E eddydde Member Mar 11, 2010 #1 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?
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?
B BeanieBots Moderator Mar 11, 2010 #2 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
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