num1=byte_read(0x2000);//???????????EEPROM??????if(num1>=60) //????????????????? num1=0;while(1) { if(num>=20) { num=0; num1++; SectorErase(0x2000);//??????? byte_write(0x2000,num1);//????д?????? if(num1==60) { num1=0; } a=num1/10; b=num1%10; } display(a,b);}
这是开发板带的程序,擦除地址可以改吗,范围多大?能不能存入多组数据?
|