This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "hardware/flash.h" | |
| // The two primary functions that you would use are: | |
| // bool read(uint8_t *output, uint8_t size); | |
| // void write(uint8_t *data, uint8_t size); | |
| // The read(...) function will either fill the *output buffer | |
| // with size bytes (and return true), or will return false if | |
| // there is no saved data available to be read. |