The ZeDMD communication library.
https://ppuc.github.io/libzedmd/docs/html/class_ze_d_m_d.html
Requires MSYS2 for building external dependencies:
pacman -S --noconfirm make diffutils \
mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libwinpthread \
mingw-w64-ucrt-x86_64-cmakeplatforms/win/x64/external.sh
cmake -G "Visual Studio 18 2026" -DPLATFORM=win -DARCH=x64 -B build
cmake --build build --config ReleaseRequires MSYS2 for building external dependencies:
pacman -S --noconfirm make diffutils \
mingw-w64-i686-gcc mingw-w64-i686-libwinpthread \
mingw-w64-i686-cmakeplatforms/win/x86/external.sh
cmake -G "Visual Studio 18 2026" -A Win32 -DPLATFORM=win -DARCH=x86 -B build
cmake --build build --config ReleaseRequires MSYS2 with UCRT64 environment. Install dependencies:
pacman -S --noconfirm \
make diffutils autoconf automake libtool \
mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libwinpthread \
mingw-w64-ucrt-x86_64-cmakeBuild (entire build runs inside the MSYS2 UCRT64 shell):
MSYSTEM=UCRT64 /c/msys64/usr/bin/bash.exe -l -c "
cd \"$(pwd)\" &&
platforms/win-mingw/x64/external.sh &&
cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM=win-mingw -DARCH=x64 -B build &&
cmake --build build -- -j\$(nproc)
"platforms/linux/x64/external.sh
cmake -DPLATFORM=linux -DARCH=x64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/linux/aarch64/external.sh
cmake -DPLATFORM=linux -DARCH=aarch64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/macos/arm64/external.sh
cmake -DPLATFORM=macos -DARCH=arm64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/macos/x64/external.sh
cmake -DPLATFORM=macos -DARCH=x64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/ios/arm64/external.sh
cmake -DPLATFORM=ios -DARCH=arm64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/ios-simulator/arm64/external.sh
cmake -DPLATFORM=ios-simulator -DARCH=arm64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/tvos/arm64/external.sh
cmake -DPLATFORM=tvos -DARCH=arm64 -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildplatforms/android/arm64-v8a/external.sh
cmake -DPLATFORM=android -DARCH=arm64-v8a -DCMAKE_BUILD_TYPE=Release -B build
cmake --build buildSPI uses a fixed 192-byte versioned effect trailer after every RGB565 frame,
in the same transfer. Update host and RP2350 firmware together and set
spidev.bufsiz=65536. The frame/effects render overloads queue a complete pair;
ordinary render calls send an empty trailer. SetLightEffect,
ResetLightEffect and SendLightEffects send their changes with the last
frame again, so they never wait for the picture to change. At most one pair
waits: a newer one replaces its picture and merges the light changes, as
ZeDMDLightPacket::Merge() describes. IsSpi() reports the selected
transport; no separate light connection is opened. See tests/README.md for
the tests.