Skip to content

Fix: prevent artefacts from appearing on the screen during a SCROLL_LEFT. #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Eliminate Serial.begin(), streamline code, reduce scroll speed.
  • Loading branch information
aentinger committed Jan 9, 2024
commit 23a2447275dceb966d9117a48ae2fefb20285750
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,20 @@
ArduinoLEDMatrix matrix;

void setup() {
Serial.begin(115200);
matrix.begin();

matrix.textScrollSpeed(50);

matrix.beginDraw();

matrix.stroke(0xFFFFFFFF);
matrix.textScrollSpeed(100);

const char text[] = "UNO r4";
const char text[] = " UNO r4 ";
matrix.textFont(Font_4x6);
matrix.beginText(0, 1, 0xFFFFFF);
matrix.println(text);
matrix.endText(SCROLL_LEFT);

matrix.endDraw();

delay(2000);
}

void loop() {
Expand Down