freq reqd: +- 42KHz at 50% duty
pwmout 2, 24, 46
freq reqd: +- 28KHz at 50% duty
pwmout 2, 36, 70
freq reqd: +- 14KHz at 50% duty
pwmout 2, 72, 142
While Hippy is flying round the Universe,
in his part-time job,
here is a [i]possible[/i] reason for the "100%"
#picaxe 08m
REM pwmout 100% @14kHz, 28kHz, 42kHz
setfreq m4
pwmout 2 , 70, 286 ;14
pwmout 2 , 35, 143 ;28
pwmout 2 , 23, 95 ;42
setfreq m8
pwmout 2 , 142, 571 ;14
pwmout 2 , 70, 286 ;28
pwmout 2 , 47, 190 ;42
That will give you the maximum duty value (N), which is also the number of steps you have ( 0 to N ).Hippy: Why at 100% duty ?