Color pixels library using WS2812B and nRF51822
Dependents: BLE_Color_Pixels Grove_Node BLE_HeartRate
Color pixels library using WS2812B and nRF51822 (16Hz)
It's for
- http://www.seeedstudio.com/depot/Digital-RGB-LED-FlexiStrip-60-LED-1-Meter-p-1666.html
- http://www.seeedstudio.com/depot/WS2812B-Digital-RGB-LED-Waterproof-FlexiStrip-144-LEDmeter-2-meter-p-1869.html
- http://www.seeedstudio.com/depot/WS2812B-RGB-LED-with-Integrated-Driver-Chip-10-PCs-pack-p-1675.html
Diff: color_pixels.cpp
- Revision:
- 4:16ef874fa57f
- Parent:
- 3:91af7b451005
--- a/color_pixels.cpp Thu Nov 06 02:19:42 2014 +0000 +++ b/color_pixels.cpp Tue May 05 05:37:20 2015 +0000 @@ -28,7 +28,8 @@ */ #include "color_pixels.h" -#include "nrf51822.h" +#include "nrf51.h" +#include "nrf51_bitfields.h" #if !defined ( __GNUC__ ) // Generate a high level pulse (0.81us) of WS2812B's 1 code (0.9us +- 0.15us)