Compare commits
6 Commits
pin-update
...
v0.5.72
Author | SHA1 | Date | |
---|---|---|---|
2825d09eae | |||
15d4a594ae | |||
a0b426bdf0 | |||
580f1bf24e | |||
29cc6eaded | |||
6671d1864c |
@ -169,9 +169,9 @@
|
|||||||
"led.unplot|param|x": "TODO",
|
"led.unplot|param|x": "TODO",
|
||||||
"led.unplot|param|y": "TODO",
|
"led.unplot|param|y": "TODO",
|
||||||
"motors": "Blocks to control the onboard motors",
|
"motors": "Blocks to control the onboard motors",
|
||||||
"motors.dualMotorPower": "Controls two motors attached to the board.",
|
"motors.dualMotorPower": "Controls two motors attached to the board. Switches to dual-motor mode!",
|
||||||
"motors.motorCommand": "Send break, coast or sleep commands to the motor",
|
"motors.motorCommand": "Send break, coast or sleep commands to the motor. Has no effect in dual-motor mode.",
|
||||||
"motors.motorPower": "Turns on the motor at a certain percent of power.",
|
"motors.motorPower": "Turns on the motor at a certain percent of power. Switches to single motor mode!",
|
||||||
"motors.motorPower|param|power": "%percent of power sent to the motor. Negative power goes backward. eg: 50",
|
"motors.motorPower|param|power": "%percent of power sent to the motor. Negative power goes backward. eg: 50",
|
||||||
"music": "Generation of music tones through pin ``P0``.",
|
"music": "Generation of music tones through pin ``P0``.",
|
||||||
"music.beat": "Returns the duration of a beat in milli-seconds",
|
"music.beat": "Returns the duration of a beat in milli-seconds",
|
||||||
@ -180,7 +180,6 @@
|
|||||||
"music.noteFrequency": "Gets the frequency of a note.",
|
"music.noteFrequency": "Gets the frequency of a note.",
|
||||||
"music.noteFrequency|param|name": "the note name",
|
"music.noteFrequency|param|name": "the note name",
|
||||||
"music.playTone": "Plays a tone through ``speaker`` for the given duration.",
|
"music.playTone": "Plays a tone through ``speaker`` for the given duration.",
|
||||||
"music.playTone|param|frequency": "pitch of the tone to play in Hertz (Hz)",
|
|
||||||
"music.playTone|param|ms": "tone duration in milliseconds (ms)",
|
"music.playTone|param|ms": "tone duration in milliseconds (ms)",
|
||||||
"music.rest": "Rests (plays nothing) for a specified time through pin ``P0``.",
|
"music.rest": "Rests (plays nothing) for a specified time through pin ``P0``.",
|
||||||
"music.rest|param|ms": "rest duration in milliseconds (ms)",
|
"music.rest|param|ms": "rest duration in milliseconds (ms)",
|
||||||
|
@ -185,7 +185,7 @@
|
|||||||
"pinDistance": 65,
|
"pinDistance": 65,
|
||||||
"pinLocations": [
|
"pinLocations": [
|
||||||
{"x": 89, "y": 48},
|
{"x": 89, "y": 48},
|
||||||
{"x": 395, "y": 48} ]
|
{"x": 393, "y": 48} ]
|
||||||
},
|
},
|
||||||
"pinDefinitions": [
|
"pinDefinitions": [
|
||||||
{ "target": "M_OUT1", "style": "croc", "orientation": "-Z"},
|
{ "target": "M_OUT1", "style": "croc", "orientation": "-Z"},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pxt-calliope",
|
"name": "pxt-calliope",
|
||||||
"version": "0.5.70",
|
"version": "0.5.72",
|
||||||
"description": "calliope target for PXT",
|
"description": "calliope target for PXT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"JavaScript",
|
"JavaScript",
|
||||||
@ -30,7 +30,7 @@
|
|||||||
"typescript": "^1.8.7"
|
"typescript": "^1.8.7"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pxt-core": "0.5.62",
|
"pxt-core": "0.5.64",
|
||||||
"less": "^2.6.0",
|
"less": "^2.6.0",
|
||||||
"semantic-ui-less": "^2.2.4"
|
"semantic-ui-less": "^2.2.4"
|
||||||
}
|
}
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
"autoRun": true,
|
"autoRun": true,
|
||||||
"streams": true,
|
"streams": true,
|
||||||
"aspectRatio": 1.13,
|
"aspectRatio": 1.13,
|
||||||
"parts": true,
|
"parts": false,
|
||||||
"partsAspectRatio": 0.69,
|
"partsAspectRatio": 0.69,
|
||||||
"boardDefinition": {
|
"boardDefinition": {
|
||||||
"visual": "calliope",
|
"visual": "calliope",
|
||||||
|
@ -199,8 +199,9 @@ namespace pxsim {
|
|||||||
if (force < sq(DAL.MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE))
|
if (force < sq(DAL.MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE))
|
||||||
return DAL.MICROBIT_ACCELEROMETER_EVT_FREEFALL;
|
return DAL.MICROBIT_ACCELEROMETER_EVT_FREEFALL;
|
||||||
|
|
||||||
if (force > sq(DAL.MICROBIT_ACCELEROMETER_3G_TOLERANCE))
|
// TODO: fix this
|
||||||
return DAL.MICROBIT_ACCELEROMETER_EVT_3G;
|
//if (force > sq(DAL.MICROBIT_ACCELEROMETER_3G_TOLERANCE))
|
||||||
|
// return DAL.MICROBIT_ACCELEROMETER_EVT_3G;
|
||||||
|
|
||||||
if (force > sq(DAL.MICROBIT_ACCELEROMETER_6G_TOLERANCE))
|
if (force > sq(DAL.MICROBIT_ACCELEROMETER_6G_TOLERANCE))
|
||||||
return DAL.MICROBIT_ACCELEROMETER_EVT_6G;
|
return DAL.MICROBIT_ACCELEROMETER_EVT_6G;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
@import 'themes/default/globals/site.variables';
|
@import 'themes/default/globals/site.variables';
|
||||||
@import 'themes/pxt/globals/site.variables';
|
@import 'themes/pxt/globals/site.variables';
|
||||||
@import 'site/globals/site.variables';
|
@import 'site/globals/site.variables';
|
||||||
|
@import 'themes/default/collections/menu.variables';
|
||||||
|
|
||||||
/* Reference import */
|
/* Reference import */
|
||||||
@import (reference) "semantic.less";
|
@import (reference) "semantic.less";
|
||||||
@ -44,6 +45,10 @@
|
|||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.blocklyTreeRow:hover {
|
||||||
|
background: @invertedBackground !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* This removes any padding at the top of the toolbox */
|
/* This removes any padding at the top of the toolbox */
|
||||||
.blocklyTreeRoot {
|
.blocklyTreeRoot {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
|
Reference in New Issue
Block a user