mi:node kit(micro:bit IoT Starter Kit by element14) driver package for PXT/microbit
Clone or download
ahnniu Fixes the compatibility problems with new version of the JavaScript B…
…locks editor v1(lanched on Oct 26, 2018). The v1 editor doesn't recognize the 'typedef enum' as a enum in cpp, but a new type.
Latest commit 63cff7a Nov 16, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
libs
.gitignore
LICENSE
Makefile
README.md
enums.d.ts
icon.png
minode.jpg
minode.ts
pxt.json Fixes the compatibility problems with new version of the JavaScript B… Nov 16, 2018
rgb_demo.jpg
shims.d.ts
tests.ts
tsconfig.json

README.md

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.

  • Safe, Ready-to-use like Lego
    • It is modular
    • Safe for kids. No need for soldering
    • Easy. Just plug then use it
    • Expandable and reusable
  • Ten modules Focus on IoT Node
    • 10 sensor modules include:environmental monitoring, user interface, physical monitoring
    • Can be built a lot of cool projects include wearable device and smart home, etc.

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

  • for PXT/microbit (The metadata above is needed for package search.)
minode=github:minodekit/pxt-minode