Commit Graph
16 Commits
Author SHA1 Message Date
fabian 8e2d2225cb Better metrics. 2020-04-29 20:24:59 +02:00
fabian 66c0124072 Removed old include. 2019-10-23 12:43:59 +02:00
fabian 2b7033b685 cycle effect now tracks the heap leakage of the running effects. Cause somewhere's a memory leak leading to restarts of the ESP every about 2 days... 2019-10-04 12:03:03 +02:00
fabian 083564caef Reorganized effect selection stuff: No longer a big case clause comparing CRC32. Instead an array of structs. Much nicer. Also, other code can now see which effects there are. 2019-10-02 06:16:07 +02:00
fabian 3f6d4cb0be Moved settings from preprocessor directives to variables. Also added a way to (for now only) display them via HTTP server. 2019-10-02 06:13:55 +02:00
fabian 382631d7d7 Effect#loop now gets the time since the last run of the loop in ms. This enables
the effects to show animations that stay fluid independent of the current frame rate.
2019-10-01 06:29:32 +02:00
fabian b0c1bcaa65 More logging for effect changes in cycle effect. 2019-09-25 18:13:39 +02:00
fabian 36edb94ff0 Metrics now include the current effect's name. 2019-09-25 18:11:03 +02:00
fabian 26df11fc47 Added tests. Start them by sending a message to MQTT_TOPIC/run_tests. First test will test all effects for memory leaks. 2019-06-19 22:26:38 +02:00
fabian 0941ad8349 Effects are now constructed when needed instead of having global objects of every effect flying around. 2019-06-18 18:14:59 +02:00
fabian c5856a6f7a Whitespace stuff. Tabs rule!
continuous-integration/drone/push Build is failing
2019-06-07 06:24:16 +02:00
fabian f7230b54a2 CycleEffect can now be configured to show the effects sequentially or randomly. 2019-06-05 06:28:21 +02:00
fabian 94687bab36 CycleEffect now uses the ID of an effect within cycle_effects to prevent repeating an effect instead of comparing the objects. 2019-06-04 05:56:33 +02:00
fabian 7fdc28fe48 Logging effect ID in CycleEffect. 2019-06-03 06:43:02 +02:00
fabian a7d956209a Added Effect::start() and Effect::stop() to allow effects to reserve memory on start and free it afterwards. 2019-05-31 05:46:17 +02:00
fabian 2f58fd14d0 Splitting the code into single files is done. \o/ 2019-05-30 00:49:54 +02:00