Hi Guys,
Everyone that said RC filtering gets the prize (find me at nationals and I’ll give it to you …)
I put the following code in to vary the width of the pulse I was sending out:
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 0;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
rc_digout_17 = 1;
And guess what - Only the 1st and last pulse came out regularly, and sometimes I would get the next to last pulse.
Also - the 1st pulse was narrower than the last (even though they had the same code) - probably due to being the first one to charge up the RC circitry.
I then added a 4.7K pullup to the IO and can now see all but the narrowest pulse.
The schematic of the io pins predicts this behavior exactly - thanks!
Issue closed.
The world can start spinning on it’s axis again …