Exemplo n.º 1
0
        public void Write(GpioPinValueEnum value)
        {
            switch (value)
            {
            case GpioPinValueEnum.High:
                m_Pin.Write(GpioPinValue.High);
                break;

            case GpioPinValueEnum.Low:
                m_Pin.Write(GpioPinValue.Low);
                break;

            default:
                throw new InvalidEnumArgumentException(nameof(value), (int)value, typeof(GpioPinValueEnum));
            }
        }
Exemplo n.º 2
0
 public async Task WaitForValue(IGpioPinModel pin, GpioPinValueEnum status, int timeOutMillisecond)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 public async Task Write(IGpioPinModel pin, GpioPinValueEnum value)
 {
     throw new NotImplementedException();
 }