Esempio n. 1
0
        public UART()
        {
            //Pi3 Path
            int fd = WiringPiWrapperDirect.serialOpen("/dev/ttyS0", 9600);

            if (fd < 0)
            {
                throw new ExecutionEngineException("Serial Open fails.");
            }

            WiringPiWrapperDirect.WiringPiSetupGpio();
        }