Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
e1e8eab93f | |||
dface9083f | |||
31d4afc897 | |||
8427e89eb6 | |||
277d5a721c | |||
80131f2928 | |||
51bd8d57aa |
@ -20,8 +20,8 @@ Use the Accelerometer to control guitar tempo
|
||||
## Duration: 30 - 45 minutes
|
||||
|
||||
*accelerometer controlled tempo*
|
||||
https://youtu.be/h_gPkBaVkoo
|
||||
TODO: add sound to video
|
||||
https://youtu.be/kA0HpqCWsjs
|
||||
|
||||
## Blocks
|
||||
|
||||
```cards
|
||||
|
@ -1,20 +1,11 @@
|
||||
# Raspberry Pi and Raspbian
|
||||
|
||||
It is possible to run the web editor or [command line interface](/cli) from Raspbian on Raspberry Pi 2 or 3.
|
||||
It is possible to run the web editor or [command line interface](/cli) from Raspbian on Raspberry Pi 2 or 3
|
||||
with [Raspbian Jessie with Pixel](https://www.raspberrypi.org/downloads/raspbian/).
|
||||
|
||||
## Web editor
|
||||
|
||||
The web editor requires to install IceWeasel (Firefox) as the built-in browser cannot handle it.
|
||||
|
||||
```
|
||||
sudo apt-get install iceweasel
|
||||
```
|
||||
|
||||
Once installed simply navigate to https://codethemicrobit.com or type
|
||||
|
||||
```
|
||||
firefox https://codethemicrobit.com
|
||||
```
|
||||
Starting with **Raspbian Pixel**, Raspbian comes with Chromium. Simply open [](https://codethemicrobit.com).
|
||||
|
||||
## Command line
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "microbit-bluetooth",
|
||||
"name": "bluetooth",
|
||||
"description": "Bluetooth services",
|
||||
"files": [
|
||||
"README.md",
|
||||
@ -10,7 +10,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit"
|
||||
"core": "file:../core"
|
||||
},
|
||||
"yotta": {
|
||||
"config": {
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "microbit",
|
||||
"name": "core",
|
||||
"description": "The microbit core library",
|
||||
"installedVersion": "tsmdvf",
|
||||
"files": [
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "microbit-devices",
|
||||
"name": "devices",
|
||||
"description": "The BLE specific services",
|
||||
"files": [
|
||||
"README.md",
|
||||
@ -9,7 +9,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit"
|
||||
"core": "file:../core"
|
||||
},
|
||||
"yotta": {
|
||||
"config": {
|
@ -6,7 +6,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit",
|
||||
"microbit-radio": "file:../microbit-radio"
|
||||
"core": "file:../core",
|
||||
"radio": "file:../radio"
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,6 @@
|
||||
"public": true,
|
||||
"additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0",
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit"
|
||||
"core": "file:../core"
|
||||
}
|
||||
}
|
||||
|
@ -7,6 +7,6 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit"
|
||||
"core": "file:../core"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "microbit-radio",
|
||||
"name": "radio",
|
||||
"description": "The radio services",
|
||||
"files": [
|
||||
"README.md",
|
||||
@ -10,7 +10,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit"
|
||||
"core": "file:../core"
|
||||
},
|
||||
"yotta": {
|
||||
"config": {
|
@ -7,7 +7,7 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "file:../microbit",
|
||||
"microbit-radio": "file:../microbit-radio"
|
||||
"core": "file:../core",
|
||||
"radio": "file:../radio"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pxt-microbit",
|
||||
"version": "0.4.41",
|
||||
"version": "0.4.43",
|
||||
"description": "micro:bit target for PXT",
|
||||
"keywords": [
|
||||
"JavaScript",
|
||||
@ -29,6 +29,6 @@
|
||||
"typescript": "^1.8.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-core": "0.4.48"
|
||||
"pxt-core": "0.4.51"
|
||||
}
|
||||
}
|
||||
|
@ -4,12 +4,12 @@
|
||||
"name": "code the micro:bit",
|
||||
"title": "code the micro:bit - Blocks / Javascript editor",
|
||||
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
||||
"corepkg": "microbit",
|
||||
"corepkg": "core",
|
||||
"bundleddirs": [
|
||||
"libs/microbit",
|
||||
"libs/microbit-radio",
|
||||
"libs/microbit-devices",
|
||||
"libs/microbit-bluetooth"
|
||||
"libs/core",
|
||||
"libs/radio",
|
||||
"libs/devices",
|
||||
"libs/bluetooth"
|
||||
],
|
||||
"cloud": {
|
||||
"workspace": false,
|
||||
@ -29,8 +29,8 @@
|
||||
"config": {
|
||||
"name": "{0} block",
|
||||
"dependencies": {
|
||||
"microbit": "*",
|
||||
"microbit-radio": "*"
|
||||
"core": "*",
|
||||
"radio": "*"
|
||||
},
|
||||
"description": "",
|
||||
"files": [
|
||||
@ -50,8 +50,8 @@
|
||||
"config": {
|
||||
"name": "{0} bit",
|
||||
"dependencies": {
|
||||
"microbit": "*",
|
||||
"microbit-radio": "*"
|
||||
"core": "*",
|
||||
"radio": "*"
|
||||
},
|
||||
"description": "",
|
||||
"files": [
|
||||
@ -69,7 +69,23 @@
|
||||
"hasHex": true,
|
||||
"deployDrives": "(MICROBIT|MBED)",
|
||||
"driveName": "MICROBIT",
|
||||
"hexMimeType": "application/x-microbit-hex"
|
||||
"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": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"runtime": {
|
||||
"mathBlocks": true,
|
||||
|
@ -1,7 +1,7 @@
|
||||
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||
/// <reference path="../../libs/microbit/dal.d.ts"/>
|
||||
/// <reference path="../../libs/microbit/shims.d.ts"/>
|
||||
/// <reference path="../../libs/microbit/enums.d.ts"/>
|
||||
/// <reference path="../../libs/core/dal.d.ts"/>
|
||||
/// <reference path="../../libs/core/shims.d.ts"/>
|
||||
/// <reference path="../../libs/core/enums.d.ts"/>
|
||||
|
||||
namespace pxsim.visuals {
|
||||
const PIXEL_SPACING = PIN_DIST * 3;
|
||||
|
@ -6,8 +6,8 @@
|
||||
],
|
||||
"public": true,
|
||||
"dependencies": {
|
||||
"microbit": "*",
|
||||
"microbit-radio": "*"
|
||||
"core": "*",
|
||||
"radio": "*"
|
||||
},
|
||||
"installedVersion": "file:."
|
||||
}
|
||||
|
Reference in New Issue
Block a user