Spi dynamic speed (#432)

This commit is contained in:
Michael Miller authored and GitHub committed 2021-02-16 10:23:02 -08:00
1 parent b76a42bb5a
commit 816de24962
19 files changed
+174 -1

No files matched your search

+6
View File
@@ -35,6 +35,8 @@ License along with NeoPixel. If not, see
template<typename T_SPEED> class NeoArmMethodBase
{
public:
typedef NeoNoSettings SettingsObject;
NeoArmMethodBase(uint8_t pin, uint16_t pixelCount, size_t elementSize, size_t settingsSize) :
_sizeData(pixelCount * elementSize + settingsSize),
_pin(pin)
@@ -99,6 +101,10 @@ public:
return _sizeData;
};
void applySettings(const SettingsObject& settings)
{
}
private:
const size_t _sizeData; // Size of '_data' buffer below