Beta Update (#118)
* Bring back P18 SDA * Change package name to calliopemini Co-authored-by: Juri <gitkraken@juriwolf.de>
This commit is contained in:
parent
77675c1776
commit
b3f09e56ce
@ -538,6 +538,7 @@
|
||||
"pins.C12": "Pin C12",
|
||||
"pins.C16": "Pin C16",
|
||||
"pins.C17": "Pin C17",
|
||||
"pins.C18": "Pin C18",
|
||||
"pins.C4": "Pin C4",
|
||||
"pins.C5": "Pin C5",
|
||||
"pins.C6": "Pin C6",
|
||||
|
1
libs/core/enums.d.ts
vendored
1
libs/core/enums.d.ts
vendored
@ -464,6 +464,7 @@ declare namespace motors {
|
||||
C12 = 106, // MICROBIT_ID_IO_P6
|
||||
C16 = 102, // MICROBIT_ID_IO_P2
|
||||
C17 = 108, // MICROBIT_ID_IO_P8
|
||||
C18 = 120, // MICROBIT_ID_IO_P20
|
||||
}
|
||||
|
||||
|
||||
|
@ -15,7 +15,8 @@ enum class DigitalPin {
|
||||
C11 = MICROBIT_ID_IO_P7, // LED matrix C8
|
||||
C12 = MICROBIT_ID_IO_P6, // LED matrix C9
|
||||
C16 = MICROBIT_ID_IO_P2, // RX
|
||||
C17 = MICROBIT_ID_IO_P8 // TX
|
||||
C17 = MICROBIT_ID_IO_P8, // TX
|
||||
C18 = MICROBIT_ID_IO_P20 // SDA
|
||||
};
|
||||
|
||||
enum class AnalogPin {
|
||||
|
@ -213,4 +213,10 @@ namespace pins {
|
||||
//% fixedInstance whenUsed
|
||||
export const C17: AnalogInPin = new MicrobitPin(DigitalPin.C17);
|
||||
|
||||
/**
|
||||
* Pin C18
|
||||
*/
|
||||
//% fixedInstance whenUsed
|
||||
export const C18: DigitalInOutPin = new MicrobitPin(DigitalPin.C18);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user