2016-03-10 14:01:04 -08:00
|
|
|
{
|
2016-04-04 18:03:52 -07:00
|
|
|
"id": "microbit",
|
2016-06-22 09:43:41 -07:00
|
|
|
"name": "code the micro:bit",
|
2016-08-09 10:27:39 -07:00
|
|
|
"title": "code the micro:bit - Blocks / Javascript editor",
|
2016-08-12 03:37:27 -07:00
|
|
|
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
2016-03-10 14:41:57 -08:00
|
|
|
"corepkg": "microbit",
|
2016-03-10 14:01:04 -08:00
|
|
|
"bundleddirs": [
|
|
|
|
"libs/microbit",
|
2016-06-07 14:06:13 -07:00
|
|
|
"libs/microbit-radio",
|
|
|
|
"libs/microbit-devices",
|
2016-07-26 12:41:30 +01:00
|
|
|
"libs/microbit-bluetooth"
|
2016-04-04 18:03:52 -07:00
|
|
|
],
|
|
|
|
"cloud": {
|
|
|
|
"workspace": false,
|
2016-08-09 11:02:23 -07:00
|
|
|
"packages": true,
|
|
|
|
"preferredPackages": [
|
2016-08-17 09:44:08 -07:00
|
|
|
"Microsoft/pxt-neopixel",
|
2016-08-17 17:05:10 -07:00
|
|
|
"Microsoft/pxt-sonar",
|
2016-08-17 18:23:08 -07:00
|
|
|
"Microsoft/pxt-max6675",
|
|
|
|
"Microsoft/pxt-i2c-fram"
|
2016-08-09 11:02:23 -07:00
|
|
|
]
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
|
|
|
"blocksprj": {
|
|
|
|
"id": "blocksprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} block",
|
|
|
|
"dependencies": {
|
|
|
|
"microbit": "*",
|
|
|
|
"microbit-radio": "*"
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
|
|
|
"main.blocks",
|
2016-08-26 09:58:13 -07:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-04 18:03:52 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-05-24 22:18:33 -07: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 09:58:13 -07: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-04 18:03:52 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tsprj": {
|
|
|
|
"id": "tsprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} bit",
|
|
|
|
"dependencies": {
|
|
|
|
"microbit": "*",
|
|
|
|
"microbit-radio": "*"
|
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
2016-08-26 09:58:13 -07:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-04 18:03:52 -07:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-08-26 09:58:13 -07:00
|
|
|
"main.ts": "basic.showLeds(`\r\n . . . . .\r\n . # . # .\r\n . . . . .\r\n # . . . #\r\n . # # # .\r\n `);",
|
|
|
|
"README.md": ""
|
2016-04-04 18:03:52 -07:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"compile": {
|
|
|
|
"isNative": false,
|
2016-04-08 10:49:43 -07:00
|
|
|
"hasHex": true,
|
2016-07-28 10:22:05 -07:00
|
|
|
"deployDrives": "(MICROBIT|MBED)",
|
2016-06-03 09:47:06 -07:00
|
|
|
"driveName": "MICROBIT",
|
|
|
|
"hexMimeType": "application/x-microbit-hex"
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
2016-04-21 22:46:40 -07:00
|
|
|
"runtime": {
|
2016-05-11 11:39:45 -07:00
|
|
|
"mathBlocks": true,
|
|
|
|
"loopsBlocks": true,
|
|
|
|
"logicBlocks": true,
|
|
|
|
"variablesBlocks": true
|
2016-04-21 22:46:40 -07:00
|
|
|
},
|
2016-04-04 18:03:52 -07:00
|
|
|
"simulator": {
|
2016-05-04 22:44:11 -07:00
|
|
|
"autoRun": true,
|
|
|
|
"aspectRatio": 1.22
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
|
|
|
"compileService": {
|
2016-05-24 09:46:33 -07:00
|
|
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
|
|
|
"yottaCorePackage": "pxt-microbit-core",
|
|
|
|
"githubCorePackage": "microsoft/pxt-microbit-core",
|
2016-08-30 12:48:58 +02:00
|
|
|
"gittag": "v0.4.1",
|
2016-04-04 18:03:52 -07:00
|
|
|
"serviceId": "ws"
|
|
|
|
},
|
|
|
|
"serial": {
|
|
|
|
"manufacturerFilter": "^mbed$",
|
2016-04-09 01:27:08 -07:00
|
|
|
"nameFilter": "^mbed Serial Port",
|
2016-04-04 18:03:52 -07:00
|
|
|
"log": true
|
|
|
|
},
|
|
|
|
"appTheme": {
|
2016-05-19 11:59:57 -07:00
|
|
|
"accentColor": "#5C005C",
|
2016-06-22 09:43:41 -07:00
|
|
|
"logoUrl": "https://codethemicrobit.com/about",
|
2016-05-11 15:33:55 +02:00
|
|
|
"logo": "./static/microbit.simplified.svg",
|
|
|
|
"docsLogo": "./static/microbit.simplified.svg",
|
2016-05-11 11:39:45 -07:00
|
|
|
"portraitLogo": "./static/microbit.simplified.svg",
|
2016-05-11 15:33:55 +02:00
|
|
|
"footerLogo": "./static/microbit.simplified.svg",
|
2016-06-30 16:36:07 +01:00
|
|
|
"cardLogo": "https://az851932.vo.msecnd.net/pub/drbwxcth",
|
|
|
|
"appLogo": "https://az851932.vo.msecnd.net/pub/tbhemtig",
|
2016-05-11 09:18:29 -07:00
|
|
|
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray.png",
|
2016-06-22 09:43:41 -07:00
|
|
|
"homeUrl": "https://codethemicrobit.com/",
|
|
|
|
"embedUrl": "https://codethemicrobit.com/",
|
2016-05-11 06:45:45 -07:00
|
|
|
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
|
|
|
|
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
|
2016-06-03 09:47:06 -07:00
|
|
|
"boardName": "BBC micro:bit",
|
2016-04-04 18:03:52 -07:00
|
|
|
"docMenu": [
|
|
|
|
{
|
2016-06-01 07:42:03 -07:00
|
|
|
"name": "Getting Started",
|
|
|
|
"path": "/getting-started"
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
2016-06-10 23:15:12 -04:00
|
|
|
{
|
2016-06-15 14:04:06 -04:00
|
|
|
"name": "Projects",
|
2016-06-10 23:15:12 -04:00
|
|
|
"path": "/projects"
|
|
|
|
},
|
2016-04-04 18:03:52 -07:00
|
|
|
{
|
2016-06-15 14:04:06 -04:00
|
|
|
"name": "Reference",
|
2016-04-04 18:03:52 -07:00
|
|
|
"path": "/reference"
|
2016-06-14 11:58:01 -04:00
|
|
|
},
|
2016-06-14 17:20:45 -04:00
|
|
|
{
|
2016-06-15 06:31:13 -04:00
|
|
|
"name": "Blocks",
|
2016-06-14 17:20:45 -04:00
|
|
|
"path": "/blocks"
|
2016-06-15 06:31:13 -04:00
|
|
|
},
|
|
|
|
{
|
2016-06-17 09:01:29 -07:00
|
|
|
"name": "JavaScript",
|
|
|
|
"path": "/javascript"
|
2016-06-24 19:37:05 -04:00
|
|
|
},
|
|
|
|
{
|
2016-08-11 11:41:07 -07:00
|
|
|
"name": "Hardware",
|
2016-07-15 11:47:22 -07:00
|
|
|
"path": "/device"
|
2016-04-04 18:03:52 -07:00
|
|
|
}
|
2016-05-18 11:15:00 -07:00
|
|
|
],
|
2016-05-19 10:34:24 -07:00
|
|
|
"sideDoc": "getting-started"
|
2016-08-02 13:18:07 -07:00
|
|
|
},
|
|
|
|
"analytics": {
|
|
|
|
"userVoiceApiKey": "WEkkIGaj1WtJnSUF59iwaA",
|
|
|
|
"userVoiceForumId": 402381
|
2016-04-04 18:03:52 -07:00
|
|
|
}
|
2016-06-29 17:48:40 +01:00
|
|
|
}
|