A rotary encoder (aka "endless encoder") can be used as a controller on the PyBadge and PyGamer in MakeCode Arcade. We can determine the speed and direction of rotation and then apply that to sprite positions or other settings in a game. This fishing game makes use of the "crank" blocks in MakeCode Arcade to reel in the fish!
This guide was first published on Aug 12, 2019. It was last updated on Aug 12, 2019.
This page (Overview) was last updated on Aug 09, 2019.
Text editor powered by tinymce.