M5Unit-RGB 0.1.0 git rev:b7fdb9a
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:
36 virtual bool begin() override;
37};
38
39} // namespace unit
40} // namespace m5
41#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.