Rename usermod_fastled to usermod_animartrix and add in _m

This commit is contained in:
Ewoud
2023-05-13 22:33:03 +02:00
parent 477aae95fd
commit 7e7d1065e9
10 changed files with 2440 additions and 2432 deletions

View File

@@ -4,7 +4,7 @@ In this usermod file you can find the documentation on how to take advantage of
## Installation
Copy `usermod_v2_fastled.h` to the wled00 directory.
Copy `usermod_v2_animartrix.h` to the wled00 directory.
Uncomment the corresponding lines in `usermods_list.cpp` and compile!
_(You shouldn't need to actually install this, it does nothing useful)_

View File

@@ -615,11 +615,11 @@ uint16_t mode_CircularBlobs(void) {
static const char _data_FX_mode_CircularBlobs[] PROGMEM = "💡CircularBlobs ☾@AngleDist,AngleMult;;!;2;sx=51,ix=51,c1=0,c2=0,c3=0";
class FastledUsermod : public Usermod {
class AnimartrixUsermod : public Usermod {
public:
FastledUsermod(const char *name, bool enabled):Usermod(name, enabled) {} //WLEDMM
AnimartrixUsermod(const char *name, bool enabled):Usermod(name, enabled) {} //WLEDMM
void setup() {
strip.addEffect(255, &mode_PolarBasics, _data_FX_mode_PolarBasics);
@@ -640,7 +640,7 @@ class FastledUsermod : public Usermod {
uint16_t getId()
{
return USERMOD_ID_FASTLED;
return USERMOD_ID_ANIMARTRIX;
}
};