public class RgbLed extends Object implements Closeable
Constructor and Description |
---|
RgbLed(int redPin,
int greenPin,
int bluePin) |
public RgbLed(int redPin, int greenPin, int bluePin) throws RuntimeIOException
RuntimeIOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void on() throws RuntimeIOException
RuntimeIOException
public void off() throws RuntimeIOException
RuntimeIOException
public void toggle() throws RuntimeIOException
RuntimeIOException
Copyright © 2016 mattjlewis. All rights reserved.