|This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (January 2020)|
The micro:bit Extension is an extension introduced in Scratch 3.0 that allows users to interact with the micro:bit. There are 10 blocks in this category, including 3 stack blocks, 4 hat blocks, 1 reporter block, and 2 boolean blocks.
when ( v) button pressed :: microbit hatThis block is used to run a code when a button on the micro:bit is pressed.
<( v) button pressed? :: microbit>This is used to detect whether a button on the micro:bit is pressed or not.
when ( v) :: microbitThis runs a code when the micro:bit is moved, shaken or jumped.
display ( v) :: microbitThis is used to display a pre-made icon on the micro:bit LED display.
display text  :: microbitThis is used to diplay some text on the micro:bit LED display.
clear display :: microbitThis clears the LED display.
when tilted ( v) :: microbit hatThis runs a code when the micro:bit is tilted by a certain amount.
<tilted ( v)? :: microbit>This detects whether the micro:bit is tilted by an amount.
(tilt angle ( v) :: microbit)This reports the angle that the micro:bit is tilted at.
when pin ( v) connected :: microbit hatThis starts a code when a pin on the micro:bit is connected to a device.
|Main Block Categories|
Music Extension • Pen Extension • Video Sensing Extension • Text to Speech Extension • Translate Extension • Makey Makey Extension • micro:bit Extension • LEGO Mindstorms EV3 Extension • LEGO Education WeDo 2.0 Extension • Go Direct Force and Acceleration Extension