fix naming and pin selection
This commit is contained in:
parent
cdb9682a8b
commit
c1025b8658
1
libs/core/dal.d.ts
vendored
1
libs/core/dal.d.ts
vendored
@ -431,6 +431,7 @@ declare const enum DAL {
|
|||||||
MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE = 400,
|
MICROBIT_ACCELEROMETER_FREEFALL_TOLERANCE = 400,
|
||||||
MICROBIT_ACCELEROMETER_SHAKE_TOLERANCE = 400,
|
MICROBIT_ACCELEROMETER_SHAKE_TOLERANCE = 400,
|
||||||
MICROBIT_ACCELEROMETER_2G_TOLERANCE = 2048,
|
MICROBIT_ACCELEROMETER_2G_TOLERANCE = 2048,
|
||||||
|
MICROBIT_ACCELEROMETER_3G_TOLERANCE = 3072,
|
||||||
MICROBIT_ACCELEROMETER_6G_TOLERANCE = 6144,
|
MICROBIT_ACCELEROMETER_6G_TOLERANCE = 6144,
|
||||||
MICROBIT_ACCELEROMETER_8G_TOLERANCE = 8192,
|
MICROBIT_ACCELEROMETER_8G_TOLERANCE = 8192,
|
||||||
MICROBIT_ACCELEROMETER_GESTURE_DAMPING = 5,
|
MICROBIT_ACCELEROMETER_GESTURE_DAMPING = 5,
|
||||||
|
@ -19,7 +19,7 @@ enum class DigitalPin {
|
|||||||
C15 = CALLIOPE_ID_IO_P15, // LED matrix R3
|
C15 = CALLIOPE_ID_IO_P15, // LED matrix R3
|
||||||
//P16 = MICROBIT_ID_IO_P16,
|
//P16 = MICROBIT_ID_IO_P16,
|
||||||
C19 = MICROBIT_ID_IO_P19, // SCL
|
C19 = MICROBIT_ID_IO_P19, // SCL
|
||||||
C20 = MICROBIT_ID_IO_P20, // SDA
|
C20 = MICROBIT_ID_IO_P20 // SDA
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class AnalogPin {
|
enum class AnalogPin {
|
||||||
|
@ -99,21 +99,21 @@
|
|||||||
"P1": "EDGE_P1",
|
"P1": "EDGE_P1",
|
||||||
"P2": "EDGE_P2",
|
"P2": "EDGE_P2",
|
||||||
"P3": "EDGE_P3",
|
"P3": "EDGE_P3",
|
||||||
"P4": "C_P4",
|
"C4": "C_P4",
|
||||||
"P5": "C_P5",
|
"C5": "C_P5",
|
||||||
"P6": "C_P6",
|
"C6": "C_P6",
|
||||||
"P7": "C_P7",
|
"C7": "C_P7",
|
||||||
"P8": "C_P8",
|
"C8": "C_P8",
|
||||||
"P9": "C_P9",
|
"C9": "C_P9",
|
||||||
"P10": "C_P10",
|
"C10": "C_P10",
|
||||||
"P11": "C_P11",
|
"C11": "C_P11",
|
||||||
"P12": "C_P12",
|
"C12": "C_P12",
|
||||||
"P13": "C_P13",
|
"C13": "C_P13",
|
||||||
"P14": "C_P14",
|
"C14": "C_P14",
|
||||||
"P15": "C_P15",
|
"C15": "C_P15",
|
||||||
"P16": "C_P16",
|
"C16": "C_P16",
|
||||||
"P19": "C_P19",
|
"C19": "C_P19",
|
||||||
"P20": "C_P20",
|
"C20": "C_P20",
|
||||||
"EXT_PWR":"EXT_PWR",
|
"EXT_PWR":"EXT_PWR",
|
||||||
"SPKR":"EXT_PWR",
|
"SPKR":"EXT_PWR",
|
||||||
"BTN_A": "BTN_A",
|
"BTN_A": "BTN_A",
|
||||||
@ -127,15 +127,15 @@
|
|||||||
"SCK": "P13"
|
"SCK": "P13"
|
||||||
},
|
},
|
||||||
"i2cPins": {
|
"i2cPins": {
|
||||||
"SDA": "P20",
|
"SDA": "C20",
|
||||||
"SCL": "P19"
|
"SCL": "C19"
|
||||||
},
|
},
|
||||||
"analogInPins": [
|
"analogInPins": [
|
||||||
"P0",
|
|
||||||
"P1",
|
"P1",
|
||||||
"P2",
|
"P2",
|
||||||
"P3",
|
"C4",
|
||||||
"P10"
|
"C5",
|
||||||
|
"C6"
|
||||||
],
|
],
|
||||||
"groundPins": [
|
"groundPins": [
|
||||||
"EDGE_GND"
|
"EDGE_GND"
|
||||||
@ -169,7 +169,7 @@
|
|||||||
"yottaTarget": "bbc-microbit-classic-gcc",
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
||||||
"yottaCorePackage": "pxt-calliope-core",
|
"yottaCorePackage": "pxt-calliope-core",
|
||||||
"githubCorePackage": "microsoft/pxt-calliope-core",
|
"githubCorePackage": "microsoft/pxt-calliope-core",
|
||||||
"gittag": "v0.5.13",
|
"gittag": "v0.5.14",
|
||||||
"serviceId": "calliope"
|
"serviceId": "calliope"
|
||||||
},
|
},
|
||||||
"serial": {
|
"serial": {
|
||||||
|
Loading…
Reference in New Issue
Block a user