public class Buzzer extends DigitalOutputDevice
INFINITE_ITERATIONS
pinNumber
Constructor and Description |
---|
Buzzer(int pinNumber) |
Buzzer(int pinNumber,
boolean activeHigh) |
Modifier and Type | Method and Description |
---|---|
void |
beep() |
void |
beep(float onTime,
float offTime,
int n,
boolean background) |
close, isOn, off, on, onOffLoop, setOn, setValueUnsafe, toggle
getPinNumber
public Buzzer(int pinNumber) throws RuntimeIOException
RuntimeIOException
public Buzzer(int pinNumber, boolean activeHigh) throws RuntimeIOException
RuntimeIOException
public void beep() throws RuntimeIOException
RuntimeIOException
public void beep(float onTime, float offTime, int n, boolean background) throws RuntimeIOException
RuntimeIOException
Copyright © 2016 mattjlewis. All rights reserved.