Micro:bit JavaScript Blocks Editor: Detecting button click events

The objective of this post is to explain how to detect when a user presses one of the micro:bit buttons and react to those events, using the JavaScript Code Blocks editor.   Introduction The objective of this post is to explain how to detect when a user presses one of the micro:bit buttons and react …

Micro:bit JavaScript Blocks Editor: Turning LEDs on and off

The objective of this post is to explain how to turn on, turn off and toggle the LEDs from the micro:bit LED matrix. We will be using the using JavaScript Blocks Editor for developing our code. Introduction The objective of this post is to explain how to turn on, turn off and toggle the LEDs from the micro:bit …