Skip to content

Commit e42b21f

Browse files
committed
Sandbox doc update
1 parent bf0d0ef commit e42b21f

File tree

6 files changed

+12710
-12707
lines changed

6 files changed

+12710
-12707
lines changed

lib/framework/WWWData.h

Lines changed: 12687 additions & 12688 deletions
Large diffs are not rendered by default.

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ build_flags =
5656
-D BUILD_TARGET=\"$PIOENV\"
5757
-D APP_NAME=\"MoonLight\" ; 🌙 Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
5858
-D APP_VERSION=\"0.6.0\" ; semver compatible version string
59-
-D APP_DATE=\"2025102210\" ; 🌙
59+
-D APP_DATE=\"2025102412\" ; 🌙
6060

6161
-D PLATFORM_VERSION=\"pioarduino-55.03.32\" ; 🌙 make sure it matches with above plaftform
6262

src/MoonLight/Nodes/Drivers/D__Sandbox.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212

1313
#if FT_MOONLIGHT
1414

15-
// example template, do not remove
16-
// add effects in ModuleDrivers::addNodes()
17-
class NewDriver: public Node {
15+
// example template, do not remove!
16+
// add this class in /src/MoonLight/ModuleDrivers::addNodes()
17+
// add documentation in /docs/moonlight/drivers.md
18+
class ExampleDriver: public Node {
1819
public:
1920

20-
static const char * name() {return "New Driver";}
21+
static const char * name() {return "Example Driver";}
2122
static uint8_t dim() {return _NoD;} // Dimensions not relevant for drivers?
2223
static const char * tags() {return "☸️⏳";} // use emojis see https://moonmodules.org/MoonLight/moonlight/overview/#emoji-coding, ☸️ for drivers
2324

@@ -46,7 +47,7 @@ class NewDriver: public Node {
4647
sharedData; // write value to shared data if needed, add sharedData if needed, use in other nodes (e.g. effects)
4748
};
4849

49-
~NewDriver() override {}; // e.g. to free allocated memory
50+
~ExampleDriver() override {}; // e.g. to free allocated memory
5051
};
5152

5253

src/MoonLight/Nodes/Effects/E__Sandbox.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414

1515
// #include "../Nodes.h"
1616

17-
// example template, do not remove
18-
// add effects in ModuleEffects::addNodes()
19-
class NewEffect: public Node {
17+
// example template, do not remove!
18+
// add this class in /src/MoonLight/ModuleEffects::addNodes()
19+
// add documentation in /docs/moonlight/effects.md
20+
class ExampleEffect: public Node {
2021
public:
2122

22-
static const char * name() {return "New Effect";}
23+
static const char * name() {return "Example Effect";}
2324
static uint8_t dim() {return _3D;} // Dimensions supported _3D prefered, _2D or _1D can be used for first phase
2425
static const char * tags() {return "🔥🎨⏳";} // use emojis see https://moonmodules.org/MoonLight/moonlight/overview/#emoji-coding, 🔥 for effect, 🎨 if palette used (recommended)
2526

@@ -60,7 +61,7 @@ class NewEffect: public Node {
6061
}
6162
}
6263

63-
~NewEffect() override {}; //e,g, to free allocated memory
64+
~ExampleEffect() override {}; //e,g, to free allocated memory
6465
};
6566

6667
#endif

src/MoonLight/Nodes/Layouts/L__Sandbox.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212

1313
#if FT_MOONLIGHT
1414

15-
// example template, do not remove
16-
//a dd effects in ModuleDrivers::addNodes()
17-
class NewLayout: public Node {
15+
// example template, do not remove!
16+
// add this class in /src/MoonLight/ModuleDrivers::addNodes()
17+
// add documentation in /docs/moonlight/layouts.md
18+
class ExampleLayout: public Node {
1819
public:
1920

20-
static const char * name() {return "New Layout";}
21+
static const char * name() {return "Example Layout";}
2122
static uint8_t dim() {return _3D;} // dimensions supported
2223
static const char * tags() {return "🚥⏳";} // use emojis see https://moonmodules.org/MoonLight/moonlight/overview/#emoji-coding, 🚥 for layout
2324

src/MoonLight/Nodes/Modifiers/M__Sandbox.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212

1313
#if FT_MOONLIGHT
1414

15-
// example template, do not remove
16-
// add effects in ModuleEffects::addNodes()
17-
class NewModifier: public Node {
15+
// example template, do not remove!
16+
// add this class in /src/MoonLight/ModuleDrivers::addNodes()
17+
// add documentation in /docs/moonlight/modifiers.md
18+
class ExampleModifier: public Node {
1819
public:
1920

20-
static const char * name() {return "New Modifier";}
21+
static const char * name() {return "Example Modifier";}
2122
static uint8_t dim() {return _3D;} // for which effect dimension this modifier can be used, preferably 3D
2223
static const char * tags() {return "💎⏳";} // use emojis see https://moonmodules.org/MoonLight/moonlight/overview/#emoji-coding, 💎 for modifier
2324

0 commit comments

Comments
 (0)