[Microbit-Python] Non volatile storage

Nicholas H.Tollervey ntoll at ntoll.org
Sat Oct 22 11:24:46 EDT 2016


It's all in the documentation here:

https://microbit-micropython.readthedocs.io/en/latest/tutorials/storage.html

Hope this helps,

N.

On 22/10/16 15:54, Piggott BRUCE wrote:
> Hi Guys.
> 
> I'm having a problem finding the correct instruction for storing non
> volatile data in the microbit module.
> 
> I need to store a variable collected during run time that is available
> on next power up.
> 
> I know I need to create a file of some sort and/  /have searched the web
> for how to do this but everything I have found does not work.
> 
> Can anybody give me a simple example of how to create a file of data
> that is available after a subsequent power up?
> 
> Cheers, Bruce
> 
> 
> 
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/microbit/attachments/20161022/aab2c25d/attachment.sig>


More information about the Microbit mailing list