Because the fluid leak detector is packaged as part of a 16-bit (LSB + MSB) representing the GPIOs of the FPGA. This is to save space. I use a bitmask to extract that one bit I need which is repres...
Because the fluid leak detector is packaged as part of a 16-bit (LSB + MSB) representing the GPIOs of the FPGA. This is to save space. I use a bitmask to extract that one bit I need which is representative of the fluid leak detector state (dry/1 vs. wet/0).