public void WriteEEPROM(int address, byte value) { if (address >= 0 && address < DLL.EEPROM_size()) { DLL.EEPROM_write(address, value); } }
public byte[] ReadEEPROM() { byte[] eeprom = new byte[DLL.EEPROM_size()]; for (int i = 0; i < eeprom.Length; i++) { eeprom[i] = ReadEEPROM(i); } return(eeprom); }
public byte ReadEEPROM(int address) { if (address >= 0 && address < DLL.EEPROM_size()) { return(DLL.EEPROM_read(address)); } else { // Reading outside the memory return(0); } }