29.8.1.2.1 Code

Copy-paste the following code to your user application:
uint8_t page_data[RWW_EEPROM_PAGE_SIZE];
rww_eeprom_emulator_read_page(0, page_data);

page_data[0] = !page_data[0];
port_pin_set_output_level(LED_0_PIN, page_data[0]);

rww_eeprom_emulator_write_page(0, page_data);
rww_eeprom_emulator_commit_page_buffer();

page_data[1]=0x1;
rww_eeprom_emulator_write_page(0, page_data);

while (true) {

}