pjrebordao
Senior Member
Simple - and probably silly - question: during a PULSOUT, the picaxe stops execution until the pulse "runs out" ?
My thoughts exactly; I would connect up a second Picaxe, say a 14M2, using five pins to interconnect. Four pins could indicate the 2-15 mS in binary and the fifth one could be the trigger. The primary Picaxe can then just determine what pulse length is needed, set four pins to indicate this and then, when ready, set or toggle the fifth pin to trigger the pulse generation from the second Picaxe which is watching out for things in a do:loop program. Surely this would solve your problem with greatest simplicity and reliability of timing?My suggestion is to use an EXTERNAL triggered pulser if you want precise pulses and have to have the 40X2 doing something else while it is pulsing.