Micro-bit 020 error

Hello! l use maqueen project and bluetooth in my code. But when upload my code microbit crash with 020 error code. Help me please.

Hello Hseyn,

Welcome to the forum :slight_smile:

The micro:bit error code 020 indicates that the Micro:bit has run out of memory for the program.
Since you only have a couple of blocks there it might mean some part of that block is creating a very big variable, or something is being created repeatedly until the memory fills up.

The part that has me suspicious at first is the trigger “bluetooth uart read until newline()” If the newline is never sent the micro:bit will keep reading more and more data until it is full and throw an error.

Do you have a link to where you got that code from? Were you copying from another guide or resource?