def get(self) -> bool: """Get the value from a digital input channel. Retrieve the value of a single digital input channel from the FPGA. :returns: the state of the digital input """ return hal.getDIO(self.handle)
def get(self): """Gets the value being output from the Digital Output. :returns: the state of the digital output :rtype: bool """ return hal.getDIO(self.handle)
def get(self): """Get the value from a digital input channel. Retrieve the value of a single digital input channel from the FPGA. :returns: the state of the digital input :rtype: bool """ return hal.getDIO(self.port)
def get(self): """Get the value from a digital input channel. Retrieve the value of a single digital input channel from the FPGA. :returns: the state of the digital input :rtype: bool """ if self.port is None: raise ValueError("operation on freed port") return hal.getDIO(self.port)