Skip to content

Commit

Permalink
Fix code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
realcharmer committed Nov 21, 2024
1 parent c91d883 commit b3c42ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/projects/light-module/text-scrolling.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Create animated scrolling text using the Parola library. This can, of course, be
#include <MD_Parola.h>
#include <MD_MAX72xx.h>
#define HARDWARE_TYPE
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
#define CS_PIN 10
#define SEGMENTS 1
MD_Parola display = MD_Parola(MD_MAX72XX::FC16_HW, CS_PIN, SEGMENTS);
MD_Parola display = MD_Parola(HARDWARE_TYPE, CS_PIN, SEGMENTS);
void setup() {
display.begin();
Expand Down

0 comments on commit b3c42ab

Please sign in to comment.