bum pxt 5.9.1 (#1951)

This commit is contained in:
Peli de Halleux 2019-04-03 16:01:04 -07:00 committed by GitHub
parent 3838970b1b
commit 8183b6a4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
"AcceleratorRange.FourG": "The accelerator measures forces up to 4 gravity", "AcceleratorRange.FourG": "The accelerator measures forces up to 4 gravity",
"AcceleratorRange.OneG": "The accelerator measures forces up to 1 gravity", "AcceleratorRange.OneG": "The accelerator measures forces up to 1 gravity",
"AcceleratorRange.TwoG": "The accelerator measures forces up to 2 gravity", "AcceleratorRange.TwoG": "The accelerator measures forces up to 2 gravity",
"Array": "Add, remove, and replace items in lists.\n\nAdd, remove, and replace items in lists.", "Array": "Add, remove, and replace items in lists.",
"Array.concat": "Concatenates the values with another array.", "Array.concat": "Concatenates the values with another array.",
"Array.concat|param|arr": "The other array that is being concatenated with", "Array.concat|param|arr": "The other array that is being concatenated with",
"Array.every": "Tests whether all elements in the array pass the test implemented by the provided function.", "Array.every": "Tests whether all elements in the array pass the test implemented by the provided function.",
@ -48,6 +48,7 @@
"Array.splice|param|deleteCount": "The number of elements to remove. eg: 0", "Array.splice|param|deleteCount": "The number of elements to remove. eg: 0",
"Array.splice|param|start": "The zero-based location in the array from which to start removing elements. eg: 0", "Array.splice|param|start": "The zero-based location in the array from which to start removing elements. eg: 0",
"Array.unshift": "Add one element to the beginning of an array and return the new length of the array.", "Array.unshift": "Add one element to the beginning of an array and return the new length of the array.",
"Array@type": "Add, remove, and replace items in lists.",
"Boolean.toString": "Returns a string representation of an object.", "Boolean.toString": "Returns a string representation of an object.",
"Buffer.fill": "Fill (a fragment) of the buffer with given value.", "Buffer.fill": "Fill (a fragment) of the buffer with given value.",
"Buffer.getNumber": "Read a number in specified format from the buffer.", "Buffer.getNumber": "Read a number in specified format from the buffer.",
@ -167,7 +168,7 @@
"Math.trunc|param|x": "A numeric expression.", "Math.trunc|param|x": "A numeric expression.",
"Number.toString": "Returns a string representation of a number.", "Number.toString": "Returns a string representation of a number.",
"Object.keys": "Return the field names in an object.", "Object.keys": "Return the field names in an object.",
"String": "Combine, split, and search text strings.\n\nCombine, split, and search text strings.", "String": "Combine, split, and search text strings.",
"String.charAt": "Return the character at the specified index.", "String.charAt": "Return the character at the specified index.",
"String.charAt|param|index": "The zero-based index of the desired character.", "String.charAt|param|index": "The zero-based index of the desired character.",
"String.charCodeAt": "Return the Unicode value of the character at the specified location.", "String.charCodeAt": "Return the Unicode value of the character at the specified location.",
@ -193,6 +194,7 @@
"String.substr": "Return a substring of the current string.", "String.substr": "Return a substring of the current string.",
"String.substr|param|length": "number of characters to extract", "String.substr|param|length": "number of characters to extract",
"String.substr|param|start": "first character index; can be negative from counting from the end, eg:0", "String.substr|param|start": "first character index; can be negative from counting from the end, eg:0",
"String@type": "Combine, split, and search text strings.",
"basic": "Provides access to basic micro:bit functionality.", "basic": "Provides access to basic micro:bit functionality.",
"basic.clearScreen": "Turn off all LEDs", "basic.clearScreen": "Turn off all LEDs",
"basic.forever": "Repeats the code forever in the background. On each iteration, allows other codes to run.", "basic.forever": "Repeats the code forever in the background. On each iteration, allows other codes to run.",
@ -521,6 +523,7 @@
"pins.spiWrite": "Write to the SPI slave and return the response", "pins.spiWrite": "Write to the SPI slave and return the response",
"pins.spiWrite|param|value": "Data to be sent to the SPI slave", "pins.spiWrite|param|value": "Data to be sent to the SPI slave",
"serial": "Reading and writing data over a serial connection.", "serial": "Reading and writing data over a serial connection.",
"serial.NEW_LINE": "The string used to mark a new line, default is \\r\\n",
"serial.delimiters": "Return the corresponding delimiter string", "serial.delimiters": "Return the corresponding delimiter string",
"serial.onDataReceived": "Register an event to be fired when one of the delimiter is matched.", "serial.onDataReceived": "Register an event to be fired when one of the delimiter is matched.",
"serial.onDataReceived|param|delimiters": "the characters to match received characters against.", "serial.onDataReceived|param|delimiters": "the characters to match received characters against.",

View File

@ -213,6 +213,7 @@
"Note.GSharp4|block": "G#4", "Note.GSharp4|block": "G#4",
"Note.GSharp5|block": "G#5", "Note.GSharp5|block": "G#5",
"Note.GSharp|block": "G#", "Note.GSharp|block": "G#",
"Number|block": "Number",
"Object|block": "Object", "Object|block": "Object",
"PinEvent.Fall|block": "fall", "PinEvent.Fall|block": "fall",
"PinEvent.PulseHigh|block": "pulse high", "PinEvent.PulseHigh|block": "pulse high",

View File

@ -30,7 +30,7 @@
"radio.sendString": "Broadcasts a string along with the device serial number\nand running time to any connected micro:bit in the group.", "radio.sendString": "Broadcasts a string along with the device serial number\nand running time to any connected micro:bit in the group.",
"radio.sendValue": "Broadcasts a name / value pair along with the device serial number\nand running time to any connected micro:bit in the group.", "radio.sendValue": "Broadcasts a name / value pair along with the device serial number\nand running time to any connected micro:bit in the group.",
"radio.sendValue|param|name": "the field name (max 12 characters), eg: \"name\"", "radio.sendValue|param|name": "the field name (max 12 characters), eg: \"name\"",
"radio.sendValue|param|value": "the numberic value", "radio.sendValue|param|value": "the numeric value",
"radio.setGroup": "Sets the group id for radio communications. A micro:bit can only listen to one group ID at any time.", "radio.setGroup": "Sets the group id for radio communications. A micro:bit can only listen to one group ID at any time.",
"radio.setGroup|param|id": "the group id between ``0`` and ``255``, eg: 1", "radio.setGroup|param|id": "the group id between ``0`` and ``255``, eg: 1",
"radio.setTransmitPower": "Change the output power level of the transmitter to the given value.", "radio.setTransmitPower": "Change the output power level of the transmitter to the given value.",

View File

@ -27,7 +27,7 @@ declare namespace radio {
* Broadcasts a name / value pair along with the device serial number * Broadcasts a name / value pair along with the device serial number
* and running time to any connected micro:bit in the group. * and running time to any connected micro:bit in the group.
* @param name the field name (max 12 characters), eg: "name" * @param name the field name (max 12 characters), eg: "name"
* @param value the numberic value * @param value the numeric value
*/ */
//% help=radio/send-value //% help=radio/send-value
//% weight=59 //% weight=59

View File

@ -45,7 +45,7 @@
"@types/web-bluetooth": "0.0.4" "@types/web-bluetooth": "0.0.4"
}, },
"dependencies": { "dependencies": {
"pxt-common-packages": "6.5.14", "pxt-common-packages": "6.5.19",
"pxt-core": "5.5.37" "pxt-core": "5.9.1"
} }
} }