2hz clock pulses missed during program execution
James Schall
Posts: 7
Speed from Ping update:
I am able to reliably measure the output of my 4060 clock pulses when running a frequency measurement program and showing the results on debug screen, but when I insert the COUNT command into my Ping program and display results on my Appmod LCD, I miss some pulses. Increasing the duration of my pulse count does raise the total but the results are erratic. Pause statements didn't fix condition when removed. Noise on pins would seem to cause me to pick up pulses.
I am enclosing my code samples for other beginners like me who might be helped by my feeble attempts at cut and paste programming.
I'm having so much fun!
I am able to reliably measure the output of my 4060 clock pulses when running a frequency measurement program and showing the results on debug screen, but when I insert the COUNT command into my Ping program and display results on my Appmod LCD, I miss some pulses. Increasing the duration of my pulse count does raise the total but the results are erratic. Pause statements didn't fix condition when removed. Noise on pins would seem to cause me to pick up pulses.
I am enclosing my code samples for other beginners like me who might be helped by my feeble attempts at cut and paste programming.
I'm having so much fun!
BS2
6K
Comments
DurAdj CON 100 should be
DurAdj CON $100
Now I can get down to my real math issues!