March 2018
Beginner to intermediate
410 pages
10h 40m
English
To set the actual output value, we call the Write() method on the pin object:
bool LastOn = await RuntimeSettings.GetAsync("Actuator.Output",
false);
this.gpioPin.Write(LastOn ? GpioPinValue.High : GpioPinValue.Low);
We need to make a similar change in the SetOutput() method.
Read now
Unlock full access