Add code for switching the speaker respective their amps on or off.

This commit is contained in:
2019-08-14 06:36:26 +02:00
parent 1de12c16ed
commit c044098c8d
3 changed files with 29 additions and 0 deletions

View File

@ -62,6 +62,8 @@ private:
void _unmute();
void _sleep();
void _wakeup();
void _speaker_off();
void _speaker_on();
SPISettings _spi_settings_slow = SPISettings(250000, MSBFIRST, SPI_MODE0);
SPISettings _spi_settings_fast = SPISettings(4000000, MSBFIRST, SPI_MODE0);