Skip to contentSkip to Content

LEDs

Mantis has a single onboard status LED, and it’s fully under your script’s control rather than tied to a fixed meaning:

  • LED_ON / LED_OFF — turn the LED solidly on or off from your script.
  • Custom blink patterns — combine LED_ON, LED_OFF and DELAY instructions to build your own pattern, for example to prompt for input or signal that a script is about to finish.
blink.mantis
1LED_ON
2DELAY 300
3LED_OFF
4DELAY 300

If you’d rather your script run silently, just leave the LED off — Mantis doesn’t force any indicator behavior on you.

See LED commands in the language reference for the full syntax.

Last updated on