You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,7 @@ FastLEDHub allows you to manage all of your [FastLED]([FastLED](https://github.c
9
9
10
10
- Control multiple animations via an intuitive web interface
11
11
- Adjust brightness and animation speed globally
12
-
- Define color pickers to use as parameters for your animations
13
-
- Define custom numeric sliders to parameterize your animations
12
+
- Add widgets like color pickers or sliders to control complex animations
14
13
- Alarm: Be woken up to an animation slowly fading in
15
14
- Sunset: Automatically fade in an animation when the sun sets at your location
16
15
- Control animations and brightness using hardware inputs
@@ -132,7 +131,7 @@ Keep in mind the following important differences to just using FastLED:
132
131
- Within your animation use `FastLEDHub[0].size()` instead of `NUM_LEDS` to get the number of leds. If you are using multiple lightstrips change the index accordingly.
133
132
- Every time you may want to use `FastLED` use `FastLEDHub` instead. Since `FastLEDHub` inherits from `FastLED` all member functions will be available just like before. FastLEDHub just adds some stuff on top of that.
134
133
135
-
If you want to convert an existing FastLED sketch (e.g. from [atuline/FastLED-Demos](https://github.com/atuline/FastLED-Demos)), so it can be handled by FastLEDHub, generally those are the necessary changes you have to perform.
134
+
If you want to convert an existing FastLED sketch (e.g. from [atuline/FastLED-Demos](https://github.com/atuline/FastLED-Demos)), so it can be handled by FastLEDHub, generally those are the necessary changes you have to perform. Have a look at the examples for further insights.
136
135
137
136
### Registering animations
138
137
@@ -223,10 +222,6 @@ Most functions can be triggered via HTTP requests:
223
222
- Trigger alarm: `http://<device-ip>/alarm`
224
223
- Reset ESP8266: `http://<device-ip>/reboot`
225
224
226
-
```cpp
227
-
FastLEDHub.initialize("Project Name", true);
228
-
```
229
-
230
225
## License & Attribution
231
226
232
227
FastLEDHub is licensed under LGPL-2.1 and uses the [sunrise-sunset.org](https://sunrise-sunset.org/api) api to retrieve sunset times.
0 commit comments