All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JavaScript

Flipper Zero's built-in JavaScript engine enables you to run lightweight scripts, similar to full-fledged C/C++ apps. Scripts can be shared, copied to a microSD card, and launched directly from the Flipper Zero menu — no precompilation needed.

Get started with JavaScript

JavaScript modules

  • BadUSB module — This module allows you to emulate a standard USB keyboard
  • Serial module — The module for interaction with external devices via UART
  • Math module — This module contains mathematical methods and constants
  • Notification module — This module allows you to use LED, speaker and vibro for notifications
  • Event Loop module — The module for easy event-based developing
  • GPIO module — This module allows you to control GPIO pins
  • GUI module — This module allows you to use GUI (graphical user interface)

Examples

Other resources

  • Data types — A list of data types you can use in your JS scripts
  • Built-in methods — A list of functions you can use without including any JS modules