Quote Originally Posted by Acetronics
Hi, RCTech

.../...The Valinpulse value will be the same for Pulsin and Pulsout.
Okay, i'm not totally wrong ;O)

Quote Originally Posted by Acetronics
@ 4Mhz, you write: Valinpulse var BYTE ....and @ 20 Mhz you MUST write : Valinpulse var WORD !!!
Whow, i didn't know that little difference !

Quote Originally Posted by Acetronics
.../...
Now, a little Trick seen nowhere :
Always Write : LOW PORTX.Y before a Pulsout statement .../...
Thanx, i'm just a little bit more intelligent than yesterday, many many thanx.
Now it's half past 3 AM : too late for me to do the tests but tomorrow probably, i'll post a feedback.

And.... Nice to see i'm not the only one froggy here !

Dave, i've tested with multiplying etc (just in case), but, today i'm sure it was a mistake because pulsin & pulsout have the same res. depending the X-tal used so if pulsin have a 5 times ratio at 20Mhz, then, the pulsout too and i don't need to do some corrections by calcs.

I'll come back on the forum tomorrow or next day to tell if it's okay.

RCTech