protected RaspberryPi2Board() { var controller = GpioController.GetDefault(); PowerLed = new SwitchGpioModule(controller, PowerLedNumber); StatusLed = new SwitchGpioModule(controller, GreenLedNumber); PowerLed.TurnOn(); }
public void TurnWhite() { redPin.TurnOn(); greenPin.TurnOn(); bluePin.TurnOn(); }
public void TurnColor1() { color1Pin.TurnOn(); color2Pin.TurnOff(); }