Hi,
I do not know where to include this problem, so I write it here.
I need to create a PICAXE comparator. I need to load (count) impulses on the pin1. When pin1 appear first impulse then light up LED1. Then I need to load (count) impulses on the pin2.
I do not know the frequency - time will be different. The time between pulse1 and pulse2 will be different from the time between pulse2 and pulse3.
And when pin2 = pin1 then turn off LED1, turn on LED2 and reset pin1 and pin2.
The number of pulses per pin2 will not be greater than pin1.
The "COUNT" command I think can not be used. Because I do not want to count (measure) frequencies, but add and compare the number of impulses.
Now I work with 74HCT193 - 4-Bit Up / Down Counters, but I need to expand. 4-bit be few, I need 8-bit ...
I do not know where to include this problem, so I write it here.
I need to create a PICAXE comparator. I need to load (count) impulses on the pin1. When pin1 appear first impulse then light up LED1. Then I need to load (count) impulses on the pin2.
I do not know the frequency - time will be different. The time between pulse1 and pulse2 will be different from the time between pulse2 and pulse3.
And when pin2 = pin1 then turn off LED1, turn on LED2 and reset pin1 and pin2.
The number of pulses per pin2 will not be greater than pin1.
The "COUNT" command I think can not be used. Because I do not want to count (measure) frequencies, but add and compare the number of impulses.
Now I work with 74HCT193 - 4-Bit Up / Down Counters, but I need to expand. 4-bit be few, I need 8-bit ...