public class PibrellaExample extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PibrellaExample.SampleTuneThread
THE EXAMPLE CODE FOR PLAYING THE TUNE IS BASED ON THE EXAMPLE PROVIDED IN THE THE WIRING PI PROJECT
https://git.drogon.net/?p=pibrella;a=blob;f=tune.c;h=9ea899048461e080cc3e141e1beef67489d9b756;hb=HEAD
|
Constructor and Description |
---|
PibrellaExample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Start Pibrella Example
|
static void |
playSampleTune()
Play sample tune using the Pibrella buzzer
|
static void |
stopSampleTune()
Stop playing sample tune
|
public static void main(String[] args) throws InterruptedException, IOException
args
- InterruptedException
IOException
public static void playSampleTune()
public static void stopSampleTune()
Copyright © 2012–2016 Pi4J. All rights reserved.