Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
less reboots, lighter, change idle effect
Browse files Browse the repository at this point in the history
  • Loading branch information
vr6syncro committed Jun 9, 2023
1 parent 090c7b8 commit 72af151
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion BambulabLedController.ino
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "handle.h"
#include "effects.h"

#define MQTT_MAX_PACKET_SIZE 4096

const char* wifiname = "Bambulab Led controller";
const char* setuppage = html_setuppage;
Expand Down Expand Up @@ -300,6 +301,7 @@ void loop() { //Loop function
}
}
}
//Serial.printf("Free heap: %u\n", ESP.getFreeHeap());
// Serial.printf("Free heap: %u\n", ESP.getFreeHeap());
delay(10);
mqttClient.loop();
}
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define Debug_LED_Console false

// LED overall Brightness (0-255)
#define LED_Brightness 48
#define LED_Brightness 56

// Which pin on the Arduino is connected to the NeoPixels?
// On a Trinket or Gemma we suggest changing this to 1:
Expand Down
3 changes: 2 additions & 1 deletion handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void handleLed() {
if (ledstate == 1) {
if (CurrentStage == -1) {
// ↓ Printer Idle
RGBLoop();
colorWipe(0x00, 0xff, 0x00, 50);
colorWipe(0x00, 0x00, 0x00, 50);
return;
};
if (CurrentStage == 0) {
Expand Down

0 comments on commit 72af151

Please sign in to comment.