drbitboy
Lifetime Supporting Member
Btw, if 0-2 pumps are allowed to run and pump 1-4 set bits 0-3 of an INT, then invalid values are either 7 or 11 or >12, so only three tests are required.
also, another approach would be to make the pump 1 start button invisible when
N.B. this assumes a jumpered-on pump does not set a bit in that 4-bit INT.
also, another approach would be to make the pump 1 start button invisible when
- Pump 1 is on
- OR
- That 4-bit INT is 6 or 10 or 12
N.B. this assumes a jumpered-on pump does not set a bit in that 4-bit INT.
Last edited: