I am using the following lines of code as part of a loop to produce a burst of 3725Hz square wave.
pwmout pwmdiv4,3,66,134
pause 200
pwmout 3 , off
If I look at this burst of tone on a CRO, there is 6 'cycles' of approx 15kHz square wave before it settles down to produce the 3725Hz square wave!
Very strange. Could this possibly be a faulty 18X device or am I missing something?
pwmout pwmdiv4,3,66,134
pause 200
pwmout 3 , off
If I look at this burst of tone on a CRO, there is 6 'cycles' of approx 15kHz square wave before it settles down to produce the 3725Hz square wave!
Very strange. Could this possibly be a faulty 18X device or am I missing something?
Last edited: