-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StarMod Leds to StarMod Core (step 1 of 2)
app.js: - rename appName to Demo - comment userFun contents index.htm: remove Leds in title and header pio.ini - comment STARMOD_APPMOD_LEDS - comment STARMOD_USERMOD_WLEDAUDIO Add AddModDemo module Remove Led Modules main.cpp - comment STARMOD_APPMOD_LEDS - comment STARMOD_USERMOD_WLEDAUDIO - Add AddModDemo module remove ArtNet, DDP, WLEDAudio
- Loading branch information
1 parent
847b0b7
commit 9772a4c
Showing
19 changed files
with
1,707 additions
and
6,857 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,13 +40,13 @@ lib_deps = | |
|
||
|
||
|
||
[STARMOD_APPMOD_LEDS] | ||
build_flags = | ||
-D STARMOD_APPMOD_LEDS | ||
-D STARMOD_USERMOD_ARTNET | ||
-D STARMOD_USERMOD_DDP | ||
lib_deps = | ||
https://github.com/FastLED/[email protected] | ||
; [STARMOD_APPMOD_LEDS] | ||
; build_flags = | ||
; -D STARMOD_APPMOD_LEDS | ||
; -D STARMOD_USERMOD_ARTNET | ||
; -D STARMOD_USERMOD_DDP | ||
; lib_deps = | ||
; https://github.com/FastLED/[email protected] | ||
|
||
|
||
|
||
|
@@ -65,11 +65,11 @@ lib_deps = | |
|
||
|
||
|
||
[STARMOD_USERMOD_WLEDAUDIO] | ||
build_flags = | ||
-D STARMOD_USERMOD_WLEDAUDIO | ||
lib_deps = | ||
https://github.com/netmindz/WLED-sync#48cb28f11632b217f9ccd9f72149373919c28af5 ; sourceIP | ||
; [STARMOD_USERMOD_WLEDAUDIO] | ||
; build_flags = | ||
; -D STARMOD_USERMOD_WLEDAUDIO | ||
; lib_deps = | ||
; https://github.com/netmindz/WLED-sync#48cb28f11632b217f9ccd9f72149373919c28af5 ; sourceIP | ||
|
||
|
||
[Speed_Flags] | ||
|
@@ -97,16 +97,16 @@ build_flags = | |
${Speed_Flags.build_flags} | ||
-DCONFIG_ASYNC_TCP_USE_WDT=0 | ||
-DLFS_THREADSAFE ;; enables use of semaphores in LittleFS driver | ||
${STARMOD_APPMOD_LEDS.build_flags} | ||
; ${STARMOD_APPMOD_LEDS.build_flags} | ||
${STARMOD_USERMOD_E131.build_flags} | ||
; ${STARMOD_USERMOD_HA.build_flags} | ||
${STARMOD_USERMOD_WLEDAUDIO.build_flags} | ||
; ${STARMOD_USERMOD_WLEDAUDIO.build_flags} | ||
lib_deps = | ||
${starmod.lib_deps} | ||
${STARMOD_APPMOD_LEDS.lib_deps} | ||
; ${STARMOD_APPMOD_LEDS.lib_deps} | ||
${STARMOD_USERMOD_E131.lib_deps} | ||
; ${STARMOD_USERMOD_HA.lib_deps} | ||
${STARMOD_USERMOD_WLEDAUDIO.lib_deps} | ||
; ${STARMOD_USERMOD_WLEDAUDIO.lib_deps} | ||
|
||
|
||
[env:esp32dev] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
@title StarMod | ||
@file AppModDemo.h | ||
@date 20240114 | ||
@repo https://github.com/ewowi/StarMod | ||
@Authors https://github.com/ewowi/StarMod/commits/main | ||
@Copyright © 2024 Github StarMod Commit Authors | ||
@license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 | ||
@license For non GPL-v3 usage, commercial licenses must be purchased. Contact [email protected] | ||
*/ | ||
|
||
class AppModDemo: public SysModule { | ||
|
||
public: | ||
|
||
AppModDemo() :SysModule("AppMod Demo") { | ||
}; | ||
|
||
//setup filesystem | ||
void setup() { | ||
SysModule::setup(); | ||
|
||
parentVar = ui->initAppMod(parentVar, name, 1100); | ||
|
||
ui->initText(parentVar, "textField"); | ||
|
||
} | ||
|
||
void loop() { | ||
// SysModule::loop(); | ||
} | ||
|
||
void onOffChanged() { | ||
if (mdls->isConnected && isEnabled) { | ||
} else { | ||
} | ||
} | ||
|
||
}; | ||
|
||
extern AppModDemo *appModDemo; |
Oops, something went wrong.