Gergely Nagy
bfddd0a13c
Relicense under GPLv3 (only), and add headers.
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
6 years ago
Gergely Nagy
8a77cdaaff
astyle
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
95789d3777
Add getters for brightness and update_delay
...
Makes it easier to implement #8 as a macro.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
4dbb601cdb
Merge pull request #7 from ninjaaron/master
...
Sorry! there was a spelling error in the code in the last PR that kept it from compiling!
7 years ago
Aaron Christianson
0623ee709c
Merge branch 'master' of https://github.com/ninjaaron/Kaleidoscope-LEDEffect-Rainbow
7 years ago
Aaron Christianson
7ad05d2d93
fixed a show-stopping spelling error. updat_delay -> update_delay
7 years ago
Gergely Nagy
ce474a98a9
Minor README update
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Aaron Christianson
4cd9e03645
forgot to update the README example to the proper method name in the previous commit. fixed.
7 years ago
Gergely Nagy
bd4e7677e7
Merge pull request #6 from ninjaaron/master
...
added methods to control delay time and updated the README
7 years ago
Aaron Christianson
a1fadd9f75
added changes suggested in the PR discussion.
7 years ago
Aaron Christianson
834d75fc7d
added methods to control delay time and updated the README
7 years ago
Aaron Christianson
e6f7aef63b
added methods to control delay time and updated the README
7 years ago
Gergely Nagy
48927e5ccf
Merge pull request #4 from keyboardio/h/timer-based-update
...
Use timers instead of ticks to time when to update the effects
7 years ago
Gergely Nagy
f2384054c0
Merge pull request #5 from keyboardio/f/plugin-v2
...
Updated the README to use the new plugin APIs
7 years ago
Gergely Nagy
8e2721a1b0
Updated the README to use the new plugin APIs
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Gergely Nagy
73d9997b54
Use timers instead of ticks to time when to update the effects
...
Ticks depend on the speed of the main loop, and as such, are not a reliable way
to time animations. For this reason, use proper timers instead.
The update delay is set to 40ms, which appears to be a slow, relaxing animation,
and should be roughly in the ballpark the tick-based timing was, before speeding
up the main loop considerably.
Fixes #3 .
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
77a3f9a611
Update Makefile with OSX fixes and new paths
7 years ago
Gergely Nagy
be10584f52
Merge pull request #1 from keyboardio/f/led-api-update
...
Updated to use the new LEDMode/LEDControl API
7 years ago
Gergely Nagy
25cb263e6a
Updated to use the new LEDMode/LEDControl API
...
Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>
7 years ago
Jesse Vincent
43b768cabb
Update Makefile to fix OS X build
7 years ago
Jesse Vincent
2e428d8ccc
CamelCaseifcation of LED related functions
...
s/led_set_crgb_at/setCrgbAt/
s/hsv_to_rgb/hsvToRgb/
s/led_get_crgb_at/getCrgbAt/
s/led_sync/syncLeds/
s/get_led_index/getLedIndex/
s/send_led_data/sendLedData/
s/led_power_fault/ledPowerFault/
7 years ago
Gergely Nagy
0af034bde9
README.md: Add a bit of documentation
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
a78a89ed8b
library.properties: Fill out paragraph= too
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
953b58702c
cpplint-noisy cleanup
8 years ago
Jesse Vincent
85b96e0e85
destaticify
8 years ago
Jesse Vincent
d1fc67e45d
deconstify things we think we might want to let users configure
8 years ago
Jesse Vincent
0dabbc6f95
typo
8 years ago
Jesse Vincent
41ddb76fa8
indent error
8 years ago
Jesse Vincent
ae8407016b
wrong var name
8 years ago
Jesse Vincent
ea90ca09b0
Add a brightness API for the rainbow effects
8 years ago
Gergely Nagy
c564d298c7
Make the linter happy
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Jesse Vincent
d790a01bb2
astyle to pad operators
8 years ago
Jesse Vincent
194d038532
Add build infrastructure
8 years ago
Jesse Vincent
b32d2737b8
astyle with current project style guidelines
8 years ago
Gergely Nagy
69a8a8830f
Mark the classes descendants of public LEDMode
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
dd734adb1c
The Big Rename
...
Renamed the library to Kaleidoscope-LEDEffect-Rainbow, and followed up with
other renames.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago
Gergely Nagy
86eaa90abd
Lifted out from Keyboardio-LEDControl
...
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
8 years ago