Blevene / LabsConBadge_2023

LabsConBadge 2023
4 stars 2 forks source link

file load/save #16

Closed securelyfitz closed 1 year ago

securelyfitz commented 1 year ago

build a separate module to handle all file i/o. file i/o can be taken from prototype code, but data format needs to be simplified, perhaps raw text with 1 entry per line? Data that needs to be stored and updated in files for persistence:

read-only data that should come from files

ideally the module will have a few member functions:

there is some state that should be derived from the files and calculated on load:

securelyfitz commented 1 year ago
securelyfitz commented 1 year ago

everything but crypto done, but there's a separate issue for that, so closing this one.

Note: either circuitpython or the usb host can write files - not both at the same time. See boot.py for more.