ubyte code TAB1[40]={ 0x12,0x03,0x06, // 按键'2' func6 0x14,0x03,0x07, // 按键'3' func7 0x2a,0x03,0x08, // 按键'5' func8 0x4a,0x03,0x09, // 按键'6' func9 0x01,0x03,0x12, // 按键'7' func18 0x8a,0x03,0x14, // 按键'shift' func20 0x11,0x01,0x0a, // 按键'1' func10 0x1a,0x01,0x0b, // 按键'4' func11 0x04,0x01,0x0c, // 按键'9' func12 0x10,0x01,0x0d, // 按键'0' func13 0x80,0x01,0x0e, // 按键'Enter' func14 0x08,0x00,0x02, // 按键'Clear' func2 0x20,0x03,0x13, // 按键'.' func19 0x00}; // 本表结束标志
ubyte code TAB2[7]={ 0x40,0x02,0x0f, // 按键'last' func15 0x08,0x00,0x02, // 按键'Clear' func2 0x00}; // 本表结束标志
ubyte code TAB3[40]={ 0x11,0x03,0x10, // 按键'1' func16 0x12,0x03,0x10, // 按键'2' func16 0x14,0x03,0x10, // 按键'3' func16 0x1a,0x03,0x10, // 按键'4' func16 0x2a,0x03,0x10, // 按键'5' func16 0x4a,0x03,0x10, // 按键'6' func16 0x01,0x03,0x10, // 按键'7' func16 0x02,0x03,0x10, // 按键'8' func16 0x04,0x03,0x10, // 按键'9' func16 0x10,0x03,0x10, // 按键'0' func16 0x20,0x03,0x10, // 按键'.' func16 0x08,0x00,0x02, // 按键'clear' func2 0x80,0x01,0x11, // 按键'Enter' func17 0x00}; // 本表结束标志
ubyte code *TAB[4]={TAB0,TAB1,TAB2,TAB3}; // 总指针表
[此贴子已经被作者于2005-12-28 11:42:37编辑过] |