I was on 2v06, so just updated to 2v07 to be sure. No difference.
I'm using the code from the example, but found that I had a little bit more success on Pixl.js by changing
digitalPulse(TX, 1, [0.9, 0.3]);
I was also able to increase the chances of success by sending 40 times instead of 10 times, and it works better for some pulse trains than others (in my case, using button 2 's pulses instead of button 1).
All this led me to believe that it may be jitter due to the RTC. I will try to hook up my logic analyser to see if it is indeed the actual waveforms getting messed up.
- Would the
digitalPulse(TX,1,0.001) at the end of the pulse train be affected by the RTC?
- Also, does it matter whether I use an analog pin vs a digital pin?