Files
klubhaus-doorbell/libraries/audio-tools/examples/examples-audiokit/streams-pins-audiokit
2026-02-16 19:05:11 -08:00
..
2026-02-16 19:05:11 -08:00
2026-02-16 19:05:11 -08:00

AudioActions

Originally I was of the opinion that the program logic for reading of the GPIO pins and the processing of the related actions should belong into a specific Arduino sketch and should not be part of an Audio Framework.

The Audio Kit made me revise this because I think that an Arduino Sketch should be as concise as possible. For this I have created the AudioActions class which has been integrated into the AudioKit.

Since the Audio Kit does not have any display, I think to use TTS is a good choice. You just need to define you handler methods (button1, button2...) and assign them to the GPIO pins.

Dependencies

You need to install the following libraries: