We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bdb074 commit 67d9a17Copy full SHA for 67d9a17
examples/examples-stream/streams-pins-audiokit/streams-pins-audiokit.ino
@@ -36,10 +36,10 @@ void setup() {
36
kit.addAction(PIN_KEY3, button3);
37
kit.addAction(PIN_KEY4, button4);
38
39
- // example with lambda expression
40
- auto up = []() { flite.say("Volume up"); };
+ // example with actions using lambda expression
+ auto up = []() { AudioKitStream::actionVolumeDown(); flite.say("Volume up"); };
41
kit.addAction(PIN_KEY5, up);
42
- auto down = []() { flite.say("Volume down"); };
+ auto down = []() { AudioKitStream::actionVolumeUp(); flite.say("Volume down"); };
43
kit.addAction(PIN_KEY6, down);
44
45
flite.say("Please push a button");
0 commit comments