start sound

This commit is contained in:
DashyFox 2024-10-03 20:24:13 +03:00
parent 251da124f7
commit 1d28156c0c

View File

@ -87,7 +87,7 @@ void Robot_INIT() {
EEPROM_INIT(); EEPROM_INIT();
setPosDefault(); setPosDefault();
UART3_START(); UART3_START();
sound_init(); // sound_init();
for (int i = 0; i < 10; ++i) { for (int i = 0; i < 10; ++i) {
// if ((i&1U)!=1 || i > 4) for test // if ((i&1U)!=1 || i > 4) for test
@ -97,16 +97,7 @@ void Robot_INIT() {
} }
} }
led_clear(); led_clear();
HAL_Delay(100); melody(melody_start);
// for (int i = 9; i <= 9; ++i) {
// led_blink_num(i, 100, 15);
// }
// for (int i = 0; i <= 100; ++i) {
// led_progressbar(0, 19, i);
// HAL_Delay(10);
// }
} }
void BallEXT() { void BallEXT() {