⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 in_eeprom.c

📁 ad转换的程序
💻 C
字号:
/*-----------------------------------------------------------------------------------------
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -