mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 01:42:22 +01:00
use illu base, reduce pixel num
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"pin": 4,
|
||||
"length": 32,
|
||||
"length": 8,
|
||||
"brightness": 64,
|
||||
"updateInterval": 100,
|
||||
"defaultColor": 100
|
||||
|
||||
@@ -56,6 +56,7 @@ lib_deps = ${common.lib_deps}
|
||||
https://gitlab.com/wirelos/sprocket-core.git#develop
|
||||
|
||||
[env:release]
|
||||
src_filter = +<*> -<wifiMesh/> +<wifi/>
|
||||
platform = ${common.platform}
|
||||
board = ${common.board}
|
||||
upload_speed = ${common.upload_speed}
|
||||
@@ -68,6 +69,7 @@ lib_deps = ${common.lib_deps}
|
||||
|
||||
|
||||
[env:nodemcu]
|
||||
src_filter = +<*> -<wifiMesh/> +<wifi/>
|
||||
platform = ${common.platform}
|
||||
board = nodemcu
|
||||
upload_speed = ${common.upload_speed}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "config.h"
|
||||
#include "WiFiNet.h"
|
||||
#include "WebCat.h"
|
||||
#include "IlluCat.h"
|
||||
|
||||
WiFiNet net(
|
||||
SPROCKET_MODE,
|
||||
@@ -11,14 +11,13 @@ WiFiNet net(
|
||||
HOSTNAME,
|
||||
CONNECT_TIMEOUT
|
||||
);
|
||||
WebCat sprocket(
|
||||
IlluCat sprocket(
|
||||
{ STARTUP_DELAY, SERIAL_BAUD_RATE },
|
||||
{ OTA_PORT, OTA_PASSWORD },
|
||||
{ WEB_CONTEXT_PATH, WEB_DOC_ROOT, WEB_DEFAULT_FILE }
|
||||
);
|
||||
|
||||
void setup() {
|
||||
delay(STARTUP_DELAY);
|
||||
sprocket.join(net);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user