Example #1
0
        public uint ReadMoxaOutputAllBytes()
        {
            uint Read_Byte = 0;

            MXIO_Lib.E1K_DI_Reads(Output_Connection, 0, 16, ref Read_Byte);
            return(Read_Byte);
        }
Example #2
0
        public bool ReadMoxaInput(int portNo)
        {
            uint Read_Byte = 0;

            MXIO_Lib.E1K_DI_Reads(Input_Connection, (byte)portNo, 1, ref Read_Byte);
            return(Read_Byte == 0 ? false : true);
        }