Wed Feb 15, 2017 2:50 pm
Thu Feb 16, 2017 11:13 am
extern const byte font5x7[]; //a large, comfy font
gb.display.setFont(font5x7);
#include <SPI.h>
#include <Gamebuino.h>
Gamebuino gb;
extern const byte font5x7[]; //a large, comfy font
void setup(){
gb.begin();
gb.display.setFont(font5x7);
}
void loop(){
if(gb.update()){
gb.display.drawChar(10, 10, 90, 3); // here 90 =Z , 65 = A .. 66=B ...
}
}
Thu Feb 16, 2017 2:41 pm
Awot wrote:Hello,
i will answer my question, here is what i found :
Using : gb.display.drawChar(x, y, char, size);
the "char" is the number of the Decimal character in the ASCII printable characters table
so 65=A ... -> 90=Z
and not the HEX char in the tables below :
[...]