Tag Mono
-
Input-Pins in RaspberryDotNet
Etwas verzweifelt war ich schon, als mein Raspberry keine Änderung an den Input-Pins mit RaspberryDotNet feststellen wollte.
var myPin = new GPIOMem(GPIOPins.V2_GPIO11, GPIODirection.In, false); if (myPin.Read() == PinState.Low) { Console.WriteLine("1"); }