Modify the state of a pin

Once we have access to the GpioOutputPin, we can change the state of the LED; to turn the LED on, we just need to write the following:

pin.Write(GpioPinValue.Low);

If we want to turn the LED off, we need to write this:

pin.Write(GpioPinValue.High);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.200.211