Added user modification file
This commit is contained in:
parent
9aebaa78fa
commit
1b0d735e50
@ -30,7 +30,7 @@
|
||||
#include "WS2812FX.h"
|
||||
|
||||
//version in format yymmddb (b = daily build)
|
||||
#define VERSION 1802231
|
||||
#define VERSION 1802251
|
||||
const String versionString = "0.5.0";
|
||||
|
||||
//AP and OTA default passwords (change them!)
|
||||
@ -322,6 +322,7 @@ void loop() {
|
||||
server.handleClient();
|
||||
handleNotifications();
|
||||
handleTransitions();
|
||||
userLoop();
|
||||
yield();
|
||||
handleButton();
|
||||
handleNetworkTime();
|
||||
|
@ -27,6 +27,7 @@ void wledInit()
|
||||
DEBUG_PRINT("CC: SSID: ");
|
||||
DEBUG_PRINT(clientssid);
|
||||
buildCssColorString();
|
||||
userBeginPreConnection();
|
||||
|
||||
WiFi.disconnect(); //close old connections
|
||||
|
||||
@ -289,6 +290,8 @@ void wledInit()
|
||||
ArduinoOTA.begin();
|
||||
}
|
||||
|
||||
userBegin();
|
||||
|
||||
// Initialize NeoPixel Strip
|
||||
strip.init();
|
||||
strip.setLedCount(ledcount);
|
||||
|
@ -1,6 +0,0 @@
|
||||
/*
|
||||
* foo
|
||||
*/
|
||||
|
||||
String readFromFS(String filename){return "N";};
|
||||
void writeToFS(String filename, String file) {};
|
20
wled00/wled06_usermod.ino
Normal file
20
wled00/wled06_usermod.ino
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* This file allows you to add own functionality to WLED more easily
|
||||
*
|
||||
*/
|
||||
|
||||
void userBeginPreConnection()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void userBegin()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void userLoop()
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user