We wonder why get the 022 error message when downloaded to BrainPad Arcade. This very simple flip image code does not work for us. Please try it on your game console and see if you get the same error, are we doing something wrong?
What is 022 error anyway? I do not see it here: https://arcade.makecode.com/hardware/errors
It seem to happen on all devices. We will check.
Looks like this is an out of memory exception