void write( int addr, uint8_t value );
void write( int addr, uint8_t value );
Writes a byte to the EEPROM.
|
Parameters |
Description |
|
int addr |
addr: The location to write to, starting from 0 (Integer). |
|
uint8_t value |
value: The value to write, from 0 to 255 (Bytes). |
void
#include <EEPROM.h> void setup() { for (int i = 0; i < 512; i++) EEPROM.write(i, i); } void loop() { }
LEEPROM.h