Compare commits

...

6 Commits

Author SHA1 Message Date
2825d09eae 0.5.72 2016-11-10 10:11:16 -08:00
15d4a594ae adding hover style on categories 2016-11-10 10:10:03 -08:00
a0b426bdf0 disable simulator crash, disable parts 2016-11-10 10:06:38 -08:00
580f1bf24e 0.5.71 2016-11-10 09:35:40 -08:00
29cc6eaded Bump pxt-core to 0.5.64 2016-11-10 09:35:36 -08:00
6671d1864c updated dal.d.ts 2016-11-10 09:13:25 -08:00
6 changed files with 15 additions and 10 deletions

View File

@ -169,9 +169,9 @@
"led.unplot|param|x": "TODO",
"led.unplot|param|y": "TODO",
"motors": "Blocks to control the onboard motors",
"motors.dualMotorPower": "Controls two motors attached to the board.",
"motors.motorCommand": "Send break, coast or sleep commands to the motor",
"motors.motorPower": "Turns on the motor at a certain percent of power.",
"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. Has no effect in dual-motor mode.",
"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",
"music": "Generation of music tones through pin ``P0``.",
"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|param|name": "the note name",
"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.rest": "Rests (plays nothing) for a specified time through pin ``P0``.",
"music.rest|param|ms": "rest duration in milliseconds (ms)",

View File

@ -185,7 +185,7 @@
"pinDistance": 65,
"pinLocations": [
{"x": 89, "y": 48},
{"x": 395, "y": 48} ]
{"x": 393, "y": 48} ]
},
"pinDefinitions": [
{ "target": "M_OUT1", "style": "croc", "orientation": "-Z"},

View File

@ -1,6 +1,6 @@
{
"name": "pxt-calliope",
"version": "0.5.70",
"version": "0.5.72",
"description": "calliope target for PXT",
"keywords": [
"JavaScript",
@ -30,7 +30,7 @@
"typescript": "^1.8.7"
},
"dependencies": {
"pxt-core": "0.5.62",
"pxt-core": "0.5.64",
"less": "^2.6.0",
"semantic-ui-less": "^2.2.4"
}

View File

@ -60,7 +60,7 @@
"autoRun": true,
"streams": true,
"aspectRatio": 1.13,
"parts": true,
"parts": false,
"partsAspectRatio": 0.69,
"boardDefinition": {
"visual": "calliope",

View File

@ -199,8 +199,9 @@ namespace pxsim {
if (force < sq(DAL.MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE))
return DAL.MICROBIT_ACCELEROMETER_EVT_FREEFALL;
if (force > sq(DAL.MICROBIT_ACCELEROMETER_3G_TOLERANCE))
return DAL.MICROBIT_ACCELEROMETER_EVT_3G;
// TODO: fix this
//if (force > sq(DAL.MICROBIT_ACCELEROMETER_3G_TOLERANCE))
// return DAL.MICROBIT_ACCELEROMETER_EVT_3G;
if (force > sq(DAL.MICROBIT_ACCELEROMETER_6G_TOLERANCE))
return DAL.MICROBIT_ACCELEROMETER_EVT_6G;

View File

@ -4,6 +4,7 @@
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
@import 'site/globals/site.variables';
@import 'themes/default/collections/menu.variables';
/* Reference import */
@import (reference) "semantic.less";
@ -44,6 +45,10 @@
border-radius:5px;
}
.blocklyTreeRow:hover {
background: @invertedBackground !important;
}
/* This removes any padding at the top of the toolbox */
.blocklyTreeRoot {
padding: 0px !important;