/
Grifmax
/
rectification-controller
Обзор
Документация
Войти
/
Grifmax
/
rectification-controller
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/notification.h
25 строк
530 B
grifmax
Add files via upload
23 ноя 2025, 18:07
Не верифицирован
23 ноя 2025, 18:07
8389621
Код
Авторство
О чём код?
/** * @file notification.h * @brief Система уведомлений (звук/вибрация/LED) */ #ifndef NOTIFICATION_H #define NOTIFICATION_H #include <Arduino.h> enum NotificationType { NOTIFY_INFO, NOTIFY_WARNING, NOTIFY_ERROR, NOTIFY_PHASE_CHANGE, NOTIFY_PROCESS_COMPLETE }; void initNotifications(); void playNotification(NotificationType type); void playMelody(const int* melody, int length); void beep(int frequency, int duration); void setNotificationsEnabled(bool enabled); #endif