Does this work with a Micro:bit V1? I keep getting memory allocation errors on mine.
Hi Graeme,
Welcome to the forum
In order to have one library that works for the micro:bit, Pico, and Pi there was a process to minify the code and compress it down as much as possible to fit on the micro:bit. The minified/unified libraries can be found here: CE-PiicoDev-Unified/min at main · CoreElectronics/CE-PiicoDev-Unified · GitHub
I’m not sure if the minified library was made small enough to fit on the V1 micro:bit as the V2 has a bit more memory space, I’ll double-check with a member of our PiicoDev design team and get back to you with V1 compatibility.
Hi Graeme
We recommend Micro:bit v2 for all PiicoDev projects (and for any MicroPython project in general).
The v1 just doesn’t have enough memory - MicroPython alone consumes practically all the onboard resources.
Thanks, that easily fixed by getting a V2. I thought I was doing something wrong.
Hi Graeme,
No worries, it’s always good to ask the question and get clarification before spending too much time tearing your hair out on a problem
Let us know if you have any troubles with a V2 micro:bit and we’ll get it sorted out!