Header for MeRGBLed.cpp module.
- Author
- MakeBlock
- Version
- V1.0.1
- Date
- 2017/06/23
- Copyright
- This software is Copyright (C), 2014-2018, MakeBlock. Use is subject to license
conditions. The main licensing options available are GPL V2 or Commercial:
- Open Source Licensing GPL V2
- This is the appropriate option if you want to share the source code of your
application with everyone you distribute it to, and you also want to give them
the right to share who uses it. If you wish to use this software under Open
Source Licensing, you must contribute all your source code to the open source
community in accordance with the GPL Version 2 when your application is
distributed. See http://www.gnu.org/copyleft/gpl.html
- Description
- This file is a drive for WS2811/2812 full-color LED lights, It supports W2812B full-color LED lights device provided by the MakeBlock.
- Method List:
- void MeRGBLed::reset(uint8_t port)
- void MeRGBLed::reset(uint8_t port,uint8_t slot)
- void MeRGBLed::setpin(uint8_t port)
- uint8_t MeRGBLed::getNumber()
- cRGB MeRGBLed::getColorAt(uint8_t index)
- void MeRGBLed::fillPixelsBak(uint8_t red, uint8_t green, uint8_t blue)
- bool MeRGBLed::setColorAt(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
- bool MeRGBLed::setColor(uint8_t index, uint8_t red, uint8_t green, uint8_t blue)
- bool MeRGBLed::setColor(uint8_t red, uint8_t green, uint8_t blue)
- bool MeRGBLed::setColor(uint8_t index, long value)
- void MeRGBLed::show()
- History:
`<Author>` `<Time>` `<Version>` `<Descr>`
Mark Yan 2015/09/01 1.0.0 Rebuild the old lib.
Mark Yan 2017/06/23 1.0.1 Add function fillPixelsBak.
DERIVED FROM light weight WS2812 lib V2.1 - Arduino support
Controls WS2811/WS2812/WS2812B RGB-LEDs Author: Tim (cpldc.nosp@m.pu@g.nosp@m.mail..nosp@m.com)
Jan 18th, 2014 v2.0b Initial Version March 7th, 2014 v2.1 Added option to retarget the port register during runtime Removes inlining to allow compiling with c++
License: GNU GPL v2 (see License.txt)