|
SBK_BarDrive Library 2.1.0
LED bar meter control and queued animations for Arduino
|
High-level controller for animated bar meters and LED displays compatible with external SBK_MAX72xx or SBK_HT16K33 drivers. More...
Go to the source code of this file.
Data Structures | |
| class | SBK_BarMeter< DriverT > |
| Template class for controlling segment-based LED bar meters using row/column mappings. More... | |
| class | SBK_BarDrive< DriverT > |
| Unified interface combining SBK_BarMeter logic with optional built-in animation support. More... | |
Enumerations | |
| enum class | MatrixPreset { NONE , SBK_BarMeter_SK28 , SBK_BarMeter_SA28 , BL28_3005SK , BL28_3005SA } |
| Enables built-in animation support for SBK_BarDrive. More... | |
| enum class | BarDirection : uint8_t { FORWARD = 0 , REVERSE = 1 } |
| Direction of bar fill or animation progression. More... | |
High-level controller for animated bar meters and LED displays compatible with external SBK_MAX72xx or SBK_HT16K33 drivers.
Part of the SBK BarDrive Arduino Library https://github.com/smartbuilds/SBK_BarDrive
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Definition in file SBK_BarDrive.h.
|
strong |
Direction of bar fill or animation progression.
Used to control the rendering orientation of bar animations and pixel updates.
| Enumerator | |
|---|---|
| FORWARD | From first segment to last. |
| REVERSE | From last segment to first. |
Definition at line 102 of file SBK_BarDrive.h.
|
strong |
Enables built-in animation support for SBK_BarDrive.
Define this macro before including SBK_BarDrive.h to activate the SBK_BarMeterAnimations system. Without this definition, animation methods like .animations() will not be available, reducing flash and RAM usage for minimal builds.
Preset types for common matrix-style bar meter hardware configurations.
Defines built-in mapping presets for SBK matrix-type bar meters. These presets simplify the initialization of the SBK_BarMeter class by providing predefined segment-to-row/column mappings, avoiding the need for manual setup.
Definition at line 85 of file SBK_BarDrive.h.