Hello!
I've made on the basis of the LedControl library a font file to use with a LED Matrix.
byte a[8]={0x00,0x7c,0x44,0x44,0x7c,0x44,0x00,0x00};
byte b[8]={0x00,0x7c,0x44,0x78,0x44,0x7c,0x00,0x00};
byte c[8]={0x00,0x7c,0x40,0x40,0x40,0x7c,0x00,0x00};
byte d[8]={0x00,0x78,0x44,0x44,0x44,0x78,0x00,0x00};
byte e[8]={0x00,0x7c,0x40,0x78,0x40,0x7c,0x00,0x00};
byte f[8]={0x00,0x7c,0x40,0x70,0x40,0x40,0x00,0x00};
byte g[8]={0x00,0x7c,0x40,0x4c,0x44,0x7c,0x00,0x00};
byte h[8]={0x00,0x44,0x44,0x7c,0x44,0x44,0x00,0x00};
byte i[8]={0x00,0x7c,0x10,0x10,0x10,0x7c,0x00,0x00};
byte j[8]={0x00,0x0c,0x04,0x04,0x44,0x7c,0x00,0x00};
byte k[8]={0x00,0x44,0x48,0x70,0x48,0x44,0x00,0x00};
byte l[8]={0x00,0x40,0x40,0x40,0x40,0x7c,0x00,0x00};
byte m[8]={0x00,0x44,0x6c,0x54,0x44,0x44,0x00,0x00};
byte n[8]={0x00,0x44,0x64,0x54,0x4c,0x44,0x00,0x00};
byte o[8]={0x00,0x38,0x44,0x44,0x44,0x38,0x00,0x00};
byte p[8]={0x00,0x78,0x44,0x78,0x40,0x40,0x00,0x00};
byte q[8]={0x00,0x7c,0x44,0x44,0x7c,0x10,0x00,0x00};
byte r[8]={0x00,0x78,0x44,0x78,0x44,0x44,0x00,0x00};
byte s[8]={0x00,0x7c,0x40,0x7c,0x04,0x7c,0x00,0x00};
byte t[8]={0x00,0x7c,0x10,0x10,0x10,0x10,0x00,0x00};
byte u[8]={0x00,0x44,0x44,0x44,0x44,0x7c,0x00,0x00};
byte v[8]={0x00,0x44,0x44,0x28,0x28,0x10,0x00,0x00};
byte w[8]={0x00,0x44,0x44,0x54,0x54,0x28,0x00,0x00};
byte x[8]={0x00,0x44,0x28,0x10,0x28,0x44,0x00,0x00};
byte y[8]={0x00,0x44,0x44,0x28,0x10,0x10,0x00,0x00};
byte z[8]={0x00,0x7c,0x08,0x10,0x20,0x7c,0x00,0x00};
byte ze[8]={0x00,0x7c,0x4c,0x54,0x64,0x7c,0x00,0x00};
byte on[8]={0x00,0x10,0x30,0x10,0x10,0x38,0x00,0x00};
byte tw[8]={0x00,0x78,0x04,0x38,0x40,0x7c,0x00,0x00};
byte th[8]={0x00,0x7c,0x04,0x38,0x04,0x7c,0x00,0x00};
byte fo[8]={0x00,0x40,0x40,0x50,0x7c,0x10,0x00,0x00};
byte fi[8]={0x00,0x7c,0x40,0x78,0x04,0x78,0x00,0x00};
byte si[8]={0x00,0x7c,0x40,0x7c,0x44,0x7c,0x00,0x00};
byte se[8]={0x00,0x7c,0x04,0x08,0x10,0x10,0x00,0x00};
byte ei[8]={0x00,0x7c,0x44,0x7c,0x44,0x7c,0x00,0x00};
byte ni[8]={0x00,0x7c,0x44,0x7c,0x04,0x7c,0x00,0x00};
you may leave out the 0x00 of the first and the two last rows to save some memory..
to implement see the documentation of the LedControl library or the examples.
Thanks for any comments or suggestions for improvement!
Cheers from Switzerland ![]()
-andreas