Compare commits
45 Commits
Author | SHA1 | Date | |
---|---|---|---|
4bcba9b9e5 | |||
b3b836d77c | |||
a2cb2c2ed0 | |||
44e2ffc874 | |||
64b68c7439 | |||
198b24c6a4 | |||
a90a43d719 | |||
f9d138cb42 | |||
13089f92a8 | |||
0b1b312e76 | |||
958ff2ef40 | |||
eaf982903f | |||
cbfbcd080a | |||
9c389e290e | |||
4dd26f854c | |||
66444b886c | |||
0c01fdb30b | |||
75c2ccdea9 | |||
2dff5c1140 | |||
0ab28076f3 | |||
8030f27fb7 | |||
33c4b2b9b7 | |||
2463faf8d6 | |||
6db78761c4 | |||
a0893cdaff | |||
c6fa997f02 | |||
76d236e4d9 | |||
0f7323f2da | |||
23d30484d4 | |||
6ad59e04a6 | |||
ae5d5c74a7 | |||
75baca4a97 | |||
58ae4945cb | |||
fba37d96b2 | |||
5eb8704382 | |||
81b66664ef | |||
135aaf4855 | |||
1fbf257619 | |||
932c01f394 | |||
c3b2b99d7c | |||
ec910cb10f | |||
a19d1c848b | |||
790b9f557a | |||
0b469f69b6 | |||
1a3c31c9f3 |
@ -3,7 +3,7 @@
|
|||||||
This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) using
|
This target allow to program a [BBC micro:bit](https://www.microbit.co.uk/) using
|
||||||
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
|
PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt)).
|
||||||
|
|
||||||
* [Try it live](https://codethemicrobit.com)
|
* [Try it live](https://pxt.microbit.org)
|
||||||
|
|
||||||
[](https://travis-ci.org/Microsoft/pxt-microbit)
|
[](https://travis-ci.org/Microsoft/pxt-microbit)
|
||||||
|
|
||||||
@ -53,11 +53,6 @@ pxt update
|
|||||||
|
|
||||||
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
More instructions at https://github.com/Microsoft/pxt#running-a-target-from-localhost
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
* Install Visual Studio 2015 Update 2 or higher. Make sure the Windows 10 templates are installed.
|
|
||||||
* open the ``win10/app.sln`` solution and launch the ``codethemicrobit`` project.
|
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
The build automatically runs the following:
|
The build automatically runs the following:
|
||||||
|
@ -61,7 +61,7 @@ function findNewDevices() {
|
|||||||
function main() {
|
function main() {
|
||||||
// Register new clients in the [ports] global variable.
|
// Register new clients in the [ports] global variable.
|
||||||
chrome.runtime.onConnectExternal.addListener(function (port) {
|
chrome.runtime.onConnectExternal.addListener(function (port) {
|
||||||
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit)$/.test(port.name)) {
|
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org)$/.test(port.name)) {
|
||||||
ports.push(port);
|
ports.push(port);
|
||||||
port.onDisconnect.addListener(function () {
|
port.onDisconnect.addListener(function () {
|
||||||
ports = ports.filter(function (x) { return x != port });
|
ports = ports.filter(function (x) { return x != port });
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
"author": "Microsoft Corporation",
|
"author": "Microsoft Corporation",
|
||||||
"short_name": "code the micro:bit",
|
"short_name": "code the micro:bit",
|
||||||
|
|
||||||
"description": "Extension for https://codethemicrobit.com.",
|
"description": "Extension for https://pxt.microbit.org.",
|
||||||
"homepage_url": "https://codethemicrobit.com",
|
"homepage_url": "https://pxt.microbit.org",
|
||||||
"offline_enabled": "true",
|
"offline_enabled": "true",
|
||||||
"icons": {
|
"icons": {
|
||||||
"48": "logo48.png",
|
"48": "logo48.png",
|
||||||
@ -25,6 +25,6 @@
|
|||||||
],
|
],
|
||||||
|
|
||||||
"externally_connectable": {
|
"externally_connectable": {
|
||||||
"matches": [ "*://localhost/*", "https://codethemicrobit.com/*", "https://*.codethemicrobit.com/*" ]
|
"matches": [ "*://localhost/*", "https://pxt.microbit.org/*", "https://*.microbit.org/*" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,7 +124,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)launchEditor:(id)sender {
|
- (void)launchEditor:(id)sender {
|
||||||
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://codethemicrobit.com/"]];
|
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://pxt.microbit.org/"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||

|

|
||||||
|
|
||||||
This project is a clone of the [Windows
|
This project is a clone of the [Windows
|
||||||
uploader](https://codethemicrobit.com/uploader), but for OS X. Once launched,
|
uploader](https://pxt.microbit.org/uploader), but for OS X. Once launched,
|
||||||
the app runs in your menu bar and will automatically deploy any HEX files to
|
the app runs in your menu bar and will automatically deploy any HEX files to
|
||||||
your `micro:bit`. Like the Windows version, it is compatible with any browser
|
your `micro:bit`. Like the Windows version, it is compatible with any browser
|
||||||
that can run [codethemicrobit.com](http://codethemicrobit.com).
|
that can run [pxt.microbit.org](http://pxt.microbit.org).
|
||||||
|
|
||||||
## Install the built version
|
## Install the built version
|
||||||
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 14
|
|
||||||
VisualStudioVersion = 14.0.25123.0
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "m.pxt.io", "app\m.pxt.io.jsproj", "{39122940-AB16-4CD4-A0CE-79A3EB863ECF}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Debug|ARM = Debug|ARM
|
|
||||||
Debug|x64 = Debug|x64
|
|
||||||
Debug|x86 = Debug|x86
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|ARM = Release|ARM
|
|
||||||
Release|x64 = Release|x64
|
|
||||||
Release|x86 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.ActiveCfg = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Build.0 = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Deploy.0 = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Deploy.0 = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Deploy.0 = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.ActiveCfg = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Build.0 = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Deploy.0 = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Build.0 = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Deploy.0 = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Build.0 = Release|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Deploy.0 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
@ -1 +0,0 @@
|
|||||||
MainPackage=C:\gh\pxt-microbit\win10\app\bin\Debug\m.pxt.io_0.1.4.0_AnyCPU_Debug.appx
|
|
@ -1,85 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
|
||||||
<ProjectConfiguration Include="Debug|AnyCPU">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>AnyCPU</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Debug|ARM">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>ARM</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Debug|x64">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Debug|x86">
|
|
||||||
<Configuration>Debug</Configuration>
|
|
||||||
<Platform>x86</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|AnyCPU">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>AnyCPU</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|ARM">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>ARM</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x64">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x64</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
<ProjectConfiguration Include="Release|x86">
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>x86</Platform>
|
|
||||||
</ProjectConfiguration>
|
|
||||||
</ItemGroup>
|
|
||||||
<PropertyGroup Label="Globals">
|
|
||||||
<ProjectGuid>39122940-ab16-4cd4-a0ce-79a3eb863ecf</ProjectGuid>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0'">
|
|
||||||
<VisualStudioVersion>14.0</VisualStudioVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).Default.props" />
|
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).props" />
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
|
|
||||||
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
|
|
||||||
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
|
|
||||||
<MinimumVisualStudioVersion>$(VersionNumberMajor).$(VersionNumberMinor)</MinimumVisualStudioVersion>
|
|
||||||
<DefaultLanguage>en-US</DefaultLanguage>
|
|
||||||
<PackageCertificateKeyFile>pxtwinapp_TemporaryKey.pfx</PackageCertificateKeyFile>
|
|
||||||
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
|
|
||||||
<AppxBundle>Always</AppxBundle>
|
|
||||||
<AppxBundlePlatforms>neutral</AppxBundlePlatforms>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<AppxManifest Include="package.appxmanifest">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</AppxManifest>
|
|
||||||
<Content Include="msapp-error.js" />
|
|
||||||
<Content Include="msapp-error.css" />
|
|
||||||
<Content Include="msapp-error.html" />
|
|
||||||
<Content Include="images\LockScreenLogo.scale-200.png" />
|
|
||||||
<Content Include="images\SplashScreen.scale-200.png" />
|
|
||||||
<Content Include="images\Square150x150Logo.scale-200.png" />
|
|
||||||
<Content Include="images\Square44x44Logo.scale-200.png" />
|
|
||||||
<Content Include="images\Square44x44Logo.targetsize-24_altform-unplated.png" />
|
|
||||||
<Content Include="images\StoreLogo.png" />
|
|
||||||
<Content Include="images\Wide310x150Logo.scale-200.png" />
|
|
||||||
<None Include="pxtwinapp_TemporaryKey.pfx" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).targets" />
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below then uncomment
|
|
||||||
that target and the DisableFastUpToDateCheck PropertyGroup.
|
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
|
||||||
<Target Name="BeforeBuild">
|
|
||||||
</Target>
|
|
||||||
<Target Name="AfterBuild">
|
|
||||||
</Target>
|
|
||||||
<PropertyGroup>
|
|
||||||
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
|
|
||||||
</PropertyGroup>
|
|
||||||
-->
|
|
||||||
</Project>
|
|
@ -1,48 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 14
|
|
||||||
VisualStudioVersion = 14.0.25123.0
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "codethemicrobitapp", "codethemicrobitapp.jsproj", "{39122940-AB16-4CD4-A0CE-79A3EB863ECF}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Debug|ARM = Debug|ARM
|
|
||||||
Debug|x64 = Debug|x64
|
|
||||||
Debug|x86 = Debug|x86
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|ARM = Release|ARM
|
|
||||||
Release|x64 = Release|x64
|
|
||||||
Release|x86 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.ActiveCfg = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Build.0 = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Deploy.0 = Debug|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Deploy.0 = Debug|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Deploy.0 = Debug|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.ActiveCfg = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Build.0 = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Deploy.0 = Release|ARM
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Build.0 = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Deploy.0 = Release|x64
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Build.0 = Release|x86
|
|
||||||
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Deploy.0 = Release|x86
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 8.4 KiB |
@ -1,17 +0,0 @@
|
|||||||
body {
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tip {
|
|
||||||
font-size: 90%;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.paramName {
|
|
||||||
font-size: 100%;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.paramValue {
|
|
||||||
color: black;
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Navigation Error</title>
|
|
||||||
<link href="msapp-error.css" rel="stylesheet" type="text/css"/>
|
|
||||||
<script src="msapp-error.js" type="text/javascript"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Navigation Error</h1>
|
|
||||||
<div id="failureUrl" class="param">
|
|
||||||
<span>-</span><span class="paramName">failureUrl</span><span>=</span>
|
|
||||||
<span id="failureUrlValue" class="paramValue"></span>
|
|
||||||
<span class="tip">(indicates the url where the error occurred)</span><br/>
|
|
||||||
</div><br/>
|
|
||||||
<div id="httpStatus" class="param">
|
|
||||||
<span>-</span><span class="paramName">httpStatus</span><span>=</span>
|
|
||||||
<span id="httpStatusValue" class="paramValue"></span>
|
|
||||||
<span class="tip">(available when the error has an http status code)</span><br/>
|
|
||||||
</div><br/>
|
|
||||||
<div id="failureName">
|
|
||||||
<span>-</span><span class="paramName">failureName</span><span>=</span>
|
|
||||||
<span id="failureNameValue" class="paramValue"></span>
|
|
||||||
<span class="tip">(available only when the error does not have a http status code)</span><br/>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,22 +0,0 @@
|
|||||||
(function () {
|
|
||||||
var validParameterNames = [ "httpStatus", "failureName", "failureUrl" ];
|
|
||||||
|
|
||||||
function parseQueryParameters() {
|
|
||||||
var query = location.search.slice(1);
|
|
||||||
return query.split("&").reduce(function (queryParameters, rawPair) {
|
|
||||||
var pair = rawPair.split("=").map(decodeURIComponent);
|
|
||||||
queryParameters[pair[0]] = pair[1];
|
|
||||||
return queryParameters;
|
|
||||||
}, {});
|
|
||||||
}
|
|
||||||
|
|
||||||
function initialize() {
|
|
||||||
var queryParameters = parseQueryParameters();
|
|
||||||
validParameterNames.forEach(function (parameterName) {
|
|
||||||
var parameterValue = queryParameters[parameterName] || "N/A";
|
|
||||||
document.getElementById(parameterName + "Value").textContent = parameterValue;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", initialize);
|
|
||||||
}());
|
|
@ -1,50 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
|
|
||||||
<Identity Name="39122940-ab16-4cd4-a0ce-79a3eb863ecf" Version="0.1.5.0" Publisher="CN=jhalleux" />
|
|
||||||
<mp:PhoneIdentity PhoneProductId="39122940-ab16-4cd4-a0ce-79a3eb863ecf" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
|
|
||||||
<Properties>
|
|
||||||
<DisplayName>codethemicrobit</DisplayName>
|
|
||||||
<PublisherDisplayName>Microsoft</PublisherDisplayName>
|
|
||||||
<Logo>images\storelogo.png</Logo>
|
|
||||||
</Properties>
|
|
||||||
<Dependencies>
|
|
||||||
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
|
|
||||||
</Dependencies>
|
|
||||||
<Resources>
|
|
||||||
<Resource Language="x-generate" />
|
|
||||||
</Resources>
|
|
||||||
<Applications>
|
|
||||||
<Application Id="App" StartPage="https://codethemicrobit.com">
|
|
||||||
<uap:ApplicationContentUriRules>
|
|
||||||
<uap:Rule Match="https://m.pxt.io/" Type="include" WindowsRuntimeAccess="all" />
|
|
||||||
<uap:Rule Match="https://codemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
|
|
||||||
<uap:Rule Match="https://codethemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
|
|
||||||
</uap:ApplicationContentUriRules>
|
|
||||||
<uap:VisualElements DisplayName="code the micro:bit" Description="A code editor for the BBC micro:bit with Blocks or Javascript." BackgroundColor="white" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
|
|
||||||
<uap:DefaultTile Wide310x150Logo="images\Wide310x150Logo.png" ShortName="code the micro:bit">
|
|
||||||
</uap:DefaultTile>
|
|
||||||
<uap:SplashScreen Image="images\splashscreen.png" />
|
|
||||||
</uap:VisualElements>
|
|
||||||
<Extensions>
|
|
||||||
<uap:Extension Category="windows.fileTypeAssociation">
|
|
||||||
<uap:FileTypeAssociation Name="microbithex">
|
|
||||||
<uap:DisplayName>BBC micro:bit binary file</uap:DisplayName>
|
|
||||||
<uap:SupportedFileTypes>
|
|
||||||
<uap:FileType ContentType="application/x-microbit-hex">.hex</uap:FileType>
|
|
||||||
</uap:SupportedFileTypes>
|
|
||||||
</uap:FileTypeAssociation>
|
|
||||||
</uap:Extension>
|
|
||||||
</Extensions>
|
|
||||||
</Application>
|
|
||||||
</Applications>
|
|
||||||
<Capabilities>
|
|
||||||
<Capability Name="internetClient" />
|
|
||||||
<uap:Capability Name="removableStorage" />
|
|
||||||
<DeviceCapability Name="bluetooth" />
|
|
||||||
<DeviceCapability Name="serialcommunication">
|
|
||||||
<Device Id="any">
|
|
||||||
<Function Type="name:serialPort" />
|
|
||||||
</Device>
|
|
||||||
</DeviceCapability>
|
|
||||||
</Capabilities>
|
|
||||||
</Package>
|
|
Before Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 54 KiB |
@ -32,7 +32,7 @@ namespace Microsoft.MicroBit
|
|||||||
private void openEditor()
|
private void openEditor()
|
||||||
{
|
{
|
||||||
// lanch editor
|
// lanch editor
|
||||||
try { Process.Start("https://codethemicrobit.com#uploader"); } catch (Exception) { }
|
try { Process.Start("https://pxt.microbit.org#uploader"); } catch (Exception) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initializeFileWatch()
|
private void initializeFileWatch()
|
||||||
@ -236,7 +236,7 @@ namespace Microsoft.MicroBit
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Process.Start("https://codethemicrobit.com/uploader");
|
Process.Start("https://pxt.microbit.org/uploader");
|
||||||
}
|
}
|
||||||
catch (IOException) { }
|
catch (IOException) { }
|
||||||
}
|
}
|
||||||
|
22
cmds/cmds.ts
@ -13,20 +13,20 @@ export function deployCoreAsync(res: ts.pxtc.CompileResult) {
|
|||||||
return getBitDrivesAsync()
|
return getBitDrivesAsync()
|
||||||
.then(drives => {
|
.then(drives => {
|
||||||
if (drives.length == 0) {
|
if (drives.length == 0) {
|
||||||
let msg = "cannot find any drives to deploy to";
|
console.log("cannot find any drives to deploy to");
|
||||||
console.log(msg);
|
return Promise.resolve(0);
|
||||||
return Promise.reject(new Error(msg));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`copy ${ts.pxtc.BINARY_HEX} to ` + drives.join(", "))
|
console.log(`copy ${ts.pxtc.BINARY_HEX} to ` + drives.join(", "));
|
||||||
|
|
||||||
return Promise.map(drives, d =>
|
let writeHexFile = (filename: string) => {
|
||||||
writeFileAsync(d + ts.pxtc.BINARY_HEX, res.outfiles[ts.pxtc.BINARY_HEX])
|
return writeFileAsync(filename + ts.pxtc.BINARY_HEX, res.outfiles[ts.pxtc.BINARY_HEX])
|
||||||
.then(() => {
|
.then(() => console.log("wrote hex file to " + filename));
|
||||||
console.log("wrote hex file to " + d)
|
};
|
||||||
}))
|
|
||||||
})
|
return Promise.map(drives, d => writeHexFile(d))
|
||||||
.then(() => { })
|
.then(() => drives.length);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function getBitDrivesAsync(): Promise<string[]> {
|
function getBitDrivesAsync(): Promise<string[]> {
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
<script type="text/javascript">
|
|
||||||
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
|
|
||||||
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f)}})(document,window.mixpanel||[]);
|
|
||||||
mixpanel.init("762fef19c053a0ea4cec43d2fecae76e", { disable_persistence: true });
|
|
||||||
if (typeof pxtConfig !== "undefined") mixpanel.register({ target: pxtConfig.targetId, version: pxtConfig.targetVersion });
|
|
||||||
</script>
|
|
@ -1,6 +0,0 @@
|
|||||||
<script type="text/javascript">
|
|
||||||
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
|
|
||||||
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f)}})(document,window.mixpanel||[]);
|
|
||||||
mixpanel.init("762fef19c053a0ea4cec43d2fecae76e", { disable_persistence: true });
|
|
||||||
if (typeof pxtConfig !== "undefined") mixpanel.register({ target: pxtConfig.targetId, version: pxtConfig.targetVersion });
|
|
||||||
</script>
|
|
@ -79,7 +79,7 @@ When code is compiled to ARM machine code, the calls to JavaScript micro:bit fun
|
|||||||
|
|
||||||
## [Command Line Tools](/cli)
|
## [Command Line Tools](/cli)
|
||||||
|
|
||||||
Looking to use codethemicrobit.com in your favorite editor? Install the [command line tools](/cli) and get rolling!
|
Looking to use pxt.microbit.org in your favorite editor? Install the [command line tools](/cli) and get rolling!
|
||||||
|
|
||||||
## [Packages](/packages)
|
## [Packages](/packages)
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Unsupported configuration
|
# Unsupported configuration
|
||||||
|
|
||||||
[codethemicrobit.com](https://codethemicrobit.com) doesn't currently support
|
[pxt.microbit.org](https://pxt.microbit.org) doesn't currently support
|
||||||
your browser or operating system. The following configurations are supported:
|
your browser or operating system. The following configurations are supported:
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
# Technical information about browser support
|
# Technical information about browser support
|
||||||
|
|
||||||
[codethemicrobit.com][] requires that you use a recent version of a modern
|
[pxt.microbit.org][] requires that you use a recent version of a modern
|
||||||
browser, such as Microsoft Edge, Google Chrome, Mozilla Firefox, Safari, Opera,
|
browser, such as Microsoft Edge, Google Chrome, Mozilla Firefox, Safari, Opera,
|
||||||
or IE11. This is because the editor uses modern web technologies such as [web
|
or IE11. This is because the editor uses modern web technologies such as [web
|
||||||
workers][] to enable compiling [TypeScript][] in the browser, or the using the
|
workers][] to enable compiling [TypeScript][] in the browser, or the using the
|
||||||
same [Monaco][] editor that powers [Visual Studio Code][].
|
same [Monaco][] editor that powers [Visual Studio Code][].
|
||||||
|
|
||||||
[codethemicrobit.com]: https://codethemicrobit.com
|
[pxt.microbit.org]: https://pxt.microbit.org
|
||||||
[web workers]: http://www.w3.org/TR/workers/
|
[web workers]: http://www.w3.org/TR/workers/
|
||||||
[typescript]: http://www.typescriptlang.org
|
[typescript]: http://www.typescriptlang.org
|
||||||
[monaco]: https://microsoft.github.io/monaco-editor/
|
[monaco]: https://microsoft.github.io/monaco-editor/
|
||||||
|
@ -6,7 +6,7 @@ basic.forever(() => {
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
It is possible to use the codethemicrobit tools from a command line interface (CLI). The PXT CLI allows to
|
It is possible to use the tools from a command line interface (CLI). The PXT CLI allows to
|
||||||
* edit, compile or deploy JavaScript programs
|
* edit, compile or deploy JavaScript programs
|
||||||
* can easily be integrated in most IDEs. It comes with built-in support for [Visual Studio Code](/code)!
|
* can easily be integrated in most IDEs. It comes with built-in support for [Visual Studio Code](/code)!
|
||||||
* run a local web server for the web editor
|
* run a local web server for the web editor
|
||||||
|
@ -29,7 +29,7 @@ Unfortunately, using the serial library requires quite a bit of a setup.
|
|||||||
If you are using the Google Chrome browser, you can use our extension to get serial data streaming in the editor.
|
If you are using the Google Chrome browser, you can use our extension to get serial data streaming in the editor.
|
||||||
|
|
||||||
* Install the [Extension for BBC micro:bit](https://chrome.google.com/webstore/detail/extension-for-bbc-microbi/cihhkhnngbjlhahcfmhekmbnnjcjdbge?hl=en-US) on the Chrome Web Store.
|
* Install the [Extension for BBC micro:bit](https://chrome.google.com/webstore/detail/extension-for-bbc-microbi/cihhkhnngbjlhahcfmhekmbnnjcjdbge?hl=en-US) on the Chrome Web Store.
|
||||||
* Restart Chrome and open the [web editor](https://codethemicrobit.com)
|
* Restart Chrome and open the [web editor](https://pxt.microbit.org)
|
||||||
* The serial data will show below the simulator
|
* The serial data will show below the simulator
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -34,7 +34,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -41,7 +41,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -43,7 +43,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -43,7 +43,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -41,7 +41,7 @@ it appears as a new drive under Devices.
|
|||||||
|
|
||||||
## Step 2: Download your program
|
## Step 2: Download your program
|
||||||
|
|
||||||
1. Open your project on [codethemicrobit.com](https://codethemicrobit.com)
|
1. Open your project on [pxt.microbit.org](https://pxt.microbit.org)
|
||||||
2. Click **Download**
|
2. Click **Download**
|
||||||
3. When prompted, choose to **save** the compiled file onto your computer. The
|
3. When prompted, choose to **save** the compiled file onto your computer. The
|
||||||
prompt will be different depending on which browser you are using, or
|
prompt will be different depending on which browser you are using, or
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
### Things to do
|
### Things to do
|
||||||
|
|
||||||
* **[Getting Started](/getting-started)**
|
* **[Getting Started](/getting-started)**
|
||||||
* [Ten projects](/projects)
|
* [Projects](/projects)
|
||||||
|
* [Lessons](/lessons)
|
||||||
|
|
||||||
### Micro:bit reference
|
### Micro:bit reference
|
||||||
|
|
||||||
@ -16,16 +17,15 @@
|
|||||||
|
|
||||||
* [Blocks language](/blocks)
|
* [Blocks language](/blocks)
|
||||||
* [JavaScript language](/javascript)
|
* [JavaScript language](/javascript)
|
||||||
* [Streaming data](/streaming)
|
|
||||||
|
|
||||||
### More questions?
|
### More questions?
|
||||||
|
|
||||||
* [Frequently Asked Question](/faq)
|
* [Frequently Asked Question](/faq)
|
||||||
* [Embedding project](/share)
|
|
||||||
* [Help Translate](/translate)
|
* [Help Translate](/translate)
|
||||||
* [Release notes](/release-notes)
|
* [Embedding project](/share)
|
||||||
|
|
||||||
### Developers
|
### Developers
|
||||||
|
|
||||||
* [Command Line Interface](/cli)
|
* [Command Line Interface](/cli)
|
||||||
* Learn about [packages](/packages)
|
* Learn about [packages](/packages)
|
||||||
|
* [Release notes](/release-notes)
|
||||||
|
31
docs/faq.md
@ -2,33 +2,4 @@
|
|||||||
|
|
||||||
### @description Frequently asked questions and answers from our users.
|
### @description Frequently asked questions and answers from our users.
|
||||||
|
|
||||||
### Where can I get a BBC micro:bit?
|
Please search for solutions or open a ticket at [support.microbit.org](https://support.microbit.org)!
|
||||||
|
|
||||||
More information at [http://uk.farnell.com/bbc-microbit](http://uk.farnell.com/bbc-microbit).
|
|
||||||
|
|
||||||
### How do I send feedback?
|
|
||||||
|
|
||||||
Find the small bubble icon on the bottom of the editor and
|
|
||||||
post your feedback from there!
|
|
||||||
|
|
||||||
### How do I save my code?
|
|
||||||
|
|
||||||
The web editor automatically saves your code in the browser cache. Simply reopen the browser and navigate to the web editor
|
|
||||||
to reopen your latest project. You can also open previous project stored locally through **More -> Open Project**.
|
|
||||||
|
|
||||||
The project source is also stored in each compiled ``.hex`` file. Drag and drop the ``.hex`` file into the web editor to load the project.
|
|
||||||
|
|
||||||
To share your project with others, you can use the [Embed Project...](/share).
|
|
||||||
It stores your project in the cloud and creates a URL that you can share with others.
|
|
||||||
|
|
||||||
If you are using [Visual Studio Code](/code), all your programs are stored as files on your computer and you can use your favorite source control system as needed.
|
|
||||||
|
|
||||||
## Is the web site available in other languages?
|
|
||||||
|
|
||||||
You can [help us translate](/translate) the web site, documentation and blocks via our crowd-source translations!
|
|
||||||
|
|
||||||
## Troubleshooting
|
|
||||||
|
|
||||||
### My micro:bit does not show up as a drive when I connect it to my computer.
|
|
||||||
|
|
||||||
A common cause for this is a broken cable. Pick another USB cable and try it. Otherwise, try another computer as well.
|
|
||||||
|
BIN
docs/favicon.ico
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 15 KiB |
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Web application
|
## Web application
|
||||||
|
|
||||||
**https://codethemicrobit.com is an HTML5 web application** that automatically gets cached locally by your browser.
|
**https://pxt.microbit.org is an HTML5 web application** that automatically gets cached locally by your browser.
|
||||||
Once the web app is loaded and you have compiled at least once, you will have all the code needed to work without an internet connection.
|
Once the web app is loaded and you have compiled at least once, you will have all the code needed to work without an internet connection.
|
||||||
|
|
||||||
## Command line interface
|
## Command line interface
|
||||||
|
@ -43,7 +43,7 @@ music.beat(BeatFraction.Quarter)
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Step 1: Make a Smiley
|
## Step 1: Make a Smiley
|
||||||
Open [codethemicrobit.com](https://codethemicrobit.com) in your web browser
|
Open [pxt.microbit.org](https://pxt.microbit.org) in your web browser
|
||||||
```blocks
|
```blocks
|
||||||
basic.showLeds(`
|
basic.showLeds(`
|
||||||
. # . # .
|
. # . # .
|
||||||
|
@ -5,7 +5,7 @@ with [Raspbian Jessie with Pixel](https://www.raspberrypi.org/downloads/raspbian
|
|||||||
|
|
||||||
## Web editor
|
## Web editor
|
||||||
|
|
||||||
Starting with **Raspbian Pixel**, Raspbian comes with Chromium. Simply open [](https://codethemicrobit.com).
|
Starting with **Raspbian Pixel**, Raspbian comes with Chromium. Simply open [](https://pxt.microbit.org).
|
||||||
|
|
||||||
## Command line
|
## Command line
|
||||||
|
|
||||||
|
@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
Support for additional Bluetooth services.
|
Support for additional Bluetooth services.
|
||||||
|
|
||||||
|
### ~hint
|
||||||
|

|
||||||
|
|
||||||
|
For another device like a smartphone to use any of the Bluetooth "services" which the micro:bit has, it must first be [paired with the micro:bit](/reference/bluetooth/bluetooth-pairing). Once paired, the other device may connect to the micro:bit and exchange data relating to many of the micro:bit's features.
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
|
|
||||||
```cards
|
```cards
|
||||||
bluetooth.startAccelerometerService();
|
bluetooth.startAccelerometerService();
|
||||||
bluetooth.startButtonService();
|
bluetooth.startButtonService();
|
||||||
@ -9,20 +17,34 @@ bluetooth.startIOPinService();
|
|||||||
bluetooth.startLEDService();
|
bluetooth.startLEDService();
|
||||||
bluetooth.startMagnetometerService();
|
bluetooth.startMagnetometerService();
|
||||||
bluetooth.startTemperatureService();
|
bluetooth.startTemperatureService();
|
||||||
bluetooth.uartRead("");
|
bluetooth.onBluetoothConnected(() => {});
|
||||||
bluetooth.uartWrite("");
|
bluetooth.onBluetoothDisconnected(() => {});
|
||||||
bluetooth.onBluetoothConnected(() => {
|
```
|
||||||
|
|
||||||
});
|
## UART
|
||||||
bluetooth.onBluetoothDisconnected(() => {
|
|
||||||
|
```cards
|
||||||
});
|
bluetooth.startUartService();
|
||||||
|
bluetooth.uartReadUntil("");
|
||||||
|
bluetooth.uartWriteString("");
|
||||||
|
bluetooth.uartWriteNumber(0);
|
||||||
|
bluetooth.uartWriteValue("", 0);
|
||||||
```
|
```
|
||||||
|
|
||||||
```package
|
```package
|
||||||
microbit-bluetooth
|
microbit-bluetooth
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Advanced
|
||||||
|
|
||||||
|
For more advanced information on the micro:bit Bluetooth UART service including information on using a smartphone, see the [Lancaster University micro:bit runtime technical documentation](http://lancaster-university.github.io/microbit-docs/ble/uart-service/)
|
||||||
|
|
||||||
### See Also
|
### See Also
|
||||||
|
|
||||||
[startAccelerometerService](/reference/bluetooth/start-accelerometer-service), [startButtonService](/reference/bluetooth/start-button-service), [startIOPinService](/reference/bluetooth/start-io-pin-service), [startLEDService](/reference/bluetooth/start-led-service), [startMagnetometerService](/reference/bluetooth/start-magnetometer-service), [startTemperatureService](/reference/bluetooth/start-temperature-service), [uartRead](/reference/bluetooth/uart-read), [uartWrite](/reference/bluetooth/uart-write), [onBluetoothConnected](/reference/bluetooth/on-bluetooth-connected), [onBluetoothDisconnected](/reference/bluetooth/on-bluetooth-disconnected)
|
[startAccelerometerService](/reference/bluetooth/start-accelerometer-service), [startButtonService](/reference/bluetooth/start-button-service), [startIOPinService](/reference/bluetooth/start-io-pin-service), [startLEDService](/reference/bluetooth/start-led-service), [startMagnetometerService](/reference/bluetooth/start-magnetometer-service), [startTemperatureService](/reference/bluetooth/start-temperature-service),
|
||||||
|
[startUartService](/reference/bluetooth/start-uart-service),
|
||||||
|
[uartReadUntil](/reference/bluetooth/uart-read-until),
|
||||||
|
[uartWriteString](/reference/bluetooth/uart-write-string),
|
||||||
|
[uartWriteNumber](/reference/bluetooth/uart-write-number),
|
||||||
|
[uartWriteValue](/reference/bluetooth/uart-write-value),
|
||||||
|
[onBluetoothConnected](/reference/bluetooth/on-bluetooth-connected), [onBluetoothDisconnected](/reference/bluetooth/on-bluetooth-disconnected)
|
||||||
|
4
docs/reference/bluetooth/uart-read.md → docs/reference/bluetooth/uart-read-until.md
Executable file → Normal file
@ -12,7 +12,7 @@ The [Bluetooth UART service](start-uart-service.md) allows another device such a
|
|||||||
With the Bluetooth UART service running, this block allows a micro:bit to read data which has been received from a Bluetooth connected device, terminating reading and returning the value obtained as soon as a specified delimiter character is encountered. This means that connected devices can send data to the micro:bit and indicate that the complete message has been sent by appending the message with the delimiter character.
|
With the Bluetooth UART service running, this block allows a micro:bit to read data which has been received from a Bluetooth connected device, terminating reading and returning the value obtained as soon as a specified delimiter character is encountered. This means that connected devices can send data to the micro:bit and indicate that the complete message has been sent by appending the message with the delimiter character.
|
||||||
|
|
||||||
```sig
|
```sig
|
||||||
bluetooth.uartRead("");
|
bluetooth.uartReadUntil("");
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example: Starting the Bluetooth UART service and then reading data received from another device which is terminated by ":" character and then displaying it
|
### Example: Starting the Bluetooth UART service and then reading data received from another device which is terminated by ":" character and then displaying it
|
||||||
@ -25,7 +25,7 @@ bluetooth.onBluetoothConnected(() => {
|
|||||||
basic.showString("C");
|
basic.showString("C");
|
||||||
connected = 1;
|
connected = 1;
|
||||||
while (connected == 1) {
|
while (connected == 1) {
|
||||||
uartData = bluetooth.uartRead(":");
|
uartData = bluetooth.uartReadUntil(":");
|
||||||
basic.showString(uartData);
|
basic.showString(uartData);
|
||||||
}
|
}
|
||||||
});
|
});
|
28
docs/reference/bluetooth/uart-write-number.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# UART Write Number
|
||||||
|
|
||||||
|
### ~hint
|
||||||
|

|
||||||
|
|
||||||
|
For another device like a smartphone to use any of the Bluetooth "services" which the micro:bit has, it must first be [paired with the micro:bit](/reference/bluetooth/bluetooth-pairing). Once paired, the other device may connect to the micro:bit and exchange data relating to many of the micro:bit's features.
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
|
The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks.
|
||||||
|
|
||||||
|
With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device.
|
||||||
|
|
||||||
|
```sig
|
||||||
|
bluetooth.uartWriteNumber(42);
|
||||||
|
```
|
||||||
|
|
||||||
|
### Advanced
|
||||||
|
|
||||||
|
For more advanced information on the micro:bit Bluetooth UART service including information on using a smartphone, see the [Lancaster University micro:bit runtime technical documentation](http://lancaster-university.github.io/microbit-docs/ble/uart-service/)
|
||||||
|
|
||||||
|
### See also
|
||||||
|
|
||||||
|
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
|
||||||
|
|
||||||
|
```package
|
||||||
|
microbit-bluetooth
|
||||||
|
```
|
8
docs/reference/bluetooth/uart-write.md → docs/reference/bluetooth/uart-write-string.md
Executable file → Normal file
@ -1,4 +1,4 @@
|
|||||||
# UART Write
|
# UART Write String
|
||||||
|
|
||||||
### ~hint
|
### ~hint
|
||||||

|

|
||||||
@ -7,12 +7,12 @@ For another device like a smartphone to use any of the Bluetooth "services" whic
|
|||||||
|
|
||||||
### ~
|
### ~
|
||||||
|
|
||||||
The [Bluetooth UART service](start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks.
|
The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks.
|
||||||
|
|
||||||
With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device.
|
With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device.
|
||||||
|
|
||||||
```sig
|
```sig
|
||||||
bluetooth.uartWrite("");
|
bluetooth.uartWriteString("");
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example: Starting the Bluetooth UART service and then sending "HELLO" whenever button A is pressed and another device has connected over Bluetooth
|
### Example: Starting the Bluetooth UART service and then sending "HELLO" whenever button A is pressed and another device has connected over Bluetooth
|
||||||
@ -29,7 +29,7 @@ bluetooth.onBluetoothDisconnected(() => {
|
|||||||
});
|
});
|
||||||
input.onButtonPressed(Button.A, () => {
|
input.onButtonPressed(Button.A, () => {
|
||||||
if (connected == 1) {
|
if (connected == 1) {
|
||||||
bluetooth.uartWrite("HELLO");
|
bluetooth.uartWriteString("HELLO");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
28
docs/reference/bluetooth/uart-write-value.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# UART Write Value
|
||||||
|
|
||||||
|
### ~hint
|
||||||
|

|
||||||
|
|
||||||
|
For another device like a smartphone to use any of the Bluetooth "services" which the micro:bit has, it must first be [paired with the micro:bit](/reference/bluetooth/bluetooth-pairing). Once paired, the other device may connect to the micro:bit and exchange data relating to many of the micro:bit's features.
|
||||||
|
|
||||||
|
### ~
|
||||||
|
|
||||||
|
The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks.
|
||||||
|
|
||||||
|
With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device.
|
||||||
|
|
||||||
|
```sig
|
||||||
|
bluetooth.uartWriteValue("x", 42);
|
||||||
|
```
|
||||||
|
|
||||||
|
### Advanced
|
||||||
|
|
||||||
|
For more advanced information on the micro:bit Bluetooth UART service including information on using a smartphone, see the [Lancaster University micro:bit runtime technical documentation](http://lancaster-university.github.io/microbit-docs/ble/uart-service/)
|
||||||
|
|
||||||
|
### See also
|
||||||
|
|
||||||
|
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
|
||||||
|
|
||||||
|
```package
|
||||||
|
microbit-bluetooth
|
||||||
|
```
|
@ -6,7 +6,6 @@ Generation of music tones through pin ``P0``.
|
|||||||
music.playTone(0, 0);
|
music.playTone(0, 0);
|
||||||
music.ringTone(0);
|
music.ringTone(0);
|
||||||
music.rest(0);
|
music.rest(0);
|
||||||
music.noteFrequency(Note.C);
|
|
||||||
music.beat(BeatFraction.Whole);
|
music.beat(BeatFraction.Whole);
|
||||||
music.tempo();
|
music.tempo();
|
||||||
music.changeTempoBy(20);
|
music.changeTempoBy(20);
|
||||||
@ -15,4 +14,4 @@ music.setTempo(120);
|
|||||||
|
|
||||||
### See Also
|
### See Also
|
||||||
|
|
||||||
[playTone](/reference/music/play-tone), [ringTone](/reference/music/ring-tone), [rest](/reference/music/rest), [noteFrequency](/reference/music/note-frequency), [beat](/reference/music/beat), [tempo](/reference/music/tempo), [changeTempoBy](/reference/music/change-tempo), [setTempo](/reference/music/set-tempo)
|
[playTone](/reference/music/play-tone), [ringTone](/reference/music/ring-tone), [rest](/reference/music/rest), [beat](/reference/music/beat), [tempo](/reference/music/tempo), [changeTempoBy](/reference/music/change-tempo-by), [setTempo](/reference/music/set-tempo)
|
||||||
|
30
docs/reference/music/beat.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Beat
|
||||||
|
|
||||||
|
Returns the duration of a beat in milli-seconds
|
||||||
|
|
||||||
|
## Simulator
|
||||||
|
|
||||||
|
This function only works on the micro:bit and in some browsers.
|
||||||
|
|
||||||
|
```sig
|
||||||
|
music.beat(BeatFraction.Whole)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
* ``BeatFraction`` means fraction of a beat (BeatFraction.Whole, BeatFraction.Sixteenth etc)
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
|
||||||
|
* a [number](/reference/types/number) that means the amount of milli-seconds a beat fraction represents.
|
||||||
|
|
||||||
|
|
||||||
|
## Example
|
||||||
|
|
||||||
|
```blocks
|
||||||
|
music.playTone(Note.C, music.beat(BeatFraction.Quarter))
|
||||||
|
```
|
||||||
|
|
||||||
|
### See also
|
||||||
|
|
||||||
|
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone), [rest](/reference/music/rest), [set tempo](/reference/music/set-tempo), [change tempo by](/reference/music/change-tempo-by)
|
@ -22,7 +22,7 @@ change
|
|||||||
|
|
||||||
change-score-by
|
change-score-by
|
||||||
|
|
||||||
change-tempo
|
change-tempo-by
|
||||||
|
|
||||||
change-var
|
change-var
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ Once you've made your project, you can save it the cloud, share it, or embed it
|
|||||||
|
|
||||||
## Sharing the URL
|
## Sharing the URL
|
||||||
|
|
||||||
You can share the URL for the project ([https://codethemicrobit.com/httuftrbtg](https://codethemicrobit.com/httuftrbtg) above) with other people, and they will be able to visit that page to see your project, download it, or edit it:
|
You can share the URL for the project ([https://pxt.microbit.org/httuftrbtg](https://pxt.microbit.org/httuftrbtg) above) with other people, and they will be able to visit that page to see your project, download it, or edit it:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -36,12 +36,12 @@ Open the HTML editor for your blog or website and paste it with your content
|
|||||||
|
|
||||||
### Wordpress
|
### Wordpress
|
||||||
|
|
||||||
[wordpress.com][] blogs do not support embedding content from most websites, so you will need to link to your project instead. Alternatively, if you have a Wordpress VIP account you can follow [these instructions][wordpress-vip] to embed an `iframe` into your blog. The URL that you need to add is like `https://codethemicrobit.com/?sandbox=1#pub:httuftrbtg`, but replace `httuftrbtg` with your project's unique identifier.
|
[wordpress.com][] blogs do not support embedding content from most websites, so you will need to link to your project instead. Alternatively, if you have a Wordpress VIP account you can follow [these instructions][wordpress-vip] to embed an `iframe` into your blog. The URL that you need to add is like `https://pxt.microbit.org/?sandbox=1#pub:httuftrbtg`, but replace `httuftrbtg` with your project's unique identifier.
|
||||||
|
|
||||||
If you self host a Wordpress blog you can install the [iframe-plugin][] and then write the following in your blog-post (again, replacing the `httuftrbtg` with your project's identifier):
|
If you self host a Wordpress blog you can install the [iframe-plugin][] and then write the following in your blog-post (again, replacing the `httuftrbtg` with your project's identifier):
|
||||||
|
|
||||||
```
|
```
|
||||||
[iframe src="https://codethemicrobit.com/?sandbox=1#pub:httuftrbtg"]
|
[iframe src="https://pxt.microbit.org/?sandbox=1#pub:httuftrbtg"]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Blogger
|
### Blogger
|
||||||
|
BIN
docs/static/icons/android-chrome-144x144.png
vendored
Before Width: | Height: | Size: 1011 B After Width: | Height: | Size: 1.3 KiB |
BIN
docs/static/icons/android-chrome-192x192.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
docs/static/icons/android-chrome-256x256.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
docs/static/icons/android-chrome-36x36.png
vendored
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 531 B |
BIN
docs/static/icons/android-chrome-384x384.png
vendored
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
docs/static/icons/android-chrome-48x48.png
vendored
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 630 B |
BIN
docs/static/icons/android-chrome-512x512.png
vendored
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
docs/static/icons/android-chrome-72x72.png
vendored
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 771 B |
BIN
docs/static/icons/android-chrome-96x96.png
vendored
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 907 B |
BIN
docs/static/icons/apple-touch-icon-114x114.png
vendored
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 1.0 KiB |
BIN
docs/static/icons/apple-touch-icon-120x120.png
vendored
Before Width: | Height: | Size: 752 B After Width: | Height: | Size: 1.1 KiB |
BIN
docs/static/icons/apple-touch-icon-144x144.png
vendored
Before Width: | Height: | Size: 917 B After Width: | Height: | Size: 1.4 KiB |
BIN
docs/static/icons/apple-touch-icon-152x152.png
vendored
Before Width: | Height: | Size: 958 B After Width: | Height: | Size: 1.4 KiB |
BIN
docs/static/icons/apple-touch-icon-180x180.png
vendored
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
docs/static/icons/apple-touch-icon-57x57.png
vendored
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 686 B |
BIN
docs/static/icons/apple-touch-icon-60x60.png
vendored
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 655 B |
BIN
docs/static/icons/apple-touch-icon-72x72.png
vendored
Before Width: | Height: | Size: 543 B After Width: | Height: | Size: 809 B |
BIN
docs/static/icons/apple-touch-icon-76x76.png
vendored
Before Width: | Height: | Size: 557 B After Width: | Height: | Size: 855 B |
BIN
docs/static/icons/apple-touch-icon-precomposed.png
vendored
Before Width: | Height: | Size: 1.3 KiB |
BIN
docs/static/icons/apple-touch-icon.png
vendored
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.6 KiB |
12
docs/static/icons/browserconfig.xml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<browserconfig>
|
||||||
|
<msapplication>
|
||||||
|
<tile>
|
||||||
|
<square70x70logo src="/mstile-70x70.png"/>
|
||||||
|
<square150x150logo src="/mstile-150x150.png"/>
|
||||||
|
<square310x310logo src="/mstile-310x310.png"/>
|
||||||
|
<wide310x150logo src="/mstile-310x150.png"/>
|
||||||
|
<TileColor>#9f00a7</TileColor>
|
||||||
|
</tile>
|
||||||
|
</msapplication>
|
||||||
|
</browserconfig>
|
BIN
docs/static/icons/favicon-16x16.png
vendored
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 636 B |
BIN
docs/static/icons/favicon-32x32.png
vendored
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 831 B |
BIN
docs/static/icons/favicon-96x96.png
vendored
Before Width: | Height: | Size: 724 B |
BIN
docs/static/icons/favicon.ico
vendored
Normal file
After Width: | Height: | Size: 15 KiB |
52
docs/static/icons/manifest.json
vendored
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"name": "pxt.microbit.org",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-36x36.png",
|
||||||
|
"sizes": "36x36",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-48x48.png",
|
||||||
|
"sizes": "48x48",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-72x72.png",
|
||||||
|
"sizes": "72x72",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-96x96.png",
|
||||||
|
"sizes": "96x96",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-256x256.png",
|
||||||
|
"sizes": "256x256",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-384x384.png",
|
||||||
|
"sizes": "384x384",
|
||||||
|
"type": "image\/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "\/android-chrome-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image\/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"display": "standalone"
|
||||||
|
}
|
BIN
docs/static/icons/mstile-144x144.png
vendored
Before Width: | Height: | Size: 1011 B After Width: | Height: | Size: 1.6 KiB |