#include <ioCC2530.h> #include <string.h> #define uint unsigned int #define uchar unsigned char #define time 10 uint i,k,p; //定义LED的端口 #define r P1_0 #define sclk P1_1 #define ckl P1_2 #define a P1_4 // 接了行控制信号A #define b P1_3 //接了行控制信号B #define oe P1_5 //自摸软件没有问题。里面的数值,不需要拍擦啦。看看其他地方有没有毛病。 //发现自模软件里面的自模型怎么对应不上来呢???(PS :虽然没有弄出来目前,但是最少还是了解了自摸软件是怎么弄的。 ) char tab[128]={/*-- 文字: 王 --*/ /*-- Fixedsys12; 此字体下对应的点阵为:宽x高=16x16 --*/ 0xFF,0xFF,0xFD,0xFF,0x80,0x03,0xFD,0xF7,0xFE,0xFF,0xC0,0x2F,0xFE,0xFF,0xFD,0xDF, 0xFE,0xFF,0xFD,0xBF,0xFE,0xFF,0x00,0x01,0xFE,0xFF,0xFE,0xFF,0xC0,0x07,0xFD,0xFF, /*-- 文字: 者 --*/ /*-- Fixedsys12; 此字体下对应的点阵为:宽x高=16x16 --*/ 0xFE,0xFF,0xF0,0x0F,0xFE,0xFF,0xE7,0xEF,0xFE,0xFF,0xD7,0xEF,0xFE,0xFF,0xB0,0x0F, 0xFE,0xFF,0x77,0xEF,0xFE,0xFF,0xF7,0xEF,0x00,0x01,0xF0,0x0F,0xFF,0xFF,0xF7,0xEF, } |