From cda3a9feb17fba211024e25b7c72112c3049d088 Mon Sep 17 00:00:00 2001 From: not-matt <32398028+not-matt@users.noreply.github.com> Date: Mon, 18 Dec 2017 20:45:33 +0000 Subject: [PATCH] Delete ws2812_i2s.cpp --- ws2812_i2s.cpp | 169 ------------------------------------------------- 1 file changed, 169 deletions(-) delete mode 100644 ws2812_i2s.cpp diff --git a/ws2812_i2s.cpp b/ws2812_i2s.cpp deleted file mode 100644 index c0658e7..0000000 --- a/ws2812_i2s.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// ws2812_lib.cpp -// -// main library file / contains class implementation -// -// Need to give credits to Charles Lohr (https://github.com/cnlohr due -// to his work on his software for driving ws2812 led-strips using -// the i2s interface of the ESP8266. -// -// This inspired me to create an ESP8266 library for the Arduino IDE -// I've added temporal dithering & gamma-correction -// for a 'more natural' light intensity profile. -// -// No pin-definitions/mapings are required/possible as the library used the I2S -// output-pin. This pin in it's turn is shared with GPIO3 & RXD0 -// - -#include -#include -#include "ws2812_i2s.h" -#include "ws2812_defs.h" -#include "ws2812_gamma.h" - -// include C-style header -extern "C" -{ -#include "ws2812_dma.h" -}; - -// class constructor -WS2812::WS2812(void) -{ - // empty for now -} - -// class de-constructor -WS2812::~WS2812(void) -{ - // empty for now - // TODO : should implement switching of DMA -} - -// Init led-string / memory buffers etc. -void WS2812::init(uint16_t _num_leds) -{ - uint8_t i; - uint16_t j; - - num_leds = _num_leds; - - // clear zero buffer - for(j=0; j>4) & 0x0f ]; - } - } - -} - -// end of file