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 235ef8c39d
commit dcbb42f5ef
2 changed files with 27 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);