Speaker: Introduce audio playback
Introduce the Speaker class to play audio from the SD card when detecting tags. The only audio supported is WAV. Audio playback is handled via interrupts, so it might try to read from the SD card at the same time as the LCD class is trying to read new frames. Update the LCD animation code to temporarily disable audio interrupts while reading from the SD card.
This commit is contained in:
parent
b0753ada9f
commit
224bc7a6d5
6 changed files with 124 additions and 6 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <Adafruit_PCD8544.h>
|
||||
|
||||
#include "Audio.h"
|
||||
#include "Com.h"
|
||||
#include "IDs.h"
|
||||
#include "Pinout.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue