22[ ![ Arduino CI] ( https://github.com/RobTillaart/TLC5947/workflows/Arduino%20CI/badge.svg )] ( https://github.com/marketplace/actions/arduino_ci )
33[ ![ Arduino-lint] ( https://github.com/RobTillaart/TLC5947/actions/workflows/arduino-lint.yml/badge.svg )] ( https://github.com/RobTillaart/TLC5947/actions/workflows/arduino-lint.yml )
44[ ![ JSON check] ( https://github.com/RobTillaart/TLC5947/actions/workflows/jsoncheck.yml/badge.svg )] ( https://github.com/RobTillaart/TLC5947/actions/workflows/jsoncheck.yml )
5+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/RobTillaart/TLC5947.svg )] ( https://github.com/RobTillaart/TLC5947/issues )
6+
57[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/TLC5947/blob/master/LICENSE )
68[ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/TLC5947.svg?maxAge=3600 )] ( https://github.com/RobTillaart/TLC5947/releases )
9+ [ ![ PlatformIO Registry] ( https://badges.registry.platformio.org/packages/robtillaart/library/TLC5947.svg )] ( https://registry.platformio.org/libraries/robtillaart/TLC5947 )
710
811
912# TLC5947
@@ -34,7 +37,7 @@ The data can be shared (to be tested) as data won't be clocked in if
3437the ** clock** line is not shared.
3538
3639
37- #### Links
40+ #### Related
3841
3942- https://www.adafruit.com/product/1429
4043- https://github.com/RobTillaart/TLC5947
@@ -54,8 +57,8 @@ Defines the pins used for uploading / writing the PWM data to the module.
5457The blank pin is explained in more detail below.
5558- ** ~ TLC5947()** destructor
5659- ** bool begin()** set the pinModes of the pins and their initial values.
57- - ** bool setPWM(uint8_t channel, uint16_t PWM)** . set a PWM value to the buffer to
58- be written later.
60+ - ** bool setPWM(uint8_t channel, uint16_t PWM)** . set a PWM value to
61+ the buffer to be written later.
5962channel = 0..23, PWM = 0..4095
6063Returns true if successful.
6164- ** void setAll(uint16_t PWM)** set the same PWM value for all channels to the buffer, and writes them to device.
@@ -118,9 +121,10 @@ Measured with **TLC5947_performance.ino**.
118121- buy hardware
119122 - test test test
120123
121-
122124#### Should
123125
126+ - ** setPWM()** should return set value or error
127+ - revisit all functions..
124128- add examples
125129 - extend performance sketch
126130- test if partial write (e.g. first N channels) works.
@@ -129,19 +133,25 @@ Measured with **TLC5947_performance.ino**.
129133 - set by ** setPWM()** if value changes.
130134 - would speed up unneeded ** write()** too.
131135
132-
133136#### Could
134137
135138- add unit-tests
136- - add ** void setPercentage(float perc)** and ** float getPercentage()** wrappers.
137139- investigate how to reduce memory usage (now 48 bytes)
138- - could be 36 (12 bits / channel) or even 24 (8 bits/channel)
139- - derived class?
140+ - could be 36 (12 bits / channel)
141+ - or even 24 (8 bits/channel) = derived class?
140142- add ** setRGB(LED, R, G, B)** wrapper (channel 0..7)
141143 24 channels == 3 x 8 RGB LEDs
142144- return value for ** setPWM()** ?
143145
146+ #### Wont
147+
148+
149+ ## Support
150+
151+ If you appreciate my libraries, you can support the development and maintenance.
152+ Improve the quality of the libraries by providing issues and Pull Requests, or
153+ donate through PayPal or GitHub sponsors.
144154
145- #### Won't
155+ Thank you,
146156
147157
0 commit comments