Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm trying to edit the EEPROM NFC example here: https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-nfc-EEPROM/ in order to execute some custom logic. I want to be able, in the scope of other code happening in the main, to manually trigger reads and writes to the EEPROM in order to see if someone has written on it at certain points of the program, and to reset the value to a default one at other points.
As the docs explain very little of the whole workflow with queues and everything (I thought I understood after reading this: https://os.mbed.com/docs/mbed-os/v5.13/tutorials/the-eventqueue-api.html but the whole interaction with the NFCEEPROM class and its Delegate got me even more confused), I really don't get how to do something this simple.
If anyone could help I'd really appreciate it!