Skip to main content

03 Rotary Button

RotaryButton.png​

Module Introduction​

jacdac32.png

  1. Jacdac Interface
  2. Jacdac Communication Indicator
  3. Rotary Encoder with Button
  4. Jacdac Standard Through Hole
  5. Product QR Code

Components used​

  • 1x MicroUSB Cable
  • 1x MicrobitV2
  • 1x Jacdaptor
  • 1x Cable
  • 1x RotaryButton

Connection​

PC-〉MicroUSB -〉MicrobitV2-〉Jacdaptor-〉Cable-〉RotaryButton

5.JPG

Coding Platform​

https://makecode.microbit.org/

Create a new project​

jacdac05.png

Establish a connection​

webUSB.png

Extensions——Jacdac

jacdac扩展.png

Add Jacdac RotaryButton Block​

jacdac09.png

Program and download​

jacdac10.png

After downloading, you need to press the A button to start​

6.JPG

The Result​

When the rotary button is not turned:

7.PNG

When the rotary button is turned 5 grids: one circle is 20 grids

8.PNG