minodekit / pxt-minode

mi:node kit(micro:bit IoT Starter Kit by element14) driver package for PXT/microbit
MIT License
27 stars 11 forks source link
arduino electronic-bricks mbed microbit sensor sensor-modules

pxt-minode

mi:node Kit(micro:bit accessories by Embest) driver package for JavaScript Blocks Editor / makecode.microbit.org

Usage

  1. Open Microsoft PXT/microbit and new a project
  2. Search and add the minode package
  3. Use the Minode drawer in the editor to drag out and arrange the blocks
  4. Click Download to move your program to the micro:bit

About mi:node Kit

The mi:node kit is a modular, safe and easy to use group of items that allow kids to minimize the effort required to get started with IoT learning with micro:bit.

For this kit, there is no need for soldering, plug then use, the construction of the working circuit can be done within one minute.

Documentation

More please refer to http://www.embest-tech.com.

Example

Change the RGB LED color by pressing the button A and B.

input.onButtonPressed(Button.A, () => {
    minode.rgbChooseColor(ConnName.D13, MiNodeColor.MiNode_RGB_COLOR_RED)
})
input.onButtonPressed(Button.B, () => {
    minode.rgbChooseColor(ConnName.D13, MiNodeColor.MiNode_RGB_COLOR_GREEN)
})

License

MIT

Supported targets

minode=github:minodekit/pxt-minode