Hd108 bare minimal for me (#838)

This commit is contained in:
Markus Kovero authored and GitHub committed 2024-09-10 13:08:05 -07:00
1 parent f3df677c8a
commit 3deb46d0ae
4 files changed
+100 -2

No files matched your search

+8 -1
View File
@@ -73,4 +73,11 @@ class DotStarLbgr64Feature :
{
};
typedef DotStarLbgr64Feature Hd108LbgrFeature;
class DotStarLrgb64Feature :
public DotStarL4WordFeature<ColorIndexR, ColorIndexG, ColorIndexB>,
public NeoElementsNoSettings
{
};
typedef DotStarLbgr64Feature Hd108LbgrFeature;
typedef DotStarLrgb64Feature Hd108LrgbFeature;
@@ -74,4 +74,11 @@ class DotStarBgr48Feature :
{
};
class DotStarRgb48Feature :
public DotStarX4WordFeature<ColorIndexR, ColorIndexG, ColorIndexB>,
public NeoElementsNoSettings
{
};
typedef DotStarBgr48Feature Hd108BgrFeature;
typedef DotStarRgb48Feature Hd108RgbFeature;
+1 -1
View File
@@ -78,7 +78,7 @@ public:
void Update(bool)
{
const uint8_t startFrame[4] = { 0x00 };
const uint8_t startFrame[16] = { 0x00 };
const uint8_t endFrame[4] = { 0xff };
_wire.beginTransaction();