Ⅰ 51单片机关于数组处理的问题
unsigned char code ASII_DATA[14][7]={//这个是举例的14x7的二维素组,你想用就把14改成100,7改成6就行啦!
//-
{0X1F,0X1F,0X1F,0X11,0X1F,0X1F,0X1F},
//,
{0X00,0X00,0X00,0X00,0X00,0X00,0X00},
///
{0X1F,0X1F,0X1F,0X1F,0X1F,0X1F,0X1F},
//0
{0X11,0X0E,0X0C,0X0A,0X06,0X0E,0X11},
//1
{0X1B,0X13,0X1B,0X1B,0X1B,0X1B,0X11},
//2
{0X11,0X0E,0X1E,0X1D,0X1B,0X17,0X00},
//3
{0X11,0X0E,0X1E,0X11,0X1E,0X0E,0X11},
//4
{0X19,0X15,0X0D,0X0D,0X00,0X1D,0X1D},
//5
{0X00,0X0F,0X0F,0X01,0X1E,0X1E,0X01},
//6
{0X11,0X0E,0X0F,0X01,0X0E,0X0E,0X11},
//7
{0X00,0X1E,0X1E,0X1D,0X1B,0X17,0X17},
//8
{0X11,0X0E,0X0E,0X11,0X0E,0X0E,0X11},
//9
{0X11,0X0E,0X0E,0X10,0X1E,0X0E,0X11},
//:
{0X1F,0X1B,0X1B,0X1F,0X1B,0X1B,0X1F}};
//读法
for(i=0;i<100;i++)
{
for(j=0;j<6;j++)
A= ASII_DATA[i][j];
}