Compare commits
12 Commits
pin-update
...
v0.5.75
Author | SHA1 | Date | |
---|---|---|---|
ce24e9d923 | |||
7ee5b4112b | |||
d903901de2 | |||
9d589971f5 | |||
c6807d67d8 | |||
05ff9282ac | |||
2825d09eae | |||
15d4a594ae | |||
a0b426bdf0 | |||
580f1bf24e | |||
29cc6eaded | |||
6671d1864c |
@ -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"},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pxt-calliope",
|
||||
"version": "0.5.70",
|
||||
"version": "0.5.75",
|
||||
"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.65",
|
||||
"less": "^2.6.0",
|
||||
"semantic-ui-less": "^2.2.4"
|
||||
}
|
||||
|
@ -60,7 +60,7 @@
|
||||
"autoRun": true,
|
||||
"streams": true,
|
||||
"aspectRatio": 1.13,
|
||||
"parts": true,
|
||||
"parts": false,
|
||||
"partsAspectRatio": 0.69,
|
||||
"boardDefinition": {
|
||||
"visual": "calliope",
|
||||
@ -111,15 +111,14 @@
|
||||
"C13": "C_P13",
|
||||
"C14": "C_P14",
|
||||
"C15": "C_P15",
|
||||
"C16": "C_P16",
|
||||
"C19": "C_P19",
|
||||
"C20": "C_P20",
|
||||
"EXT_PWR":"EXT_PWR",
|
||||
"SPKR":"EXT_PWR",
|
||||
"BTN_A": "BTN_A",
|
||||
"BTN_B": "BTN_B",
|
||||
"M_OUT1": "M_OUT1",
|
||||
"M_OUT2": "M_OUT2"
|
||||
"MOTOR1": "M_OUT1",
|
||||
"MOTOR2": "M_OUT2"
|
||||
},
|
||||
"spiPins": {
|
||||
"MOSI": "P15",
|
||||
@ -127,8 +126,8 @@
|
||||
"SCK": "P13"
|
||||
},
|
||||
"i2cPins": {
|
||||
"SDA": "C20",
|
||||
"SCL": "C19"
|
||||
"SDA": "C_P20",
|
||||
"SCL": "C_P19"
|
||||
},
|
||||
"analogInPins": [
|
||||
"P1",
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user