The code for a larger (11x14) font is already included in the Wise Clock 3/4 software (file fontLarge.h),
I modified the original sketch (posted in this thread of the Arduino forum) to include the following lines at the top of the file:
char* msgLine = " Hello world - demo for large font scrolling on dual 3216 display.";
int crtPos = 0;
int crtColor = GREEN;
and the loop() function:
void loop ()
{
displayLargeScrollingLine();
if (crtPos >= strlen(msgLine))
crtPos = 0;
}
Related posts:
No comments:
Post a Comment