Files
led-controller/test/env_check.py
T
jimmyandClaude Opus 5.5 1c222771a5 refactor: move the v2 controller to the repository root
The ESP-IDF project, docs, tools, tests and web UI move from v2/ to the
root, and the Makefile, README, build scripts and test runner drop the
v2/ prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 23:44:58 +13:00

7 lines
418 B
Python

from binary_envelope import pack_binary_envelope_v2
p = {"p":"chase","c":["#ff0000","#0f8"],"d":120,"b":200,"a":False,"n1":5,"n2":-3,"n3":0,"n4":7,"n5":0,"n6":300}
p2 = {"pattern":"on","colors":["#102030"],"delay":0,"brightness":0,"auto":True}
a = pack_binary_envelope_v2(presets={"7":p,"8":p2}, brightness_0_255=128).hex()
b = pack_binary_envelope_v2(select={"mirror":["7"],"roof":["8",12]}).hex()
print(a); print(b)