first commit
Dependents: Aitendo_2P-REL225L01
Revision 0:d5aa6eeefe77, committed 2016-09-30
- Comitter:
- og
- Date:
- Fri Sep 30 13:24:12 2016 +0000
- Commit message:
- first commit
Changed in this revision
diff -r 000000000000 -r d5aa6eeefe77 ASCII12dot.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ASCII12dot.h Fri Sep 30 13:24:12 2016 +0000 @@ -0,0 +1,268 @@ +/*************************************************** +* ASCIIフォントデータ 12x12ドット +* M+ Bitmap Fontsより変換して作成 +* ASCII Code 0x20 to 0xFF +****************************************************/ +const char ANKFont[256][18] = { +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x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x0,0x0}, //> +{0x0,0x0,0xE0,0x11,0x2,0x8,0x0,0x80,0x10,0x2,0x0,0x40,0x4,0x0,0x0,0x4,0x0,0x0}, //? +{0x0,0x0,0xF0,0x30,0x82,0x64,0x49,0x44,0x94,0x49,0x44,0x94,0x27,0x83,0x0,0xE,0x0,0x0}, //@ +{0x0,0x0,0x40,0x4,0x0,0xA0,0xA,0x1,0x10,0x11,0x3,0xF8,0x20,0x84,0x4,0x40,0x40,0x0}, //A +{0x0,0x3,0xF0,0x20,0x82,0x8,0x20,0x83,0xF0,0x20,0x82,0x4,0x20,0x42,0x8,0x3F,0x0,0x0}, +{0x0,0x0,0xF8,0x10,0x42,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x1,0x4,0xF,0x80,0x0}, +{0x0,0x3,0xE0,0x21,0x82,0x8,0x20,0x42,0x4,0x20,0x42,0x4,0x20,0x82,0x18,0x3E,0x0,0x0}, +{0x0,0x3,0xF8,0x20,0x2,0x0,0x20,0x3,0xF0,0x20,0x2,0x0,0x20,0x2,0x0,0x3F,0x80,0x0}, +{0x0,0x3,0xF8,0x20,0x2,0x0,0x20,0x3,0xF0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x0,0x0}, +{0x0,0x0,0xF8,0x10,0x42,0x0,0x20,0x2,0x3C,0x20,0x42,0x4,0x20,0x41,0xC,0xF,0x40,0x0}, +{0x0,0x2,0x4,0x20,0x42,0x4,0x20,0x43,0xFC,0x20,0x42,0x4,0x20,0x42,0x4,0x20,0x40,0x0}, +{0x0,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x0}, +{0x0,0x0,0x10,0x1,0x0,0x10,0x1,0x0,0x10,0x41,0x4,0x10,0x41,0x2,0x20,0x1C,0x0,0x0}, +{0x0,0x2,0x8,0x21,0x2,0x20,0x24,0x2,0x80,0x34,0x2,0x20,0x21,0x2,0x8,0x20,0x40,0x0}, +{0x0,0x2,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x3F,0x80,0x0}, +{0x0,0x4,0x4,0x60,0xC5,0x14,0x4A,0x44,0x44,0x40,0x44,0x4,0x40,0x44,0x4,0x40,0x40,0x0}, +{0x0,0x2,0x8,0x30,0x82,0x88,0x24,0x82,0x28,0x21,0x82,0x8,0x20,0x82,0x8,0x20,0x80,0x0}, +{0x0,0x0,0xF0,0x10,0x82,0x4,0x20,0x42,0x4,0x20,0x42,0x4,0x20,0x41,0x8,0xF,0x0,0x0}, +{0x0,0x3,0xE0,0x21,0x2,0x8,0x20,0x82,0x10,0x3E,0x2,0x0,0x20,0x2,0x0,0x20,0x0,0x0}, +{0x0,0x0,0xF0,0x10,0x82,0x4,0x20,0x42,0x4,0x20,0x42,0x4,0x20,0x41,0x8,0xF,0x0,0x20}, +{0x0,0x3,0xE0,0x21,0x2,0x8,0x20,0x82,0x10,0x3E,0x2,0x10,0x21,0x2,0x8,0x20,0x80,0x0}, +{0x0,0x0,0xF0,0x10,0x82,0x4,0x10,0x0,0xF0,0x0,0x80,0x4,0x20,0x41,0x8,0xF,0x0,0x0}, +{0x0,0x7,0xFC,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x0}, +{0x0,0x2,0x8,0x20,0x82,0x8,0x20,0x82,0x8,0x20,0x82,0x8,0x20,0x81,0x10,0xE,0x0,0x0}, +{0x0,0x2,0x8,0x20,0x82,0x8,0x11,0x1,0x10,0x11,0x0,0xA0,0xA,0x0,0x40,0x4,0x0,0x0}, +{0x0,0x4,0x44,0x44,0x44,0x44,0x44,0x42,0xA8,0x2A,0x82,0xA8,0x11,0x1,0x10,0x11,0x0,0x0}, +{0x0,0x2,0x8,0x20,0x81,0x10,0xA,0x0,0x40,0x4,0x0,0xA0,0x11,0x2,0x8,0x20,0x80,0x0}, +{0x0,0x2,0x8,0x20,0x81,0x10,0x11,0x0,0xA0,0xA,0x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4,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x80,0x98,0x10,0x81,0x8,0x9,0x80,0x68,0x0,0x80,0x10}, +{0x0,0x1,0x0,0x10,0x1,0x0,0x16,0x1,0x90,0x10,0x81,0x8,0x10,0x81,0x8,0x10,0x80,0x0}, +{0x0,0x0,0x40,0x4,0x0,0x0,0x0,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x0}, +{0x0,0x0,0x20,0x2,0x0,0x0,0x0,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x40}, +{0x0,0x1,0x0,0x10,0x1,0x0,0x10,0x81,0x10,0x12,0x1,0x40,0x12,0x1,0x10,0x10,0x80,0x0}, +{0x0,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x59,0x86,0x64,0x44,0x44,0x44,0x44,0x44,0x44,0x44,0x40,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x17,0x1,0x88,0x10,0x81,0x8,0x10,0x81,0x8,0x10,0x80,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0xE,0x1,0x10,0x20,0x82,0x8,0x20,0x81,0x10,0xE,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x16,0x1,0x90,0x10,0x81,0x8,0x10,0x81,0x90,0x16,0x1,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x6,0x80,0x98,0x10,0x81,0x8,0x10,0x80,0x98,0x6,0x80,0x8}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x16,0x1,0x90,0x10,0x1,0x0,0x10,0x1,0x0,0x10,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0xF,0x1,0x8,0x10,0x0,0xF0,0x0,0x81,0x8,0xF,0x0,0x0}, +{0x0,0x0,0x80,0x8,0x0,0x80,0x3F,0x0,0x80,0x8,0x0,0x80,0x8,0x0,0x88,0x7,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x10,0x81,0x8,0x10,0x81,0x8,0x10,0x81,0x18,0xE,0x80,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x20,0x82,0x8,0x11,0x1,0x10,0xA,0x0,0xA0,0x4,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x44,0x44,0x44,0x44,0x42,0xA8,0x2A,0x81,0x10,0x11,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x20,0x81,0x10,0xA,0x0,0x40,0xA,0x1,0x10,0x20,0x80,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x10,0x81,0x8,0x8,0x80,0x90,0x5,0x0,0x20,0x2,0x0,0x40}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x1F,0x80,0x10,0x2,0x0,0x40,0x8,0x1,0x0,0x1F,0x80,0x0}, //z +{0x0,0xC0,0x10,0x1,0x0,0x10,0x1,0x0,0x10,0x6,0x0,0x10,0x1,0x0,0x10,0x1,0x0,0x10}, //{ +{0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40}, //| +{0x60,0x1,0x0,0x10,0x1,0x0,0x10,0x1,0x0,0xC,0x1,0x0,0x10,0x1,0x0,0x10,0x1,0x0}, //} +{0xFF,0xF0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //~ +//特殊文字 +{0x0,0x7,0xFC,0x4,0xF,0xFE,0x95,0x27,0xFC,0x44,0x47,0xFC,0x44,0x47,0xFC,0x4,0x20,0x7E}, //電 +{0x0,0x7,0xFE,0x40,0x4,0x10,0x41,0x4,0x10,0x5F,0xE4,0x10,0x41,0x8,0x10,0x81,0x1,0xFE}, //圧 +{0x1,0x0,0x10,0x9F,0xE4,0x24,0x4,0x48,0xFA,0x40,0x20,0x54,0x5,0x42,0x54,0x49,0x48,0x96}, //流 +{0x20,0x2,0x0,0x3F,0xE4,0x20,0x82,0x3,0xFC,0x22,0x2,0x20,0xFF,0xE0,0x20,0x2,0x0,0x20}, //年 +{0x0,0x3,0xFC,0x20,0x42,0x4,0x3F,0xC2,0x4,0x20,0x43,0xFC,0x20,0x42,0x4,0x40,0x44,0x1C}, //月 +{0x0,0x3,0xFC,0x20,0x42,0x4,0x20,0x42,0x4,0x3F,0xC2,0x4,0x20,0x42,0x4,0x20,0x43,0xFC}, //日 +{0x1,0x0,0x10,0xF7,0xE9,0x10,0x91,0x9,0xFE,0xF0,0x49,0xFE,0x90,0x49,0x44,0xF2,0x40,0xC}, //時 +{0x0,0x2,0x78,0x20,0x82,0x4,0x40,0x44,0x2,0xBF,0xA8,0x88,0x8,0x81,0x8,0x10,0x86,0x30}, //分 +{0x1,0x1,0x90,0xE1,0x2,0x54,0x29,0x2E,0x10,0x21,0x6,0x30,0x70,0x2A,0x4,0xA1,0x82,0xE0}, //秒 +{0x0,0x0,0xF0,0x10,0x82,0x4,0x20,0x42,0x4,0x20,0x41,0x8,0x9,0x2,0x94,0x39,0xC0,0x0}, //Ω +{0x0,0x0,0x0,0x0,0x0,0x4,0x8,0x40,0x88,0x8,0x81,0x10,0x13,0x1,0xD0,0x20,0xC2,0x0}, //μ +{0x0,0x0,0x0,0x0,0x0,0x0,0x31,0x84,0xA4,0x84,0x28,0x42,0x4A,0x43,0x18,0x0,0x0,0x0}, //∞ + +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, +{0x0,0x0,0x0,0x0,0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0x0,0x70}, //オ +{0x0,0x0,0x40,0x4,0x0,0x40,0x7F,0xE0,0x42,0x4,0x20,0x42,0x8,0x20,0x82,0x10,0x26,0x1C}, //カ +{0x0,0x0,0x80,0x8,0x0,0x80,0x7F,0xC0,0x40,0x4,0x0,0x40,0x7F,0xE0,0x20,0x2,0x0,0x20}, //キ +{0x0,0x0,0x40,0x4,0x0,0x7C,0x8,0x41,0x4,0x20,0x40,0x8,0x0,0x80,0x10,0x6,0x3,0x80}, //ク +{0x0,0x1,0x0,0x10,0x1,0x0,0x1F,0xE2,0x10,0x41,0x0,0x10,0x2,0x0,0x20,0xC,0x3,0x0}, //ケ +{0x0,0x0,0x0,0x0,0x7,0xFC,0x0,0x40,0x4,0x0,0x40,0x4,0x0,0x40,0x4,0x7F,0xC0,0x4}, //コ +{0x0,0x1,0x8,0x10,0x81,0x8,0x7F,0xE1,0x8,0x10,0x81,0x8,0x1,0x0,0x10,0x6,0x1,0x80}, //サ +{0x0,0x0,0x0,0x30,0x0,0xC0,0x0,0x26,0x2,0x18,0x40,0x4,0x0,0x80,0x10,0x6,0x3,0x80}, //シ +{0x0,0x0,0x0,0x3F,0x80,0x8,0x0,0x80,0x8,0x1,0x0,0x10,0x3,0x0,0x48,0x18,0x46,0x2}, //ス +{0x0,0x1,0x0,0x10,0x1,0x0,0x11,0xC1,0xE4,0xF0,0x81,0x8,0x11,0x1,0x0,0x10,0x0,0xFC}, // +{0x0,0x0,0x0,0x40,0x44,0x4,0x20,0x42,0x4,0x0,0x40,0x8,0x0,0x80,0x10,0x6,0x1,0x80}, // +{0x0,0x0,0x40,0x4,0x0,0x7C,0x8,0x41,0x44,0x22,0x40,0x18,0x0,0x80,0x10,0x6,0x3,0x80}, //タ +{0x0,0x0,0x0,0x3,0xC7,0xC0,0x4,0x0,0x40,0xFF,0xE0,0x40,0x4,0x0,0x40,0x8,0x3,0x0}, //チ +{0x0,0x0,0x0,0x48,0x44,0x84,0x24,0x42,0x44,0x0,0x40,0x8,0x0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0x0,0x20,0x4,0x0,0x81,0x10,0xA,0x0,0x40,0x2,0x0,0x10}, //マ +{0x0,0x0,0x0,0x1C,0x0,0x38,0x0,0x0,0x0,0x1C,0x0,0x30,0x0,0x0,0x0,0x3C,0x0,0x38}, //ミ +{0x0,0x0,0x80,0x8,0x0,0x80,0x8,0x1,0x0,0x10,0x81,0x8,0x20,0x82,0x74,0xF8,0x40,0x4}, //ム +{0x0,0x0,0x10,0x1,0x0,0x10,0x1,0x3,0x10,0xE,0x0,0x38,0x2,0x60,0x40,0x18,0x6,0x0}, //メ +{0x0,0x0,0x0,0x7F,0x80,0x80,0x8,0x0,0x80,0xFF,0xE0,0x80,0x8,0x0,0x80,0x8,0x0,0x78}, //モ +{0x0,0x1,0x0,0x10,0x1,0x1C,0x1E,0x4E,0x84,0x8,0x80,0x88,0x8,0x0,0x40,0x4,0x0,0x40}, //ヤ +{0x0,0x0,0x0,0x0,0x3,0xF0,0x1,0x0,0x10,0x1,0x0,0x10,0x1,0x0,0x10,0xFF,0xE0,0x0}, //ユ +{0x0,0x0,0x0,0x3F,0xC0,0x4,0x0,0x40,0x4,0x3F,0xC0,0x4,0x0,0x40,0x4,0x3F,0xC0,0x4}, //ヨ +{0x0,0x0,0x0,0x3F,0x80,0x0,0x0,0x7,0xFC,0x0,0x40,0x4,0x0,0x80,0x10,0x6,0x1,0x80}, //ラ +{0x0,0x2,0x8,0x20,0x82,0x8,0x20,0x82,0x8,0x20,0x80,0x8,0x1,0x0,0x10,0x2,0x0,0xC0}, //リ +{0x0,0x0,0x20,0x12,0x1,0x20,0x12,0x1,0x20,0x12,0x21,0x22,0x22,0x42,0x24,0x42,0x84,0x30}, //ル +{0x0,0x0,0x0,0x20,0x2,0x0,0x20,0x2,0x0,0x20,0x2,0x4,0x20,0x82,0x10,0x26,0x3,0x80}, //レ +{0x0,0x0,0x0,0x0,0x7,0xFC,0x40,0x44,0x4,0x40,0x44,0x4,0x40,0x44,0x4,0x7F,0xC4,0x4}, //ロ +{0x0,0x0,0x0,0x7F,0xC4,0x4,0x40,0x44,0x4,0x0,0x40,0x8,0x0,0x80,0x10,0x6,0x1,0x80}, //ワ +{0x0,0x0,0x0,0x30,0x0,0xC0,0x0,0x20,0x2,0x0,0x40,0x4,0x0,0x80,0x10,0x6,0x3,0x80}, //ン +{0x10,0x4,0x80,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //" +{0x30,0x4,0x80,0x48,0x3,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0}, //゜ + +/* 特殊文字 */ +{0x30,0x4,0x80,0x48,0x3,0x38,0x4,0x40,0x80,0x8,0x0,0x80,0x8,0x0,0x44,0x3,0x80,0x0}, //℃ +{0x4,0x0,0x40,0xA,0x0,0xA0,0xFB,0xE2,0x8,0x11,0x1,0x50,0x2A,0x83,0x18,0x40,0x40,0x0}, //☆ +{0x4,0x0,0x40,0xE,0x0,0xE0,0xFF,0xE3,0xF8,0x1F,0x1,0xF0,0x3B,0x83,0x18,0x40,0x40,0x0}, //★ +{0x0,0x0,0x60,0x19,0x82,0x4,0x20,0x44,0x2,0x40,0x22,0x4,0x20,0x41,0x98,0x6,0x0,0x0}, //○ +{0x0,0x0,0x60,0x1F,0x83,0xFC,0x3F,0xC7,0xFE,0x7F,0xE3,0xFC,0x3F,0xC1,0xF8,0x6,0x0,0x0}, //● +{0x0,0x0,0x60,0x19,0x82,0x4,0x26,0x44,0x92,0x49,0x22,0x64,0x20,0x41,0x98,0x6,0x0,0x0}, //◎ +{0x0,0x0,0x40,0xA,0x1,0x10,0x20,0x84,0x4,0x80,0x24,0x4,0x20,0x81,0x10,0xA,0x0,0x40}, //◇ +{0x0,0x0,0x40,0xE,0x1,0xF0,0x3F,0x87,0xFC,0xFF,0xE7,0xFC,0x3F,0x81,0xF0,0xE,0x0,0x40}, //◆ +{0x0,0x0,0x0,0x7F,0xC4,0x4,0x40,0x44,0x4,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0x52,0xA1,0x2A,0x5E,0xA4,0x2,0x92,0x2A,0x16}, //測 +{0x0,0xF,0xFE,0x1,0x0,0x20,0x4,0x0,0xD0,0x34,0x8C,0x44,0x4,0x20,0x40,0x4,0x0,0x40}, //不 +{0x4,0x2,0x4E,0x5F,0x8,0x50,0x1F,0xE2,0x92,0x4F,0x2C,0x22,0x5F,0xA5,0x22,0x7F,0xA4,0x26}, //衛 +{0x0,0x3,0xF8,0x20,0x83,0xF8,0x20,0x83,0xF8,0x24,0x7,0xFC,0x84,0x3,0xF8,0x4,0xF,0xFE}, //星 +{0x0,0x0,0xFC,0x88,0x44,0xFC,0x8,0x48,0xFC,0x40,0x0,0xFE,0xA,0xA2,0xAA,0x4A,0xA9,0xFE}, //温 +{0x0,0x0,0xFC,0x88,0x44,0xFC,0x8,0x48,0xFC,0x40,0x0,0x50,0x55,0x24,0xD4,0x85,0x9,0xFE}, //湿 +{0x0,0xF,0xFE,0x80,0x28,0x2,0x9F,0x29,0x12,0x91,0x29,0x12,0x9F,0x28,0x2,0x80,0x2F,0xFE}, //回 +{0x0,0x2,0x3E,0xFC,0x2,0x0,0xFC,0xA,0x7E,0xFC,0x8A,0x48,0xFD,0x2,0x12,0xFE,0x22,0x3E}, //転 +{0x0,0x7,0xFE,0x44,0x24,0x42,0x5F,0x24,0x42,0x5F,0xA4,0x2,0x5F,0x25,0x12,0x9F,0x28,0x6}, //周 +{0x1,0x0,0x10,0x8F,0xE4,0x92,0x9,0x8,0xFC,0x48,0x40,0xA4,0x51,0x45,0x8,0x83,0x48,0xC2}, //波 +{0x21,0xA,0x50,0x69,0xEF,0xE4,0x22,0x46,0x84,0xA5,0x4F,0x94,0x48,0x8C,0x88,0x31,0x4C,0xE2},//数 +{0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0} +}; +
diff -r 000000000000 -r d5aa6eeefe77 LCD192GC00.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD192GC00.cpp Fri Sep 30 13:24:12 2016 +0000 @@ -0,0 +1,371 @@ +#include "LCD192GC00.h" +#include "ASCII12dot.h" //ASCII 12x12dot + +LCD192GC00::LCD192GC00( + PinName rd, PinName wr, PinName rs, PinName cs, PinName rst, + PinName d0, PinName d1, PinName d2, PinName d3, + PinName d4, PinName d5, PinName d6, PinName d7 + ): + _rd(rd), _wr(wr), _rs(rs), _cs(cs), _rst(rst), + _d(d0, d1, d2, d3, d4, d5, d6, d7) +{ + + _rd=1; + _wr=1; + _rs=1; + _cs=1; + _rst = 1; + +} + +void LCD192GC00::_write(uint8_t rs, uint8_t d){ + _cs=0; + _rd=1; + _rs=rs; + + _d.output(); + _d=d; + _wr=0; + //_delay(1); + _wr=1; + + _cs=1; +} + +void LCD192GC00::lcd_Init(){ + wait_ms(20); + _rd = 1; + _cs = 1; // CS High + _wr = 1; // WR High + _rst = 0; // Reset LCD + wait_ms(0x10); // 1msec wait + _rst = 1; // Clear RESET + wait_ms(25); // 100msec wait + + lcd_cmd(0xB0); + lcd_data(0xCA); + lcd_data(0x90); + lcd_data(0x37); + lcd_data(0x01); + lcd_data(0x48); + lcd_data(0x01); + lcd_data(0x40); + lcd_data(0x04); + lcd_data(0x00); + lcd_data(0x00); + + lcd_cmd(0x26); + lcd_data(0x01); + + lcd_cmd(0xB1); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x08); + lcd_data(0x00); + lcd_data(0x04); + lcd_data(0x10); + lcd_data(0x48); + lcd_data(0x82); + lcd_data(0x20); + lcd_data(0x84); + lcd_data(0x92); + lcd_data(0x2A); + lcd_data(0x52); + lcd_data(0xAA); + lcd_data(0x5A); + lcd_data(0x55); + lcd_data(0x2A); + lcd_data(0x55); + lcd_data(0xAE); + lcd_data(0xFF); + lcd_data(0xFE); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x04); + + lcd_cmd(0xB2); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x04); + lcd_data(0x00); + lcd_data(0x02); + lcd_data(0x08); + lcd_data(0x48); + lcd_data(0x82); + lcd_data(0x20); + lcd_data(0x84); + lcd_data(0x42); + lcd_data(0x48); + lcd_data(0x92); + lcd_data(0x2A); + lcd_data(0x52); + lcd_data(0xAA); + lcd_data(0x5A); + lcd_data(0x55); + lcd_data(0x2A); + lcd_data(0x55); + lcd_data(0xAE); + lcd_data(0xFF); + lcd_data(0xFE); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x00); + lcd_data(0x04); + + lcd_cmd(MODE); // Entry Mode + lcd_data(0x29); + //color mode + lcd_cmd(COLMOD); + lcd_data(0x05); //65k color + //Inteface mode + lcd_cmd(IFMOD); + lcd_data(0x00); //8bit mode + + + lcd_cmd(0xBA); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + lcd_data(0x55); + + + // + lcd_cmd(SLPOUT); + lcd_cmd(DISON); // 表示オン +}; + +void LCD192GC00::lcd_Clear(unsigned short Color){ + int i, j; + + lcd_cmd(PASET); // ページ開始終了アドレスセット + lcd_data(0); + lcd_data(0x0C); + lcd_data((unsigned char)((ENDPAGE+0x0C)>>8)); + lcd_data((unsigned char)(ENDPAGE+0x0C)); + lcd_cmd(CASET); // コラム開始、終了アドレスセット + lcd_data(0); + lcd_data(0x08); + lcd_data((unsigned char)((ENDCOL+0x08)>>8)); + lcd_data((unsigned char)(ENDCOL+0x08)); + lcd_cmd(RAMWR); + for(j=0; j<4; j++){ + for(i=0; i<(ENDCOL+1)*80; i++){ + lcd_data((unsigned char)(Color>>8)); + lcd_data((unsigned char)Color); + } + } +} + +/*********************************** +* 1ピクセル表示関数 +* 座標は(0,0)-(161,131) +***********************************/ +void LCD192GC00::lcd_Pixel(short Xpos, short Ypos, unsigned short Color){ + + if((Xpos<=ENDCOL) && (Ypos<=ENDPAGE)){ + Xpos += 0x08; + Ypos += 0x0C; + lcd_cmd(PASET); // 行(RAW)アドレスセット + lcd_data(Ypos>>8); + lcd_data(Ypos); + lcd_data(Ypos>>8); + lcd_data(Ypos); + lcd_cmd(CASET); // 列(COLUM)アドレスセット + lcd_data((unsigned char)((Xpos)>>8)); + lcd_data((unsigned char)(Xpos)); + lcd_data((unsigned char)(Xpos>>8)); + lcd_data((unsigned char)(Xpos)); + lcd_cmd(RAMWR); // 1ピクセル書き込み + lcd_data(Color >> 8); // 16ビットカラー + lcd_data(Color); + } +} + +/*************************** +* 直線描画関数 +***************************/ +#define abs(a) (((a)>0) ? (a) : -(a)) +void LCD192GC00::lcd_Line(short x0, short y0, short x1, short y1, unsigned short Color) +{ + short steep, t; + short deltax, deltay, error; + short x, y; + short ystep; + + y0=ENDPAGE-y0; // Y座標反転 + y1=ENDPAGE-y1; + /// 差分の大きいほうを求める + steep = (abs(y1 - y0) > abs(x1 - x0)); + /// x、yの入れ替え + if(steep){ + t = x0; x0 = y0; y0 = t; + t = x1; x1 = y1; y1 = t; + } + if(x0 > x1) { + t = x0; x0 = x1; x1 = t; + t = y0; y0 = y1; y1 = t; + } + deltax = x1 - x0; // 傾き計算 + deltay = abs(y1 - y0); + error = 0; + y = y0; + /// 傾きでステップの正負を切り替え + if(y0 < y1) ystep = 1; else ystep = -1; + /// 直線を点で描画 + for(x=x0; x<x1; x++) { + if(steep) lcd_Pixel(y,x,Color); else lcd_Pixel(x,y,Color); + error += deltay; + if((error << 1) >= deltax) { + y += ystep; + error -= deltax; + } + } +} +/***************************************** +* ANK文字表示関数 12x12ドット +* 320/12=26文字/行 240/14=17行 +* (0, 0) - (25, 16)の範囲 +******************************************/ +void LCD192GC00::lcd_Char(char colum, char line, unsigned char letter, unsigned short Color1, unsigned short Color2){ + unsigned char j, i, Mask; + + if((colum < XChar) && (line < YLine)){ // 範囲チェック + // ANK表示出力 3バイトの2ラインずつを6回繰り返す + for(j=0; j<6; j++){ + // 8ドット連続部の表示 + Mask = 0x80; + for(i=0; i<8; i++){ + // 1ライン目前半8ドット表示 + if((ANKFont[letter][j*3] & Mask) != 0) + lcd_Pixel(colum*12+i, line*14+j*2, Color1); + else + lcd_Pixel(colum*12+i, line*14+j*2, Color2); //背景色 + // 2ライン目後半8ドット表示 + if((ANKFont[letter][j*3+2] & Mask) != 0) + lcd_Pixel(colum*12+i+4, line*14+j*2+1, Color1); + else + lcd_Pixel(colum*12+i+4, line*14+j*2+1, Color2); //背景色 + Mask = Mask >> 1; + } + // 分割部4ドットずつ表示 + Mask = 0x80; + // 1ライン目後半4ドット表示 + for(i=0; i<4; i++){ + if((ANKFont[letter][j*3+1] & Mask) != 0) + lcd_Pixel(colum*12+i+8, line*14+j*2, Color1); + else + lcd_Pixel(colum*12+i+8, line*14+j*2, Color2); //背景色 + Mask = Mask >> 1; + } + // 2ライン目前半4ドット表示 + for(i=4; i<8; i++){ + if((ANKFont[letter][j*3+1] & Mask) != 0) + lcd_Pixel(colum*12+i-4, line*14+j*2+1, Color1); + else + lcd_Pixel(colum*12+i-4, line*14+j*2+1, Color2); //背景色 + Mask = Mask >> 1; + } + } + } +} +/****************************** +* 文字列描画関数 +* 16文字x20行で指定 +******************************/ +void LCD192GC00::lcd_Str(char colum, char line, char *s, unsigned short Color1, unsigned short Color2) +{ + while (*s){ + lcd_Char(colum++, line, *s++, Color1, Color2); + if(colum >= XChar){ + line++; + colum = 0; + if(line >= YLine) + line = 0; + } + } +} + +/********************************************************* +* イメージ表示関数 +* データは縦方向8ライン分が1バイトで格納されている +* 128×128/8=2kバイト/画面 +* グラフィック色(Color1)と背景色(Color2)両方を指定 +**********************************************************/ +void LCD192GC00::lcd_Image(char line, const unsigned char *ptr, unsigned short Color1, unsigned Color2) +{ + unsigned char Mask; + short i, vline, colum; + + + for(vline=line; vline<line+8; vline++){ // 全体は8行×8=64ライン + for(colum=0; colum<128; colum++){ // 横は128ドットとする + Mask = 0x01; // 下位ビットが上側 + for(i=0; i<8; i++){ // 1バイト分処理 + if(*ptr & Mask) // ビットチェック + lcd_Pixel(colum+2, vline*8+i+1, Color1); + else + lcd_Pixel(colum+2,vline*8+i+1, Color2); + Mask = Mask << 1; // ビット位置シフト + } + ptr++; // 次のデータ + } + } +} + +void LCD192GC00::_delay(uint16_t t) +{ +};
diff -r 000000000000 -r d5aa6eeefe77 LCD192GC00.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD192GC00.h Fri Sep 30 13:24:12 2016 +0000 @@ -0,0 +1,65 @@ +#ifndef MBED_LCD192GC00_H +#define MBED_LCD192GC00_H +#include "mbed.h" + +#define MODE 0x36 +#define CASET 0x2A +#define PASET 0x2B +#define COLMOD 0x3A +#define IFMOD 0xC2 +#define RAMWR 0x2C +#define SLPOUT 0x11 +#define DISON 0x29 + +#define ENDCOL 319 // X +#define ENDPAGE 239 // Y +#define XChar (int16_t)((ENDCOL+1) / 12) +#define YLine (int16_t)((ENDPAGE+1) / 14) + +#define WHITE 0xFFFF +#define BLACK 0x0000 +#define RED 0xF800 +#define GREEN 0x07E0 +#define BLUE 0x001F +#define CYAN 0x07FF +#define MAGENTA 0xF81F +#define YELLOW 0xFFE0 +#define BROWN 0xA18A +#define ORANGE 0xFBC0 +#define PINK 0xF998 + +class LCD192GC00 +{ +public: + LCD192GC00( + PinName rd, PinName wr, PinName rs, PinName cs, PinName rst, + PinName d0, PinName d1, PinName d2, PinName d3, + PinName d4, PinName d5, PinName d6, PinName d7 + ); + ~LCD192GC00(){}; + + /*** 関数プロトタイプ ****/ + void lcd_Init(void); + void lcd_Clear(unsigned short Color); + void lcd_Pixel(short Xpos, short Ypos, unsigned short Color); + void lcd_Char(char colum, char line, unsigned char letter, unsigned short Color1, unsigned short Color2); + void lcd_Str(char colum, char line, char *s, unsigned short Color1, unsigned short Color2); + void lcd_Line(short x0, short y0, short x1, short y1, unsigned short Color); + void lcd_Scroll(unsigned short delay); + void lcd_Image(char line, const unsigned char *ptr, unsigned short Color1, unsigned Color2); + + void lcd_cmd(uint8_t data){ + _write(0, data); + }; + void lcd_data(uint8_t data){ + _write(1, data); + }; + +private: + DigitalOut _rd, _wr, _rs, _cs, _rst; + BusInOut _d; + + void _write(uint8_t rs, uint8_t d); + void _delay(uint16_t t); +}; +#endif