❓ Whats CASE 15 Advanced Controls?

⚙️ CASE 15 Overview

  • Triggered when B1–B4 = 1111 (🔴🔴🔴🔴)
  • The frame must include at least 5 bytes total
  • Bytes 1–4: Fixed structure (bank, timing, brightness, etc.)
  • Byte 5 (L command byte): Determines the specific CASE 15 behavior
  • Additional bytes may be used depending on the command

🧠 What makes it different?

  • CASE 15 uses additional bytes in the frame to define dynamic behavior
  • It’s essentially a mini-program embedded in your animation
  • This enables advanced logic such as:
    • Looping a range of frames (mini-loops)
    • Switching memory slots mid-sequence
    • Overriding brightness, speed, and fade temporarily
    • Triggering timed or reactive lighting effects

⚠️ Important Notes:

  • CASE 15 is powerful but risky if misused
  • If the data bytes are missing, invalid, or misaligned, you may experience:
  • – Skipped frames
  • – Frozen LEDs
  • – Unstable or broken playback
  • No app safeguards are currently in place, so test carefully

📘 CASE 15 Command Table

Command Name Bits What It Does
MiniLoop Start L17–L24 Defines the start frame for a mini-loop. Must be ≥2 and less than total frames.
MiniLoop Count L25–L32 How many times to repeat the mini-loop. Range: 1–255
Memory Slot L13–L16 Switches to a new memory bank or sequence slot (1–15)
Set Brightness L1–L4 Temporarily overrides brightness level. Range: 1–15
Set Speed L5–L8 Temporarily overrides playback speed. Range: 1–15
Fade In L9–L10 Sets fade-in style: 0 = instant, 3 = very slow
Fade Out L11–L12 Sets fade-out style: 0 = instant, 3 = very slow

🧩 Example:

You might use CASE 15 to loop frames 2–6 three times, or to temporarily dim all LEDs during a strobe effect.

Category: Command Bits

Tagged in :

Leave a Reply

More Articles & Posts

error: ⚠️