Hi,
I've shearch in forum, but couldn't find any related answer.
I want to control P10 led display with Arduino Uno via DMD2 libary. It is no problem with small fonts.
But, I want character can be seen from far away. Let's say I want characters' heigh is more then one panel as in below illustration.
I've written bigger fonts wit GLCD_FontCreator. Up untill 24pixel heigh nothing happens. It is shown in one panel. When I cross the 24 pixel, let''s say 32, I'm taking error message:
Compilation error: 'Verdana32' was not declared in this scope
Is there a way?
My code is:
#include <Verdana24.h>
#include <Verdana26.h>
#include <Verdana28.h>
#include <Verdana30.h>
#include <Verdana32.h>
#include <Verdana36.h>
#include <Verdana72.h>
#include <SPI.h>
#include <DMDTUR.h>
#define DISPLAY_WIDTH 2
#define DISPLAY_HEIGHT 2
const uint8_t *Font = Verdana24;
int i=0;
int j=0;
int k=0;
SoftDMD dmd(DISPLAY_WIDTH,DISPLAY_HEIGHT);
//BoxTr box(dmd);
void setup() {
dmd.begin();
dmd.setBrightness(20);
dmd.selectFont(Font); // Set the font size scale
dmd.clearScreen();
}
void loop() {
dmd.clearScreen();
dmd.selectFont(Font);
for (int i=64; i>0; i--){
delay(75);
dmd.drawString(i, -2, "Test");
}
for (int j=64; j>0; j--){
delay(75);
dmd.drawString(j, 14, "Item");
}
//dmd.updateDisplay();
delay(1000);
dmd.clearScreen();
dmd.selectFont(Font);
for (int k=0; k<5; k++){
delay(100);
dmd.drawString(4, -2, "F5");
dmd.drawString(4, 14, "TB512");
delay(1000);
dmd.clearScreen();
delay(100);
}
}