DMD Notes

The Dot Matrix Display (DMD) is a 32x16 array of high-brightness LEDs for visually striking effects. [Product Page]
OldFox
Posts: 1
Joined: Fri Aug 04, 2017 6:58 pm

Re: DMD Notes

Post by OldFox » Fri Aug 04, 2017 6:59 pm

hipsi wrote:
Fri Sep 16, 2016 12:56 am
I havent done anything special. Here it is https://youtu.be/pi1ce9BEBHA
What did you use to waterproof dmd?

jito79
Posts: 2
Joined: Fri Nov 03, 2017 11:52 am

Re: DMD Notes

Post by jito79 » Fri Nov 03, 2017 11:58 am

Can anybody tell me how to calculate Font size in bytes?
How to calculate following code?
0x30, 0x86, // size




const static uint8_t Arial_Black_16[] PROGMEM = {
0x30, 0x86, // size
0x0A, // width
0x10, // height
0x20, // first char
0x60, // char count

jito79
Posts: 2
Joined: Fri Nov 03, 2017 11:52 am

Re: DMD Notes

Post by jito79 » Fri Nov 03, 2017 12:02 pm

How can i calculate Font size in bytes?

#include <inttypes.h>
#include <avr/pgmspace.h>

#ifndef angka6x16_H
#define angka6x16_H

#define angka6x16_WIDTH 6
#define angka6x16_HEIGHT 16

/*
* added to allow fontname to match header file name.
* as well as keep the old name for backward compability
*/

#define angka6x16 angka6x16

const static uint8_t angka6x16[] PROGMEM = {


0x03, 0xD0, // size
0x06, // WIDTH
0x10, // hight
0x30,
0x0b,


0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
0x06, 0x06,


0xFC, 0xFE, 0x02, 0x02, 0xFE, 0xFC, 0x3F, 0x7F, 0x40, 0x40, 0x7F, 0x3F, // 48
0x08, 0x0C, 0xFE, 0xFE, 0x00, 0x00, 0x40, 0x40, 0x7F, 0x7F, 0x40, 0x40, // 49
0x0C, 0x0E, 0x02, 0xC2, 0xFE, 0x3C, 0x70, 0x7C, 0x6F, 0x63, 0x60, 0x60, // 50
0x0C, 0x8E, 0x82, 0x82, 0xFE, 0x7C, 0x30, 0x71, 0x41, 0x41, 0x7F, 0x3E, // 51
0x80, 0xE0, 0x78, 0xFE, 0xFE, 0x00, 0x0F, 0x0F, 0x48, 0x7F, 0x7F, 0x48, // 52
0x7E, 0x7E, 0x22, 0x22, 0xE2, 0xC2, 0x30, 0x70, 0x40, 0x40, 0x7F, 0x3F, // 53
0xF0, 0xF8, 0x4C, 0x46, 0xC2, 0x82, 0x3F, 0x7F, 0x40, 0x40, 0x7F, 0x3F, // 54
0x02, 0x02, 0x02, 0xE2, 0xFE, 0x1E, 0x00, 0x00, 0x7F, 0x7F, 0x00, 0x00, // 55
0x7C, 0xFE, 0x82, 0x82, 0xFE, 0x7C, 0x3E, 0x7F, 0x41, 0x41, 0x7F, 0x3E, // 56
0xFC, 0xFE, 0x02, 0x02, 0xFE, 0xFC, 0x41, 0x43, 0x62, 0x32, 0x1F, 0x0F // 57

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests