|
|
|
|
@ -51,15 +51,17 @@ void configModeCallback (WiFiManager *myWiFiManager) { // AP config mode
|
|
|
|
|
|
|
|
|
|
void setup() {
|
|
|
|
|
Serial.begin(115200); // initialize serial communications
|
|
|
|
|
DEBUG_PRINT(F("\n\r"));
|
|
|
|
|
DEBUG_PRINT(F("\r\n"));
|
|
|
|
|
matrix.fillScreen(LOW); //clr screen
|
|
|
|
|
matrix.setIntensity(brightness);
|
|
|
|
|
|
|
|
|
|
initOTA();
|
|
|
|
|
|
|
|
|
|
for (int i=0; i<numberOfHorizontalDisplays; i++){
|
|
|
|
|
DEBUG_PRINT(F("Changing orientation of display #"));
|
|
|
|
|
DEBUG_PRINTLN(i);
|
|
|
|
|
matrix.setRotation(i, 1);
|
|
|
|
|
matrix.setRotation(i, 1); // chaque matrice
|
|
|
|
|
matrix.setRotation(2); // l'ensemble de l'afficheur
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|