tUse a more noticable finish sound - lego_film_processor - software for rotary … | |
git clone git://src.adamsgaard.dk/lego_film_processor | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 29801998d9efe84c3f49a7e45f10f00cf5db1022 | |
parent 6350d48897168b5f89ac7b83e4e560bfcee32c9d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 12 Jul 2019 16:24:42 +0200 | |
Use a more noticable finish sound | |
Diffstat: | |
M lego_jobo.nqc | 16 +++------------- | |
1 file changed, 3 insertions(+), 13 deletions(-) | |
--- | |
diff --git a/lego_jobo.nqc b/lego_jobo.nqc | |
t@@ -17,23 +17,13 @@ main() | |
t_end = 60*DEVELOP_MINS + DEVELOP_SECS; | |
while (t_current < t_end) { | |
- | |
Wait(T_TURN); | |
Toggle(OUT_A); | |
- | |
t_current += T_TURN/100; | |
} | |
Off(OUT_A + OUT_B + OUT_C); | |
- | |
- PlayTone(147, 20); /* d */ | |
- PlayTone(156, 20); /* d# */ | |
- PlayTone(147, 20); /* d */ | |
- PlayTone(294, 40); /* d+1 */ | |
- | |
- PlayTone(147, 20); /* d */ | |
- PlayTone(156, 20); /* d# */ | |
- PlayTone(147, 20); /* d */ | |
- PlayTone(175, 40); /* f */ | |
- | |
+ repeat (4) { | |
+ PlaySound(SOUND_UP); | |
+ } | |
SetSleepTime(5); | |
} |