Here is my code for reference. Once I connected to the Micro:Bit, it responded with a 022 error. Please take a look, thank you.
Unless the micro:bit codes are different, error code 022 is, essentially, an out of memory error.
Does that mean my code is way too complicated?
No … not exactly, anyway. I’m not very familiar with the micro:bit implementation, but I’m guessing it has to do with the OLED graphics. These devices have limited RAM. On the MakeCode Arcade side of things, drawing images in RAM quickly runs into the memory limitations.
Which micro:bit version do you have? It looks like you need a version 2 so it will not run on a version 1.
I tested it on my version 2 micro:bit and it works.
I want to say that this is a fantastic project. Well done.
Oh, I guess you’re right. Once I removed the coding lines of the OLED display, everything works perfectly fine. Thanks for the information!
I have been using a version 2.2 something, yet it still doesn’t work. I think it’s the problem of the OLED display, because once I removed the coding lines of the display, everything works fine. Anyway, thanks!