Hi
I’m developing an extension with GitHub and would like some help.
I am new to developing extensions and want to know how to add a block that turns on a certain amount of LEDs.
If you use the following link, you can see what I already have. https://github.com/dillonbarnes/microbit-screen-as-a-line
I’ve been using the BETA Deep Dive lessons on Mixer to help.
Looks like you got the gist of it. Do you already have a javascript function that turns on the led? Once you have it, you turn it into a block by adding the special comments.
Do not add block definitions directly into main.ts as they will show up as grey blocks. Instead, follow the steps below to add a new file, custom.ts , and add all your blocks in that file.