Commit 2fb2cd21 authored by deroo's avatar deroo
Browse files

Update README.md

parent 936b9f7b
......@@ -27,14 +27,13 @@ particularly when the datatype is of the size of a flash word or larger
Arrays of datatypes smaller than a flash word (eg. char, byte, short)
are awkward to implement, but doable.
Write data to a flash array with this motif:
flashMode(FLASH_WRITE);
arrayInFlash[index]=value;
flashMode(FLASH_READONLY);
and erase a page in flash with this motif:
flashMode(FLASH_ERASE);
flashErasePage(pageNumber);
Write data to a flash array with this motif:<br>
flashMode(FLASH_WRITE);<br>
arrayInFlash[index]=value;<br>
flashMode(FLASH_READONLY);<br>
and erase a page in flash with this motif:<br>
flashMode(FLASH_ERASE);<br>
flashErasePage(pageNumber);<br>
flashMode(FLASH_READONLY);
The first 16 pages (0-15) are used for the bootloader.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment