public static class Tone.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(Pin.AnalogPin analogPin) |
Modifier and Type | Method and Description |
---|---|
Tone |
endless() |
Tone |
withDuration(int duration,
java.util.concurrent.TimeUnit timeUnit) |
Tone.Builder |
withHertz(int hertz) |
public Builder(Pin.AnalogPin analogPin)
public Tone.Builder withHertz(int hertz)
public Tone endless()
public Tone withDuration(int duration, java.util.concurrent.TimeUnit timeUnit)
Copyright © 2019. All rights reserved.