Default effect vor dem Homie.setup(), damit es auch ohne WLAN funktioniert.
This commit is contained in:
parent
c62c28ef72
commit
a90400c3ee
|
@ -412,6 +412,13 @@ void setup() {
|
|||
stopAfterCompletion = false; // Default
|
||||
effect = 0;
|
||||
|
||||
matrix.begin();
|
||||
matrix.setTextWrap(false);
|
||||
matrix.setBrightness(255);
|
||||
|
||||
strip.Plasma(); // Default effect
|
||||
Udp.begin(localUdpPort);
|
||||
|
||||
Homie.setup();
|
||||
|
||||
ArduinoOTA.setHostname("pixelbox");
|
||||
|
@ -427,12 +434,6 @@ void setup() {
|
|||
strip.show();
|
||||
});
|
||||
ArduinoOTA.begin();
|
||||
matrix.begin();
|
||||
matrix.setTextWrap(false);
|
||||
matrix.setBrightness(255);
|
||||
|
||||
strip.Plasma(); // Default effect
|
||||
Udp.begin(localUdpPort);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue