32dot x 16dot LED matrix display driving library.
Dependents: KP1632D_char_demo KP1632D_Gsens_demo KP1632D_move_mbed_demo
Diff: CG.h
- Revision:
- 0:1b7df36adac7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CG.h Sat May 31 14:26:47 2014 +0000 @@ -0,0 +1,109 @@ +#ifndef MBED_CG_H +#define MBED_CG_H + +const uint8_t CG5x7[16*6][8]={ +//20-2F +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x4,0x4,0x4,0x4,0x0,0x0,0x4,0x0}, +{0xa,0xa,0xa,0x0,0x0,0x0,0x0,0x0}, +{0xa,0xa,0x1f,0xa,0x1f,0xa,0xa,0x0}, +{0x4,0xf,0x14,0xe,0x5,0x1e,0x4,0x0}, +{0x18,0x19,0x2,0x4,0x8,0x13,0x3,0x0}, +{0xc,0x12,0x14,0x8,0x15,0x12,0xd,0x0}, +{0xc,0x4,0x8,0x0,0x0,0x0,0x0,0x0}, +{0x2,0x4,0x8,0x8,0x8,0x4,0x2,0x0}, +{0x8,0x4,0x2,0x2,0x2,0x4,0x8,0x0}, +{0x0,0x4,0x15,0xe,0x15,0x4,0x0,0x0}, +{0x0,0x4,0x4,0x1f,0x4,0x4,0x0,0x0}, +{0x0,0x0,0x0,0x0,0xc,0x4,0x8,0x0}, +{0x0,0x0,0x0,0x1f,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0xc,0xc,0x0}, +{0x0,0x1,0x2,0x4,0x8,0x10,0x0,0x0}, +//30-3F +{0xe,0x11,0x11,0x11,0x11,0x11,0xe,0}, +{0x4,0xc,0x4,0x4,0x4,0x4,0xe,0}, +{0xe,0x11,0x1,0x2,0x4,0x8,0x1f,0}, +{0x1f,0x2,0x4,0x2,0x1,0x11,0xe,0}, +{0x2,0x6,0xa,0x12,0x1f,0x2,0x2,0}, +{0x1f,0x10,0x1e,0x1,0x1,0x11,0xe,0}, +{0x6,0x8,0x10,0x1e,0x11,0x11,0xe,0}, +{0x1f,0x1,0x2,0x4,0x8,0x8,0x8,0}, +{0xe,0x11,0x11,0xe,0x11,0x11,0xe,0}, +{0xe,0x11,0x11,0xf,0x1,0x2,0xc,0}, +{0x0,0xc,0xc,0x0,0xc,0xc,0x0,0}, +{0x0,0xc,0xc,0x0,0xc,0x4,0x8,0}, +{0x2,0x4,0x8,0x10,0x8,0x4,0x2,0}, +{0x0,0x0,0x1f,0x0,0x1f,0x0,0x0,0}, +{0x8,0x4,0x2,0x1,0x2,0x4,0x8,0}, +{0xe,0x11,0x1,0x2,0x4,0x0,0x4,0}, +//40-4F +{0xe,0x11,0x1,0xd,0x15,0x15,0xe,0}, +{0xe,0x11,0x11,0x11,0x1f,0x11,0x11,0}, +{0x1e,0x11,0x11,0x1e,0x11,0x11,0x1e,0}, +{0xe,0x11,0x10,0x10,0x10,0x11,0xe,0}, +{0x1c,0x12,0x11,0x11,0x11,0x12,0x1c,0}, +{0x1f,0x10,0x10,0x1e,0x10,0x10,0x1f,0}, //<--------? +{0x1f,0x10,0x10,0x1e,0x10,0x10,0x10,0}, +{0xe,0x11,0x10,0x17,0x11,0x11,0xf,0}, +{0x11,0x11,0x11,0x1f,0x11,0x11,0x11,0}, +{0xe,0x4,0x4,0x4,0x4,0x4,0xe,0}, +{0x7,0x2,0x2,0x2,0x2,0x12,0xc,0}, +{0x11,0x12,0x14,0x18,0x14,0x12,0x11,0}, +{0x10,0x10,0x10,0x10,0x10,0x10,0x1f,0}, +{0x11,0x1b,0x15,0x15,0x11,0x11,0x11,0}, +{0x11,0x11,0x19,0x15,0x13,0x11,0x11,0}, +{0xe,0x11,0x11,0x11,0x11,0x11,0xe,0}, +//50-5F +{0x1e,0x11,0x11,0x1e,0x10,0x10,0x10,0}, +{0xe,0x11,0x11,0x11,0x15,0x12,0xd,0}, +{0x1e,0x11,0x11,0x1e,0x14,0x12,0x11,0}, +{0xf,0x10,0x10,0xe,0x1,0x1,0x1e,0}, +{0x1f,0x4,0x4,0x4,0x4,0x4,0x4,0}, +{0x11,0x11,0x11,0x11,0x11,0x11,0xe,0}, +{0x11,0x11,0x11,0x11,0x11,0xa,0x4,0}, +{0x11,0x11,0x11,0x15,0x15,0x15,0xa,0}, +{0x11,0x11,0xa,0x4,0xa,0x11,0x11,0}, +{0x11,0x11,0x11,0xa,0x4,0x4,0x4,0}, +{0x1f,0x1,0x2,0x4,0x8,0x10,0x1f,0}, +{0xe,0x8,0x8,0x8,0x8,0x8,0xe,0}, +{0x11,0xa,0x1f,0x4,0x1f,0x4,0x4,0}, +{0xe,0x2,0x2,0x2,0x2,0x2,0xe,0}, +{0x4,0xa,0x11,0x0,0x0,0x0,0x0,0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x1f,0}, +//60-6F +{0x8,0x4,0x2,0x0,0x0,0x0,0x0,0}, +{0x0,0x0,0xe,0x1,0xf,0x11,0xf,0}, +{0x10,0x10,0x16,0x19,0x11,0x11,0x1e,0}, +{0x0,0x0,0xe,0x10,0x10,0x11,0xe,0}, +{0x1,0x1,0xd,0x13,0x11,0x11,0xf,0}, +{0x0,0x0,0xe,0x11,0x1f,0x10,0xe,0}, +{0x6,0x9,0x8,0x1c,0x8,0x8,0x8,0}, +{0x0,0xf,0x11,0x11,0xf,0x1,0xe,0}, +{0x10,0x10,0x16,0x19,0x11,0x11,0x11,0}, +{0x4,0x0,0xc,0x4,0x4,0x4,0xe,0}, +{0x2,0x0,0x6,0x2,0x2,0x12,0xc,0}, +{0x10,0x10,0x12,0x14,0x18,0x14,0x12,0}, +{0xc,0x4,0x4,0x4,0x4,0x4,0xe,0}, +{0x0,0x0,0x1a,0x15,0x15,0x11,0x11,0}, +{0x0,0x0,0x16,0x19,0x11,0x11,0x11,0}, +{0x0,0x0,0xe,0x11,0x11,0x11,0xe,0}, +//70-7F +{0x0,0x0,0x1e,0x11,0x1e,0x10,0x10,0}, +{0x0,0x0,0xd,0x13,0xf,0x1,0x1,0}, +{0x0,0x0,0x16,0x19,0x10,0x10,0x10,0}, +{0x0,0x0,0xe,0x10,0xe,0x1,0x1e,0}, +{0x8,0x8,0x1c,0x8,0x8,0x9,0x6,0}, +{0x0,0x0,0x11,0x11,0x11,0x13,0xd,0}, +{0x0,0x0,0x11,0x11,0x11,0xa,0x4,0}, +{0x0,0x0,0x11,0x11,0x15,0x15,0xa,0}, +{0x0,0x0,0x11,0xa,0x4,0xa,0x11,0}, +{0x0,0x0,0x11,0x11,0xf,0x1,0xe,0}, +{0x0,0x0,0x1f,0x2,0x4,0x8,0x1f,0}, +{0x2,0x4,0x4,0x8,0x4,0x4,0x2,0}, +{0x4,0x4,0x4,0x4,0x4,0x4,0x4,0}, +{0x8,0x4,0x4,0x2,0x4,0x4,0x8,0}, +{0x0,0x4,0x2,0x1f,0x2,0x4,0x0,0}, +{0x0,0x4,0x8,0x1f,0x8,0x4,0x0,0} +}; + +#endif