Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 2.35 KB

File metadata and controls

59 lines (42 loc) · 2.35 KB
title Add Packages to Microsoft's Microbit PXT.IO editor
layout text-width-sidebar
meta-description How to add packages to PXT
share true
author jez
about Add packages to microsoft's PXT editor the microbit.
cats other
simple-description Add Packages to PXT
date 2016-12-23 10:20:00 UTC
date-updated 2016-12-23 10:20:00 UTC

The PXT.IO editor can use packages to add additional components or for extra functionality to the microbit. At present, there are libraries to use a sonar sensor, neopixels and a thermocoupler.

Here's the full list:

To drive neopixels, you need to add the neopixel package to your program:

Click 'Add Package'

Microbit microsoft pxt add package{:.ui .image .medium .centered}

Select the Package to Use

Select the Package{:.ui .image .medium .centered}

Use the Package in your Program

Using the neopixel package{:.ui .image .medium .centered}

Notes

  • It's possible to write your own packages. There's a write up here.. These are added to PXT.io if approved by microsoft (?)
  • PXT.io can be run from a local machine.
  • Unlike the TouchDevelop platform for the microbit, you cannot add your own packages. To do this, you must install PXT on a local machine.
  • A list of the current packages is in a README file on Github.