M5Unit-RGB 0.0.2 git rev:51dfbe6
Loading...
Searching...
No Matches
unit_AtomMatrixRGB.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_ATOM_MATRIX_RGB_HPP
11#define M5_UNIT_RGB_UNIT_ATOM_MATRIX_RGB_HPP
12
13#include "unit_RectLED.hpp"
14
15namespace m5 {
16namespace unit {
17
24class UnitAtomMatrixRGB : public UnitRectLED<5, 5, UnitWS2812> {
25 M5_UNIT_COMPONENT_HPP_BUILDER(UnitAtomMatrixRGB, 0x00);
26
27public:
30 {
31 auto ccfg = component_config();
32 component_config(ccfg);
33 }
38 virtual bool begin() override;
39};
40
41} // namespace unit
42} // namespace m5
43#endif
UnitAtomMatrixRGB()
Constructor (5x5 = 25 LEDs)
Definition unit_AtomMatrixRGB.hpp:29
virtual bool begin() override
Begin the unit.
Definition unit_AtomMatrixRGB.cpp:29
Rectangular array LED unit.
Top level namespace of M5Stack.
Unit-related namespace.
Rectangular array LED unit.