add getSeconds, sound controller, mute/unmute switches
This commit is contained in:
17
game-ctrl/sound.c
Normal file
17
game-ctrl/sound.c
Normal 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user