breadboard
documentación

Proyecto de ejemplo · Pantallas

Uno R4 · Texto en matriz LED

ArduinoGraphics desplaza HI por la matriz real 12×8 en pasos de 50 ms. Edita texto o velocidad en Code. Recompilar requiere la biblioteca fijada ArduinoGraphics 1.1.5.

El circuito Uno R4 · Texto en matriz LED tal como lo dibuja el simulador

Componentes del montaje

  • Arduino Uno R4

El código

Este sketch de Arduino C++ está en Code; inicia sesión y pulsa Compile & upload para compilar firmware real para la placa emulada.

#include <ArduinoGraphics.h>
#include <Arduino_LED_Matrix.h>

ArduinoLEDMatrix matrix;

void setup() {
  matrix.begin();
}

void loop() {
  matrix.beginDraw();
  matrix.stroke(0xFFFFFFFF);
  matrix.textScrollSpeed(50);
  matrix.textFont(Font_5x7);
  matrix.beginText(0, 1, 0xFFFFFF);
  matrix.print(" HI ");
  matrix.endText(SCROLL_LEFT);
  matrix.endDraw();
}

Licencia del firmware (en inglés)

Notice: this firmware uses the LGPL-licensed Arduino core library

arduino-unor4wifi-matrix-scroll.bin is statically linked with ArduinoCore-renesas 1.6.0, in Breadboard's port of its UNO R4 WiFi variant to Renesas FSP 5.3.0. Parts of that core are licensed under the GNU Lesser General Public License, version 2.1 or (at your option) any later version ("the Library"). Breadboard distributes this firmware under terms that permit you to modify the work for your own use and to reverse engineer it for debugging such modifications.

Informar de un problema de traducción

Proyectos relacionados