aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2016-03-28 22:40:24 -0500
committerDavid Barksdale <amatus@amatus.name>2016-03-28 22:40:24 -0500
commit434904b83a7ab1c9128dbc680ec1474fb34a46ad (patch)
tree4c52c7fd6c05967448696269c9f12b9d5912635b /laser-tag software
parent0bbf71ab7622f96fc58520a70e2ba37603cf35a5 (diff)
Choose a better character for music
If you shorten the pulses for B you get a !.
Diffstat (limited to 'laser-tag software')
-rwxr-xr-xlaser-tag software/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/laser-tag software/main.c b/laser-tag software/main.c
index 5a6cd6c..4f14c0f 100755
--- a/laser-tag software/main.c
+++ b/laser-tag software/main.c
@@ -394,7 +394,7 @@ void PORTA_IRQHandler(void)
g_txBuff[0] = 'B';
}
if (!GPIO_DRV_ReadPinInput(g_switchDown.pinName)) {
- g_txBuff[0] = '!';
+ g_txBuff[0] = 'T';
}
if (!GPIO_DRV_ReadPinInput(g_switchSelect.pinName)) {
cue_next_image = 1;
@@ -430,7 +430,7 @@ static void lpuartRxCallback(uint32_t instance, void *lpuartState)
blank_led = 30;
return;
}
- if (rxBuff[0] == '!') {
+ if (rxBuff[0] == 'T') {
position = 0;
PIT_DRV_StartTimer(0, 0);
return;