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

This commit is contained in:
fabian committed 2019-08-14 06:36:26 +02:00
1 parent 235ef8c39d
commit dcbb42f5ef
2 files changed
+27

No files matched your search

+2
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);