Effect "Heartbeat" (#680)

This commit is contained in:
Def3nder
2020-02-17 11:01:05 +01:00
committed by GitHub
parent 61f3002568
commit 5befcd24b5
3 changed files with 54 additions and 1 deletions

View File

@@ -287,6 +287,15 @@ public:
return 0;
}
uint8_t* GetPixels(void)
{
switch (_type) {
case NeoPixelType_Grb: return _pGrb->Pixels(); break;
case NeoPixelType_Grbw: return _pGrbw->Pixels(); break;
}
return 0;
}
private:
NeoPixelType _type;