@Test @Category(FastTest.class) public void verifySetup() { sketch.setup(NO_ARGS); PowerMockito.verifyStatic(); Gpio.wiringPiSetup(); PowerMockito.verifyStatic(); SoftPwm.softPwmCreate(LEDPINRED, 0, 100); PowerMockito.verifyStatic(); SoftPwm.softPwmCreate(LEDPINYELLOW, 0, 100); }
public BaseRobot() { Gpio.wiringPiSetup(); setSafeGPIOPinStart(); }
private void initializeSoftPWM() { Gpio.wiringPiSetup(); SoftPwm.softPwmCreate(26, 0, 100); }
public RtttlService() { Gpio.wiringPiSetup(); }