2020-10-13 17:01:29 +02:00
|
|
|
#include <Arduino.h>
|
|
|
|
#include "OmobiLedDisplay.h"
|
|
|
|
|
|
|
|
#define PIN 4
|
|
|
|
|
2020-10-14 23:54:54 +02:00
|
|
|
OmobiLedDisplay *display;
|
2020-10-13 17:01:29 +02:00
|
|
|
|
|
|
|
void setup()
|
|
|
|
{
|
|
|
|
Serial.begin(115200);
|
|
|
|
Serial.printf("Los\n");
|
|
|
|
|
2020-10-14 23:54:54 +02:00
|
|
|
Adafruit_NeoMatrix *displayMatrix = new Adafruit_NeoMatrix(
|
|
|
|
8,
|
|
|
|
8,
|
|
|
|
1,
|
|
|
|
1,
|
|
|
|
PIN,
|
|
|
|
NEO_TILE_TOP + NEO_TILE_LEFT + NEO_TILE_ROWS + NEO_TILE_PROGRESSIVE +
|
|
|
|
NEO_MATRIX_TOP + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_TILE_PROGRESSIVE,
|
|
|
|
NEO_GRB + NEO_KHZ800);
|
|
|
|
|
|
|
|
// create our display
|
|
|
|
display = new OmobiLedDisplay("OmobiLedDisplay1", displayMatrix);
|
2020-10-13 17:01:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void loop()
|
|
|
|
{
|
2020-10-14 23:54:54 +02:00
|
|
|
// nothing to do in loop
|
2020-10-15 16:58:06 +02:00
|
|
|
display->loop();
|
|
|
|
delay(1);
|
2020-10-13 17:01:29 +02:00
|
|
|
}
|