Starter Guide
www.adeept.com
- 110 -
3. Experimental code:
Lesson 30 Rotary encoder->code->Rotary_encoder.py
4. Click “flash” and download the code onto the micro:bit.
Now you can see that when we rotate the rotary encoder clockwise and
counterclockwise, we can see the corresponding content display on the
matrix LED.
Effect Picture:
Summary:
Through this lesson, I believe that you have had a certain understanding of
the working principle and operation mode of the rotary encoder.