AVR单片机公交车语音报站系统程序
扫描二维码
随时随地手机看文章
constcharQFDZ[4][32]={
{0x10,0x10,0x17,0x15,0x95,0x75,0x57,0x10,0x10,0x13,0x30,0xD0,0x57,0x10,0x10,0x00,
0x00,0x00,0xFE,0x20,0x24,0x22,0xFC,0x00,0x00,0xF8,0x02,0x01,0xFE,0x00,0x00,0x00},//前
{0x10,0x10,0x10,0x10,0x10,0x10,0x9F,0x52,0x32,0x12,0x12,0x13,0x10,0x10,0x10,0x00,
0x02,0x02,0x04,0x08,0x30,0xC0,0x00,0x00,0x04,0x02,0x02,0xFC,0x00,0x00,0x00,0x00},//方
{0x00,0x44,0x4E,0x54,0x64,0x47,0x54,0x4E,0x44,0x00,0x1F,0x00,0x00,0xFF,0x00,0x00,
0x00,0x42,0x43,0x42,0x44,0xFC,0x44,0x48,0x48,0x00,0xF0,0x02,0x01,0xFE,0x00,0x00},//到
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharDL[2][32]={
{0x00,0x44,0x4E,0x54,0x64,0x47,0x54,0x4E,0x44,0x00,0x1F,0x00,0x00,0xFF,0x00,0x00,
0x00,0x42,0x43,0x42,0x44,0xFC,0x44,0x48,0x48,0x00,0xF0,0x02,0x01,0xFE,0x00,0x00},//到
{0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x4F,0x48,0x50,0x50,0x60,0x60,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x02,0x01,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}//了
};
constcharState1[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//1
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState2[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x0E,0x10,0x10,0x10,0x11,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x0C,0x14,0x24,0x44,0x84,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//2
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState3[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x0C,0x10,0x11,0x11,0x12,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x18,0x04,0x04,0x04,0x88,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//3
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};/*
constcharState4[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x00,0x03,0x04,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xE0,0x20,0x24,0x24,0xFC,0x24,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//4
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState5[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x1F,0x10,0x11,0x11,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x98,0x84,0x04,0x04,0x88,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//5
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState6[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x07,0x08,0x11,0x11,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0xF0,0x88,0x04,0x04,0x88,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//6
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState7[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x1C,0x10,0x10,0x13,0x1C,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//7
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState8[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x0E,0x11,0x10,0x10,0x11,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x38,0x44,0x84,0x84,0x44,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//8
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState9[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x07,0x08,0x10,0x10,0x08,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x8C,0x44,0x44,0x88,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},//9
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState10[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x07,0x08,0x10,0x10,0x08,0x07,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0xF0,0x08,0x04,0x04,0x08,0xF0,0x00},//10
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState11[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00},//11
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState12[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x0E,0x10,0x10,0x10,0x11,0x0E,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0x0C,0x14,0x24,0x44,0x84,0x0C,0x00},//12
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState13[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x0C,0x10,0x11,0x11,0x12,0x0C,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0x18,0x04,0x04,0x04,0x88,0x70,0x00},//13
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState14[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x04,0x08,0x1F,0x00,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0xE0,0x20,0x24,0x24,0xFC,0x24,0x00},//14
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState15[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x1F,0x10,0x11,0x11,0x10,0x10,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0x98,0x84,0x04,0x04,0x88,0x70,0x00},//15
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};
constcharState16[3][32]={
{0x08,0x10,0x20,0xCB,0x6A,0x5A,0x4A,0x5A,0x2F,0xCA,0x6A,0x5A,0x4E,0x40,0x40,0x00,
0x00,0x04,0x04,0xC4,0x48,0x48,0x50,0x60,0xFF,0x40,0x40,0x48,0x44,0x78,0x00,0x00},//第
{0x00,0x08,0x08,0x1F,0x00,0x00,0x00,0x00,0x00,0x07,0x08,0x11,0x11,0x18,0x00,0x00,
0x00,0x04,0x04,0xFC,0x04,0x04,0x00,0x00,0x00,0xF0,0x88,0x04,0x04,0x88,0x70,0x00},//16
{0x08,0x0A,0x49,0x38,0x08,0x0F,0x08,0x00,0x00,0x00,0xFF,0x08,0x08,0x08,0x08,0x00,
0x08,0x08,0xD0,0x30,0xD0,0x10,0x00,0xFE,0x84,0x84,0x84,0x84,0x84,0xFE,0x00,0x00}//站
};*/AVR单片机