LED editor using MicroBlocks extension

Using the app you can control the LEDs on your microcontroller using BLE in realtime. It doesn't matter if the board has LEDs, OLED or TFT screen. I used MicroBlocks and the MicroBlocks extension to program the microcontroller. MicroBlocks will simulate big pixels on your OLED or TFT screen.

App in use


Design

Blocks

App Inventor

MicroBlocks

allScripts40969179

You only need the top 3 blocks to make it work. The lower 2 are just to show the microcontroller is running.

You have to install the MicroBlocks vm for your board. This can be done from the online or offline editor. The MicroBlocks code I used works on the boards I have in my possession, but it works on even more boards with an LED, OLED or TFT display.

For all my MicroBlocks projects I am using the latest pilot version of MicroBlocks. I used @Taifun Tools Extension to keep the screen on while connected to the microcontroller.

Links

MicroBlocks Website

MicroBlocks Get Started

MicroBlocks Extension Topic

Open MicroBlocks Code in Editor

led_editor.aia (228.0 KB)

4 Likes