public class PwmLed extends PwmOutputDevice
INFINITE_ITERATIONS
pinNumber
Constructor and Description |
---|
PwmLed(int pinNumber) |
PwmLed(int pinNumber,
float initialValue) |
PwmLed(PwmOutputDeviceFactoryInterface deviceFactory,
int pinNumber) |
PwmLed(PwmOutputDeviceFactoryInterface deviceFactory,
int pinNumber,
float initialValue) |
Modifier and Type | Method and Description |
---|---|
void |
blink() |
void |
blink(float onTime,
float offTime,
int iterations,
boolean background) |
boolean |
isLit() |
void |
pulse() |
void |
pulse(float fadeTime,
int steps,
int iterations,
boolean background) |
close, fadeInOutLoop, getValue, isOn, off, on, onOffLoop, setValue, setValueInternal, toggle
getPinNumber
public PwmLed(int pinNumber) throws RuntimeIOException
RuntimeIOException
public PwmLed(int pinNumber, float initialValue) throws RuntimeIOException
RuntimeIOException
public PwmLed(PwmOutputDeviceFactoryInterface deviceFactory, int pinNumber) throws RuntimeIOException
RuntimeIOException
public PwmLed(PwmOutputDeviceFactoryInterface deviceFactory, int pinNumber, float initialValue) throws RuntimeIOException
RuntimeIOException
public void blink() throws RuntimeIOException
RuntimeIOException
public void blink(float onTime, float offTime, int iterations, boolean background) throws RuntimeIOException
RuntimeIOException
public void pulse() throws RuntimeIOException
RuntimeIOException
public void pulse(float fadeTime, int steps, int iterations, boolean background) throws RuntimeIOException
RuntimeIOException
public boolean isLit() throws RuntimeIOException
RuntimeIOException
Copyright © 2016 mattjlewis. All rights reserved.