add delay ms safe & add led heart beat

This commit is contained in:
2025-08-13 00:56:55 +08:00
parent 1dde17d211
commit e9a96aec6a
6 changed files with 68 additions and 2 deletions

View File

@@ -8,5 +8,6 @@ void led_init(void);
void led_on(void);
void led_off(void);
void led_toggle(void);
void led_heart_beat(void);
#endif // LED_H

View File

@@ -24,4 +24,7 @@ void delay_ms(uint32_t count);
/* delay a time in microseconds */
void delay_us(uint32_t count);
/* delay function that doesn't interfere with SysTick interrupt */
void delay_ms_safe(uint32_t count);
#endif /* SYS_TICK_H */