Datasheet
EEPROM_Write
212
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure EEPROM_Write(dim address as word, dim wrdata as byte)
Returns Nothing.
Description
Writes wrdata to specified address.
Parameters :
-
address: address of the EEPROM memory location to be written.
- wrdata: data to be written.
Note: Specified memory location will be erased before writing starts.
Requires Nothing.
Example
dim eeWrite as byte
wrAddr as word
...
eeWrite = 0x02
wrAddr = 0xAA
EEPROM_Write(wrAddr, eeWrite)