You can create a reserved section in Flash memory to store a flag or a counter that indicates whether the Pico has been initialized or not. Upon startup, the program can check this flag. If it indicates that the Pico has not been initialized yet, it can set default data and update the flag to indicate initialization.
Statistics: Posted by embeddedbarsha — Fri Dec 15, 2023 6:25 am