add getSeconds, sound controller, mute/unmute switches

This commit is contained in:
2024-04-15 16:23:51 +02:00
parent 53e538b112
commit 2404910870
5 changed files with 87 additions and 0 deletions

17
game-ctrl/sound.c Normal file
View File

@ -0,0 +1,17 @@
#include "sound.h"
#include "spi.h"
void soundInit() {
}
void soundCtrl(t_SoundCmd cmd) {
spiSendBegin(e_SPI_SOUND);
spiSendOctet((uint8_t)cmd);
spiSendEnd(e_SPI_SOUND);
}