You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Micro:bit is an amazing platform. The possibility to write programs in TypeScript that are converted to native code as opposed to being interpreted (MicroPython), is great.
There is one thing that I lack a lot - the possibility to persist data.
From what I've read, there is a MicroBitStorage component (and MicroBitFileSystem in the micro:bit v2 API), that allows exactly what I'm after, but in C++. The TypeScript API lacks both, unfortunately.
The solution
A key:value store API in TypeScript would be perfectly sufficient, to allow for persistent program state between micro:bit restarts.
Alternatives
External data storage (if that's even possible) would be very impractical, as it would require additional hardware, more power, and also would consume a lot of space when fitted into 3D printed cases for outdoor (or even indoor) projects.
The text was updated successfully, but these errors were encountered:
Intro
Micro:bit is an amazing platform. The possibility to write programs in TypeScript that are converted to native code as opposed to being interpreted (MicroPython), is great.
There is one thing that I lack a lot - the possibility to persist data.
From what I've read, there is a MicroBitStorage component (and
MicroBitFileSystem
in the micro:bit v2 API), that allows exactly what I'm after, but in C++. The TypeScript API lacks both, unfortunately.The solution
A
key:value
store API in TypeScript would be perfectly sufficient, to allow for persistent program state between micro:bit restarts.Alternatives
External data storage (if that's even possible) would be very impractical, as it would require additional hardware, more power, and also would consume a lot of space when fitted into 3D printed cases for outdoor (or even indoor) projects.
The text was updated successfully, but these errors were encountered: