in_eeprom.c

来自「ad转换的程序」· C语言 代码 · 共 33 行

C
33
字号
/*-----------------------------------------------------------------------------------------
AUTH:
DATE:
COMMENT:as follows
-------------------------------------------------------------------------------------------*/
unsigned int xdata canmodify_package[19];

void in_eeprom()
	{
    canmodify_package[0]=0;                  //the original value of the water level(channel 1)
	canmodify_package[1]=100;               // the first low level
	canmodify_package[2]=200;               // the second low level
	canmodify_package[3]=10;                 // 量程
	canmodify_package[4]=8000;               // the first height level
	canmodify_package[5]=9000;                  // the second height level
	canmodify_package[6]=3;                  // 通道选择
	canmodify_package[7]=2400;               // bandrate
	canmodify_package[8]=12;                 //second
	canmodify_package[9]=11;                 //minute
	canmodify_package[10]=12;                //hour
	canmodify_package[11]=13;                //day
	canmodify_package[12]=9;                 //month
	canmodify_package[13]=02;                //year
    canmodify_package[14]=0;                 //the original value of the water levle(channel2)
	canmodify_package[15]=12752;                 //the original value of the water levle (channel3)	          

	//canmodify_package[16]=127;
    canmodify_package[16]=0;
	canmodify_package[17]=65120;                 //the original value of the water levle (channel3)	          
//	canmodify_package[18]=65535;
	canmodify_package[18]=64578;
	}  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?