Logo

⚙️ Utility Commands

LED Control Commands

Description: Sets RGB LED to a specific color.

Syntax:

ledColor <r> <g> <b>

Parameters:

  • r: Red value (0-255)
  • g: Green value (0-255)
  • b: Blue value (0-255)

Example:

ledColor 255 0 0     # Red
ledColor 0 255 100   # Teal

Device & System Control

Description: Securely destroys data and disables the device.

Syntax:

selfDestruct

Example:

selfDestruct

Monitoring & Automation

Description: Monitors for WiFi network availability.

Syntax:

watchdog <ssid> <maxRetries> <retryDelayMs> <executionDelayMs>

Example:

watchdog "MyWiFi" 5 1000 5000

Timing Controls

Description: Pauses execution (milliseconds).

Syntax:

delay <ms>

Example:

delay 1000  # 1 second pause

On this page