diff --git a/src/internal/DotStarGenericMethod.h b/src/internal/DotStarGenericMethod.h index ec2bef3..28c3bee 100644 --- a/src/internal/DotStarGenericMethod.h +++ b/src/internal/DotStarGenericMethod.h @@ -124,6 +124,7 @@ typedef DotStarMethodBase DotStarMethod; #if !defined(__AVR_ATtiny85__) && !defined(ARDUINO_attiny) #include "TwoWireSpiImple.h" +typedef DotStarMethodBase> DotStarSpi40MhzMethod; typedef DotStarMethodBase> DotStarSpi20MhzMethod; typedef DotStarMethodBase> DotStarSpi10MhzMethod; typedef DotStarMethodBase> DotStarSpi2MhzMethod; diff --git a/src/internal/TwoWireSpiImple.h b/src/internal/TwoWireSpiImple.h index bc4e37f..eeeb540 100644 --- a/src/internal/TwoWireSpiImple.h +++ b/src/internal/TwoWireSpiImple.h @@ -28,6 +28,12 @@ License along with NeoPixel. If not, see #include +class SpiSpeed40Mhz +{ +public: + static const uint32_t Clock = 40000000L; +}; + class SpiSpeed20Mhz { public: