2016-03-10 23:01:04 +01:00
|
|
|
{
|
2016-04-05 03:03:52 +02:00
|
|
|
"id": "microbit",
|
2016-10-07 11:53:18 +02:00
|
|
|
"nickname": "microbit",
|
2016-10-21 19:49:04 +02:00
|
|
|
"name": "pxt.microbit.org",
|
|
|
|
"title": "pxt.microbit.org - Blocks / Javascript editor for micro:bit",
|
2016-08-12 12:37:27 +02:00
|
|
|
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
2016-10-11 01:21:50 +02:00
|
|
|
"corepkg": "core",
|
2016-03-10 23:01:04 +01:00
|
|
|
"bundleddirs": [
|
2016-10-11 01:21:50 +02:00
|
|
|
"libs/core",
|
|
|
|
"libs/radio",
|
|
|
|
"libs/devices",
|
|
|
|
"libs/bluetooth"
|
2016-04-05 03:03:52 +02:00
|
|
|
],
|
|
|
|
"cloud": {
|
|
|
|
"workspace": false,
|
2016-08-09 20:02:23 +02:00
|
|
|
"packages": true,
|
2016-10-21 19:49:04 +02:00
|
|
|
"sharing": false,
|
2016-10-08 03:20:42 +02:00
|
|
|
"publish": false,
|
2016-08-09 20:02:23 +02:00
|
|
|
"preferredPackages": [
|
2016-10-21 19:49:04 +02:00
|
|
|
"Microsoft/pxt-neopixel"
|
2016-10-07 11:53:18 +02:00
|
|
|
],
|
2016-10-21 19:49:04 +02:00
|
|
|
"githubPackages": false
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"blocksprj": {
|
|
|
|
"id": "blocksprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} block",
|
|
|
|
"dependencies": {
|
2016-10-11 01:21:50 +02:00
|
|
|
"core": "*",
|
|
|
|
"radio": "*"
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
|
|
|
"main.blocks",
|
2016-08-26 18:58:13 +02:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-05 03:03:52 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-05-25 07:18:33 +02:00
|
|
|
"main.blocks": "<xml xmlns=\"http://www.w3.org/1999/xhtml\">\n<block type=\"device_forever\">\n<statement name=\"HANDLER\">\n<block type=\"device_show_leds\">\n<field name=\"LED00\">FALSE</field>\n<field name=\"LED10\">FALSE</field>\n<field name=\"LED20\">FALSE</field>\n<field name=\"LED30\">FALSE</field>\n<field name=\"LED40\">FALSE</field>\n<field name=\"LED01\">FALSE</field>\n<field name=\"LED11\">TRUE</field>\n<field name=\"LED21\">FALSE</field>\n<field name=\"LED31\">TRUE</field>\n<field name=\"LED41\">FALSE</field>\n<field name=\"LED02\">FALSE</field>\n<field name=\"LED12\">FALSE</field>\n<field name=\"LED22\">FALSE</field>\n<field name=\"LED32\">FALSE</field>\n<field name=\"LED42\">FALSE</field>\n<field name=\"LED03\">TRUE</field>\n<field name=\"LED13\">FALSE</field>\n<field name=\"LED23\">FALSE</field>\n<field name=\"LED33\">FALSE</field>\n<field name=\"LED43\">TRUE</field>\n<field name=\"LED04\">FALSE</field>\n<field name=\"LED14\">TRUE</field>\n<field name=\"LED24\">TRUE</field>\n<field name=\"LED34\">TRUE</field>\n<field name=\"LED44\">FALSE</field>\n<next>\n<block type=\"device_show_leds\">\n<field name=\"LED00\">FALSE</field>\n<field name=\"LED10\">FALSE</field>\n<field name=\"LED20\">FALSE</field>\n<field name=\"LED30\">FALSE</field>\n<field name=\"LED40\">FALSE</field>\n<field name=\"LED01\">FALSE</field>\n<field name=\"LED11\">FALSE</field>\n<field name=\"LED21\">FALSE</field>\n<field name=\"LED31\">FALSE</field>\n<field name=\"LED41\">FALSE</field>\n<field name=\"LED02\">FALSE</field>\n<field name=\"LED12\">FALSE</field>\n<field name=\"LED22\">FALSE</field>\n<field name=\"LED32\">FALSE</field>\n<field name=\"LED42\">FALSE</field>\n<field name=\"LED03\">FALSE</field>\n<field name=\"LED13\">FALSE</field>\n<field name=\"LED23\">FALSE</field>\n<field name=\"LED33\">FALSE</field>\n<field name=\"LED43\">FALSE</field>\n<field name=\"LED04\">FALSE</field>\n<field name=\"LED14\">FALSE</field>\n<field name=\"LED24\">FALSE</field>\n<field name=\"LED34\">FALSE</field>\n<field name=\"LED44\">FALSE</field>\n</block>\n</next>\n</block>\n</statement>\n</block>\n</xml>",
|
2016-08-26 18:58:13 +02:00
|
|
|
"main.ts": "basic.forever(() => {\r\n basic.showLeds(`\r\n . # . # .\r\n # . # . #\r\n # . . . #\r\n . # . # .\r\n . . # . .\r\n `)\r\n basic.showLeds(`\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n `)\r\n})\r\n",
|
|
|
|
"README.md": ""
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tsprj": {
|
|
|
|
"id": "tsprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} bit",
|
|
|
|
"dependencies": {
|
2016-10-11 01:21:50 +02:00
|
|
|
"core": "*",
|
|
|
|
"radio": "*"
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
2016-08-26 18:58:13 +02:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-05 03:03:52 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-08-26 18:58:13 +02:00
|
|
|
"main.ts": "basic.showLeds(`\r\n . . . . .\r\n . # . # .\r\n . . . . .\r\n # . . . #\r\n . # # # .\r\n `);",
|
|
|
|
"README.md": ""
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"compile": {
|
|
|
|
"isNative": false,
|
2016-04-08 19:49:43 +02:00
|
|
|
"hasHex": true,
|
2016-07-28 19:22:05 +02:00
|
|
|
"deployDrives": "(MICROBIT|MBED)",
|
2016-06-03 18:47:06 +02:00
|
|
|
"driveName": "MICROBIT",
|
2016-10-11 01:21:50 +02:00
|
|
|
"hexMimeType": "application/x-microbit-hex",
|
|
|
|
"upgrades": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"map": {
|
|
|
|
"microbit": "core",
|
|
|
|
"microbit-bluetooth": "bluetooth",
|
|
|
|
"microbit-radio": "radio",
|
|
|
|
"microbit-devices": "devices",
|
|
|
|
"microbit-led": "",
|
|
|
|
"microbit-music": "",
|
|
|
|
"microbit-game": "",
|
|
|
|
"microbit-pins": "",
|
|
|
|
"microbit-serial": ""
|
|
|
|
}
|
2016-10-21 19:49:04 +02:00
|
|
|
},
|
2016-10-19 06:36:42 +02:00
|
|
|
{
|
|
|
|
"type": "api",
|
|
|
|
"map": {
|
2016-10-21 19:49:04 +02:00
|
|
|
"bluetooth\\.uartRead\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
|
|
|
"bluetooth\\.uartWrite\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
|
2016-10-19 06:36:42 +02:00
|
|
|
}
|
2016-10-11 01:21:50 +02:00
|
|
|
}
|
|
|
|
]
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
2016-04-22 07:46:40 +02:00
|
|
|
"runtime": {
|
2016-05-11 20:39:45 +02:00
|
|
|
"mathBlocks": true,
|
|
|
|
"loopsBlocks": true,
|
|
|
|
"logicBlocks": true,
|
|
|
|
"variablesBlocks": true
|
2016-04-22 07:46:40 +02:00
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
"simulator": {
|
2016-05-05 07:44:11 +02:00
|
|
|
"autoRun": true,
|
2016-09-09 18:59:07 +02:00
|
|
|
"streams": true,
|
2016-08-31 02:18:03 +02:00
|
|
|
"aspectRatio": 1.22,
|
2016-09-09 10:39:52 +02:00
|
|
|
"parts": true,
|
2016-08-31 02:18:03 +02:00
|
|
|
"partsAspectRatio": 0.69,
|
2016-09-14 00:32:12 +02:00
|
|
|
"boardDefinition": {
|
|
|
|
"visual": "microbit",
|
|
|
|
"gpioPinBlocks": [
|
|
|
|
[
|
|
|
|
"P0"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P1"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P2"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P3"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P4",
|
|
|
|
"P5",
|
|
|
|
"P6",
|
|
|
|
"P7"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P8",
|
|
|
|
"P9",
|
|
|
|
"P10",
|
|
|
|
"P11",
|
|
|
|
"P12"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P16"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"gpioPinMap": {
|
|
|
|
"P0": "P0",
|
|
|
|
"P1": "P1",
|
|
|
|
"P2": "P2",
|
|
|
|
"P3": "P3",
|
|
|
|
"P4": "P4",
|
|
|
|
"P5": "P5",
|
|
|
|
"P6": "P6",
|
|
|
|
"P7": "P7",
|
|
|
|
"P8": "P8",
|
|
|
|
"P9": "P9",
|
|
|
|
"P10": "P10",
|
|
|
|
"P11": "P11",
|
|
|
|
"P12": "P12",
|
|
|
|
"P13": "P13",
|
|
|
|
"P14": "P14",
|
|
|
|
"P15": "P15",
|
|
|
|
"P16": "P16",
|
|
|
|
"P19": "P19",
|
|
|
|
"P20": "P20"
|
|
|
|
},
|
|
|
|
"spiPins": {
|
|
|
|
"MOSI": "P15",
|
|
|
|
"MISO": "P14",
|
|
|
|
"SCK": "P13"
|
|
|
|
},
|
|
|
|
"i2cPins": {
|
|
|
|
"SDA": "P20",
|
|
|
|
"SCL": "P19"
|
|
|
|
},
|
|
|
|
"analogInPins": [
|
|
|
|
"P0",
|
|
|
|
"P1",
|
|
|
|
"P2",
|
|
|
|
"P3",
|
|
|
|
"P10"
|
|
|
|
],
|
|
|
|
"groundPins": [
|
|
|
|
"GND"
|
|
|
|
],
|
|
|
|
"threeVoltPins": [
|
|
|
|
"+3v3"
|
|
|
|
],
|
|
|
|
"attachPowerOnRight": true,
|
|
|
|
"onboardComponents": [
|
2016-09-29 17:15:58 +02:00
|
|
|
"accelerometer",
|
2016-09-14 00:32:12 +02:00
|
|
|
"buttonpair",
|
|
|
|
"ledmatrix",
|
2016-09-29 17:15:58 +02:00
|
|
|
"speaker",
|
|
|
|
"bluetooth",
|
|
|
|
"thermometer",
|
|
|
|
"compass"
|
2016-09-14 00:32:12 +02:00
|
|
|
],
|
|
|
|
"useCrocClips": true,
|
|
|
|
"marginWhenBreadboarding": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
80,
|
|
|
|
0
|
|
|
|
]
|
2016-08-31 02:18:03 +02:00
|
|
|
}
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"compileService": {
|
2016-05-24 18:46:33 +02:00
|
|
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
|
|
|
"yottaCorePackage": "pxt-microbit-core",
|
|
|
|
"githubCorePackage": "microsoft/pxt-microbit-core",
|
2016-09-09 11:17:28 +02:00
|
|
|
"gittag": "v0.5.0",
|
2016-04-05 03:03:52 +02:00
|
|
|
"serviceId": "ws"
|
|
|
|
},
|
|
|
|
"serial": {
|
|
|
|
"manufacturerFilter": "^mbed$",
|
2016-04-09 10:27:08 +02:00
|
|
|
"nameFilter": "^mbed Serial Port",
|
2016-04-05 03:03:52 +02:00
|
|
|
"log": true
|
|
|
|
},
|
|
|
|
"appTheme": {
|
2016-05-19 20:59:57 +02:00
|
|
|
"accentColor": "#5C005C",
|
2016-10-21 19:49:04 +02:00
|
|
|
"logoUrl": "http://microbit.org/",
|
2016-10-21 20:12:03 +02:00
|
|
|
"logo": "./static/logo.portrait.black.svg",
|
2016-10-21 19:49:04 +02:00
|
|
|
"docsLogo": "./static/logo.square.white.svg",
|
|
|
|
"portraitLogo": "./static/logo.square.black.svg",
|
|
|
|
"footerLogo": "./static/logo.portrait.black.svg",
|
2016-06-30 17:36:07 +02:00
|
|
|
"cardLogo": "https://az851932.vo.msecnd.net/pub/drbwxcth",
|
|
|
|
"appLogo": "https://az851932.vo.msecnd.net/pub/tbhemtig",
|
2016-09-29 00:25:58 +02:00
|
|
|
"organization": "Microsoft",
|
2016-10-21 19:49:04 +02:00
|
|
|
"organizationUrl": "https://pxt.io/",
|
2016-05-11 18:18:29 +02:00
|
|
|
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray.png",
|
2016-10-21 19:49:04 +02:00
|
|
|
"homeUrl": "https://pxt.microbit.org/",
|
|
|
|
"embedUrl": "https://pxt.microbit.org/",
|
2016-05-11 15:45:45 +02:00
|
|
|
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
|
|
|
|
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
|
2016-09-07 11:33:36 +02:00
|
|
|
"githubUrl": "https://github.com/Microsoft/pxt-microbit",
|
2016-10-21 19:49:04 +02:00
|
|
|
"boardName": "micro:bit",
|
|
|
|
"sideDoc": "getting-started",
|
2016-09-13 19:33:06 +02:00
|
|
|
"browserSupport": [
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "*",
|
|
|
|
"path": "/browsers"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "mac",
|
|
|
|
"path": "/browsers/mac"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "linux",
|
|
|
|
"path": "browsers/linux"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "rpi",
|
|
|
|
"path": "/raspberry-pi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "windows",
|
|
|
|
"path": "/browsers/windows"
|
|
|
|
}
|
|
|
|
],
|
2016-04-05 03:03:52 +02:00
|
|
|
"docMenu": [
|
2016-10-21 19:49:04 +02:00
|
|
|
{
|
|
|
|
"name": "Support",
|
2016-10-21 20:42:29 +02:00
|
|
|
"path": "https://support.microbit.org/"
|
2016-10-21 19:49:04 +02:00
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
{
|
2016-06-01 16:42:03 +02:00
|
|
|
"name": "Getting Started",
|
|
|
|
"path": "/getting-started"
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
2016-06-11 05:15:12 +02:00
|
|
|
{
|
2016-06-15 20:04:06 +02:00
|
|
|
"name": "Projects",
|
2016-06-11 05:15:12 +02:00
|
|
|
"path": "/projects"
|
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
{
|
2016-06-15 20:04:06 +02:00
|
|
|
"name": "Reference",
|
2016-04-05 03:03:52 +02:00
|
|
|
"path": "/reference"
|
2016-06-14 17:58:01 +02:00
|
|
|
},
|
2016-06-14 23:20:45 +02:00
|
|
|
{
|
2016-06-15 12:31:13 +02:00
|
|
|
"name": "Blocks",
|
2016-06-14 23:20:45 +02:00
|
|
|
"path": "/blocks"
|
2016-06-15 12:31:13 +02:00
|
|
|
},
|
|
|
|
{
|
2016-06-17 18:01:29 +02:00
|
|
|
"name": "JavaScript",
|
|
|
|
"path": "/javascript"
|
2016-06-25 01:37:05 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-11 20:41:07 +02:00
|
|
|
"name": "Hardware",
|
2016-07-15 20:47:22 +02:00
|
|
|
"path": "/device"
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
2016-05-18 20:15:00 +02:00
|
|
|
],
|
2016-09-12 20:10:30 +02:00
|
|
|
"usbDocs": "/device/usb",
|
|
|
|
"usbHelp": [
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "*",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-generic.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-mac.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "firefox",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-firefox-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "firefox",
|
2016-09-15 07:43:59 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-firefox-1.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "chrome",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-chrome.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "edge",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-edge-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "ie",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-ie11-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "chrome",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-chrome.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-dnd.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-sendto.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
}
|
|
|
|
]
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
2016-09-29 17:15:58 +02:00
|
|
|
}
|