DALE logoDALE

EXPERIMENT 08 • LOGIC PROJECT

👾 Pac-Gobble

Logic Event → MAX7219 Animation

Build on what you already know and add one more DALE idea to the project.

Intermediate~20 minutes

What You'll Build

A Logic Builder event that launches DALE's Pac-Gobble animation on a MAX7219 8×8 LED matrix. This experiment connects logic, animation frames and standalone code generation.

What You'll Need

  • DALE with ESP32-S3
  • MAX7219 8×8 LED matrix
  • Jumper wires
MAX7219 8×8 LED matrix module
MAX7219 8×8 LED matrix module

What You'll Learn

  • How multiple frames create the illusion of motion.
  • How DALE's Animation Studio and Logic Builder work together.
  • How a Boolean event can trigger an animation.
  • How animation data becomes standalone Arduino code.

Wire It

Configure the MAX7219 module in DALE and connect it using the pins assigned by your DALE setup.

MAX7219 VCC/GND → configured power
MAX7219 DIN / CLK / CS → DALE configured GPIOs

Verify the module in the Matrix Lab before moving to Animation Studio.

Create the Animation

1. Open Animation Studio

Load the Pac-Gobble example.

2. Run it

Watch the frames on the real MAX7219 display. The image changes frame by frame quickly enough that your eye sees movement.

3. Use it in Logic Builder

Send the animation to Logic Builder using DALE's USE IN LOGIC BUILDER workflow.

The animation is data. Pac-Gobble is not a special hard-coded mode—the frames can be edited just like your own animations.

Build It in Logic Builder

Add a Boolean event source such as a Virtual Button or physical Digital Input, then add the MAX7219 ANIMATION block containing Pac-Gobble. Connect the event to the animation trigger.

Trigger the event and watch Pac-Gobble run on the physical matrix.

What Just Happened?

Each frame is a pattern of LEDs. DALE advances through those patterns over time, producing apparent motion. Logic Builder determines when the animation should run; Animation Studio determines what the frames look like.

BUILD IT VISUALLY. SEE THE REAL CODE.

Show Me The Code

Generate the standalone sketch and find the animation frame data and the logic that advances the frames. This is a great example of DALE turning something visual and playful into ordinary Arduino code you can inspect and modify.

Try This Next

Edit one Pac-Gobble frame in Animation Studio—or create a completely new animation—and run the same Logic Builder project again. The trigger logic can stay the same while the displayed behavior changes.