Esempio n. 1
0
        private int ReadGPIO(int port)
        {
            int value = 0;

            GPIOFintekInterop.GPIO_LPC_R(port, ref value);
            return(value);
        }
Esempio n. 2
0
        private bool WirteGPIO(int port, int value)
        {
            int result = GPIOFintekInterop.GPIO_LPC_W(port, value);

            return(result != 0);
        }