G
G
Guest
Is it possible to implement a "pause" function for a counter using a
DIP switch? i.e. where it counts, you press the DIP switch it stops
counting holding the current value until you press the DIP switch again
in which it counts again starting from its stopped value?
Right now, the DIP switch is used as a "reset" zeroing out the
counter...you press it, the counter immediately goes to 00 and once you
release it starts counting...01,02, etc.
I have tried all the obvious things, but I am wondering if this is even
possible at all with a DIP switch and I am wasting my time...with a DIP
switch, you only have a "known" state when it is pressed...when not
pressed it is an open circuit, right? It seems like I would need a
switch that is tied to ground when open, right? Or am I missing
something?
FYI, this a board with an FPGA, LCD and DIP Switch.
Thanks for any help you can offer.
DIP switch? i.e. where it counts, you press the DIP switch it stops
counting holding the current value until you press the DIP switch again
in which it counts again starting from its stopped value?
Right now, the DIP switch is used as a "reset" zeroing out the
counter...you press it, the counter immediately goes to 00 and once you
release it starts counting...01,02, etc.
I have tried all the obvious things, but I am wondering if this is even
possible at all with a DIP switch and I am wasting my time...with a DIP
switch, you only have a "known" state when it is pressed...when not
pressed it is an open circuit, right? It seems like I would need a
switch that is tied to ground when open, right? Or am I missing
something?
FYI, this a board with an FPGA, LCD and DIP Switch.
Thanks for any help you can offer.