public string Digitial(DigitalGPIOBDM gpio) { try { rpyProcess.Switch[(int)gpio.Pin].Write(gpio.Value); return(gpio.Value == true ? "ON" : "OFF"); } catch (System.Exception nse) { throw new InvokerException(nse.ToString(), InvokerExceptionType.Error); } }
public string Digitial(DigitalGPIOBDM gpio) { throw new NotImplementedException("Not Implemented."); }