mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-10-10 16:52:32 +02:00
- Add new doc on Storage module - Improve formatting in the JS section for better readability
567 B
567 B
Notification module
let notify = require("notification");
Methods
success()
"Success" flipper notification message.
Example
notify.success();
error()
"Error" flipper notification message.
Example
notify.error();
blink()
Blink notification LED.
Parameters
- Blink color (blue/red/green/yellow/cyan/magenta)
- Blink type (short/long)
Examples
notify.blink("red", "short"); // Short blink of red LED
notify.blink("green", "short"); // Long blink of green LED