Skip to content

Commit 9a25dbf

Browse files
committed
streams-pins-audiokit example
1 parent 67d9a17 commit 9a25dbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/examples-stream/streams-pins-audiokit/streams-pins-audiokit.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ void setup() {
3737
kit.addAction(PIN_KEY4, button4);
3838

3939
// example with actions using lambda expression
40-
auto up = []() { AudioKitStream::actionVolumeDown(); flite.say("Volume up"); };
40+
auto up = []() { AudioKitStream::actionVolumeDown(); flite.say("Volume down"); };
4141
kit.addAction(PIN_KEY5, up);
42-
auto down = []() { AudioKitStream::actionVolumeUp(); flite.say("Volume down"); };
42+
auto down = []() { AudioKitStream::actionVolumeUp(); flite.say("Volume up"); };
4343
kit.addAction(PIN_KEY6, down);
4444

4545
flite.say("Please push a button");

0 commit comments

Comments
 (0)