/
DriveVision
/
Smart-Column-S3
Обзор
Документация
Войти
/
DriveVision
/
Smart-Column-S3
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/notification.h
25 строк
530 B
Claude
Import Smart-Column S3 implementation from rectification-controller
06 дек 2025, 10:00
06 дек 2025, 10:00
54e4312
Код
Авторство
О чём код?
/** * @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