M5Unit-RGB 0.0.2 git rev:51dfbe6
Loading...
Searching...
No Matches
unit_Puzzle.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
10#ifndef M5_UNIT_RGB_UNIT_PUZZLE_HPP
11#define M5_UNIT_RGB_UNIT_PUZZLE_HPP
12
13#include "unit_RectLED.hpp"
14
15namespace m5 {
16namespace unit {
17
22class UnitPuzzle : public UnitRectLED<8, 8, UnitWS2812> {
23 M5_UNIT_COMPONENT_HPP_BUILDER(UnitPuzzle, 0x00);
24
25public:
28 {
29 auto ccfg = component_config();
30 ccfg.max_children = 1; // Can connect 1 Unit
31 component_config(ccfg);
32 }
33};
34
35} // namespace unit
36} // namespace m5
37#endif
UnitPuzzle()
Constructor (8x8 = 64 LEDs)
Definition unit_Puzzle.hpp:27
Rectangular array LED unit.
Top level namespace of M5Stack.
Unit-related namespace.
Rectangular array LED unit.