Micro:Bit Advent Calendar Day 19 - Rotary Encoder with micro:bit

Need help for the Micro:Bit Advent Calendar Day 19 (Rotary Encoder with micro:bit )? Just post on this thread and our highly trained team of Micro:Bit ninjas will be able to help you in no time!

We were getting error code 023 from the Micro:Bit if we rotated the encoder too fast.

Limiting the number of outstanding screen updates gets rid of the error:
https://makecode.microbit.org/_ErVAvr9y6D9k

It looks like 023 is memory related: