Hi,
Can you help me decide what is the best way to have the time elapsed between two pulses (picaxe 20X2 or picaxe 18M2)?
Every pulse as a 1ms duration, and I think I can have up to 5 pulses per second.
I was considering to use the count command but if I use count C.1, 5000, w1, I only be able to know how mutch pulses occurred.
I think I will use setint and timer command, but will be the 1ms enough to trigger the interrupt? and can picaxe 20x2 or 18M2 deal with up to 5 interrupts per second?
thank you
(this post is related with: http://www.picaxeforum.co.uk/showthread.php?t=16542)
Can you help me decide what is the best way to have the time elapsed between two pulses (picaxe 20X2 or picaxe 18M2)?
Every pulse as a 1ms duration, and I think I can have up to 5 pulses per second.
I was considering to use the count command but if I use count C.1, 5000, w1, I only be able to know how mutch pulses occurred.
I think I will use setint and timer command, but will be the 1ms enough to trigger the interrupt? and can picaxe 20x2 or 18M2 deal with up to 5 interrupts per second?
thank you
(this post is related with: http://www.picaxeforum.co.uk/showthread.php?t=16542)