|
111.C(72): warning C206: 'SectorErase': missing function-prototype
111.C(72): error C267: 'SectorErase': requires ANSI-style prototype
char xdata DisplayBuf[10]; //當前讀出卡的ID
char xdata DisplayBuf_c[10]; //當前單片機里存的卡ID
void write_eeprom()
{
SectorErase(0x2000); //清空
byte_write(0x2000,TempPassword[0]);
byte_write(0x2011,TempPassword[1]);
byte_write(0x2002,TempPassword[2]);
byte_write(0x2003,TempPassword[3]);
byte_write(0x2004,TempPassword[4]);
byte_write(0x2005,TempPassword[5]);
byte_write(0x2060,0x01);
|
|