Class QSMCM_DIO

    • Constructor Detail

      • QSMCM_DIO

        public QSMCM_DIO​(int channel,
                         boolean out)
        Create a digital I/O on the PortQS.
        Parameters:
        channel - PortQS pin to initialize
        out - true: pin will be output, false: pin will be input
    • Method Detail

      • get

        public boolean get()
        Reads the state on the pin.
        Returns:
        State of the pin
      • set

        public void set​(boolean val)
        Sets the state of a pin.
        Parameters:
        val - State to be written