Read/Write uC internal memory
Posted: Mon Oct 25, 2021 12:55 pm
I want to write a value to the internal non-volatile memory of the uC, so it can be retrieved after a subsequent startup. I don't see a library function to do this in the quick reference guide for the pyboard.
For example, suppose I read a value from the ADC, and I use that value to set a volume control register in an external device using the I2C bus. I would like to recall that volume control setting after reset. I'm looking for a function to allow me to write the value to internal memory, so I can later read it back, to accomplish this.
Regards
Andy
For example, suppose I read a value from the ADC, and I use that value to set a volume control register in an external device using the I2C bus. I would like to recall that volume control setting after reset. I'm looking for a function to allow me to write the value to internal memory, so I can later read it back, to accomplish this.
Regards
Andy