Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ws2812B.hpp
- Revision:
- 1:2d0f84d78ca2
- Parent:
- 0:160ed7a225a4
- Child:
- 2:2d4f2cc38f87
diff -r 160ed7a225a4 -r 2d0f84d78ca2 ws2812B.hpp
--- a/ws2812B.hpp Sat Sep 24 05:52:29 2016 +0000
+++ b/ws2812B.hpp Sat Sep 24 06:24:10 2016 +0000
@@ -31,13 +31,6 @@
private:
SPI_TypeDef *mySpi_;
- struct spi123{PinName pin; SPI_TypeDef *spi; };
-#ifdef STM32F401xE
- static const spi123 f401[];
-#else
- static const spi123 f446[];
-#endif // STM32F401xE
-
void (WS2812B::*fp)(uint8_t);
void SendByte(uint8_t x) { (this->*fp)(x); }
void Send3Bytes(uint8_t x0, uint8_t x1, uint8_t x2);