public void PushPowerButton() { GpioController.SetPinValue(MotherBoardPowerBtn, true); }
public bool IsPowerButtonPressed() { GpioController.SetPinValue(HwPowerBtnCounterPart, true); return(GpioController.GetPinValue(HardwarePowerBtn)); }
public void ReleasePowerButton() { GpioController.SetPinValue(MotherBoardPowerBtn, false); }
public void PressPowerButton(int duration = 1000) { GpioController.SetPinValue(MotherBoardPowerBtn, true, duration); }