| 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:
{:.ui .image .medium .centered}
{:.ui .image .medium .centered}
{:.ui .image .medium .centered}
- 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.