Skip to main content

05 Keycap Button

KeycapButton.png​

Module Introduction​

jacdac34.png

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

Components used​

  • 1x MicroUSB Cable
  • 1x MicrobitV2
  • 1x Jacdaptor
  • 1x Cable
  • 1x Keycap Button

Connection​

PC-〉MicroUSB -〉MicrobitV2-〉Jacdaptor-〉Cable-〉Keycap Button

image.png

Coding Platform​

https://makecode.microbit.org/beta

Coding Platform​

https://makecode.microbit.org/

Create a new project​

jacdac05.png

Establish a connection​

webUSB.png

Extensions——Jacdac

jacdac扩展.png )

Add Jacdac KeycapButton Block​

add block.png

Program and download​

微信图片_202206091551196.png

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

微信图片_202206091551194.jpg

The Result​

When the button is not pressed:

b06f6b7e7208b81b1b5f05411ba7ba3.jpg

When the button is pressed:

2cabcc7adc52eb4c4184e656e05c379.jpg