Skip to contentSkip to Content
Commands libraryLED commands

Mantis LED Commands (LED_ON & LED_OFF)

The LED_ON and LED_OFF commands control the physical status LED located directly on the Mantis hardware board.

Because the firmware imposes no hardcoded LED behavior during payload execution, you can script custom blink sequences to signal payload readiness, execution progress, or completion.


Syntax & Examples

hello.mantis
1REM Blink LED 3 times to indicate payload start
2LED_ON
3DELAY 200
4LED_OFF
5DELAY 200
6
7LED_ON
8DELAY 200
9LED_OFF
10DELAY 200
11
12LED_ON
13DELAY 200
14LED_OFF

  • DELAY — Pause script execution.
  • LOOP — Repeat LED blink patterns.
Last updated on