Beta updates (#117)
* fixes for beta - hide blocks without function - digital Pin selection bring P0 in first position - add compass block to end confusion about "basic.showArrow(ArrowNames.North)" - add approved repos - add and sort preffered repos - add prefferedPackages - disable webUSB - disable parts - remove mobileSafariDownloadProtocol - update socialOptions * remove `preferredPackages` from `pxtarget` * Beta updates - removed robobit extension - updated docs menu - added about.md - added arrow icons - removed show arrow block * Beta Update - replace webUSb Images - update extension list - hide II2C Pins from digitalPins - move compile service repos back to calliope * replace extension images * Beta update - change extension upload button style - deprecate arrow blocks Co-authored-by: Juri <gitkraken@juriwolf.de>
This commit is contained in:
@ -538,8 +538,6 @@
|
||||
"pins.C12": "Pin C12",
|
||||
"pins.C16": "Pin C16",
|
||||
"pins.C17": "Pin C17",
|
||||
"pins.C18": "Pin C18",
|
||||
"pins.C19": "Pin C19",
|
||||
"pins.C4": "Pin C4",
|
||||
"pins.C5": "Pin C5",
|
||||
"pins.C6": "Pin C6",
|
||||
|
2
libs/core/enums.d.ts
vendored
2
libs/core/enums.d.ts
vendored
@ -464,8 +464,6 @@ 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
|
||||
C19 = 119, // MICROBIT_ID_IO_P19
|
||||
}
|
||||
|
||||
|
||||
|
@ -236,6 +236,7 @@ namespace images {
|
||||
//% weight=50 blockGap=8
|
||||
//% help=images/arrow-image
|
||||
//% blockId=builtin_arrow_image block="arrow image %i"
|
||||
//% deprecated=true
|
||||
export function arrowImage(i: ArrowNames): Image {
|
||||
switch (i) {
|
||||
// compass directions
|
||||
@ -616,6 +617,7 @@ namespace images {
|
||||
//% help=images/arrow-number
|
||||
//% blockId=device_arrow block="%arrow"
|
||||
//% shim=TD_ID
|
||||
//% deprecated=true
|
||||
export function arrowNumber(arrow: ArrowNames): number {
|
||||
return arrow;
|
||||
}
|
||||
|
@ -15,9 +15,7 @@ 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
|
||||
C18 = MICROBIT_ID_IO_P20, // SDA
|
||||
C19 = MICROBIT_ID_IO_P19 // SCL
|
||||
C17 = MICROBIT_ID_IO_P8 // TX
|
||||
};
|
||||
|
||||
enum class AnalogPin {
|
||||
|
@ -212,16 +212,5 @@ namespace pins {
|
||||
*/
|
||||
//% fixedInstance whenUsed
|
||||
export const C17: AnalogInPin = new MicrobitPin(DigitalPin.C17);
|
||||
|
||||
/**
|
||||
* Pin C18
|
||||
*/
|
||||
//% fixedInstance whenUsed
|
||||
export const C18: DigitalInOutPin = new MicrobitPin(DigitalPin.C18);
|
||||
|
||||
/**
|
||||
* Pin C19
|
||||
*/
|
||||
//% fixedInstance whenUsed
|
||||
export const C19: DigitalInOutPin = new MicrobitPin(DigitalPin.C19);
|
||||
|
||||
}
|
Reference in New Issue
Block a user