flipperzero 0.16.0

Rust for Flipper Zero
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::{NotificationSequence, messages};
use crate::notification_sequence;

pub const RESET_VIBRO: NotificationSequence = notification_sequence![messages::VIBRO_OFF];
pub const VIBRO_ON: NotificationSequence = notification_sequence![messages::VIBRO_ON];

pub const SINGLE_VIBRO: NotificationSequence =
    notification_sequence![messages::VIBRO_ON, messages::DELAY_100, messages::VIBRO_OFF,];

pub const DOUBLE_VIBRO: NotificationSequence = notification_sequence![
    messages::VIBRO_ON,
    messages::DELAY_100,
    messages::VIBRO_OFF,
    messages::DELAY_100,
    messages::VIBRO_ON,
    messages::DELAY_100,
    messages::VIBRO_OFF,
];