@ -63,6 +63,11 @@
|
||||
"url": "/behind-the-makecode-hardware",
|
||||
"imageUrl": "/static/mb/behindhardware/leds.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Science Experiments",
|
||||
"url": "/science-experiments",
|
||||
"imageUrl": "/static/mb/science-experiments/data-collection.jpg"
|
||||
},
|
||||
{
|
||||
"name": "Coding Cards",
|
||||
"url": "/coding-cards",
|
||||
@ -85,5 +90,6 @@
|
||||
[Blocks To JavaScript](/courses/blocks-to-javascript),
|
||||
[Courses](/courses),
|
||||
[Behind the MakeCode Hardware](/behind-the-makecode-hardware),
|
||||
[Science Experiments](/science-experiments),
|
||||
[Coding Cards](/coding-cards)
|
||||
|
||||
|
@ -95,6 +95,11 @@
|
||||
* [Radio](https://youtu.be/Re3H2ISfQE8)
|
||||
* [Servo Motor](https://youtu.be/okxooamdAP4)
|
||||
* [Speakers](https://youtu.be/cxfPNc4Wefo)
|
||||
* [Science Experiments](/science-experiments)
|
||||
* [Data Collection](https://youtu.be/tZy9Ev21B4c)
|
||||
* [Population Trait Counter](https://youtu.be/NNZEMiJHY2o)
|
||||
* [Temperature Sensor](https://youtu.be/pHDYsy6xyE4)
|
||||
* [Soil Moisture Sensor](https://youtu.be/n0WRQf11Pzo)
|
||||
* [Coding Cards](/coding-cards)
|
||||
* [Make a Digital Balance](https://drive.google.com/open?id=1Tl80unLA5_Zwkymh1flSbwuZbCIqSOxQ)
|
||||
* [Make a Digital Dice](https://drive.google.com/open?id=1iW75z-7maJ3qixwv9Yuj6rA5U387qVpg)
|
||||
|
@ -55,6 +55,7 @@
|
||||
"Buffer.getNumber": "Read a number in specified format from the buffer.",
|
||||
"Buffer.getUint8": "Reads an unsigned byte at a particular location",
|
||||
"Buffer.indexOf": "Return position of other buffer in current buffer",
|
||||
"Buffer.isReadOnly": "Returns false when the buffer can be written to.",
|
||||
"Buffer.length": "Returns the length of a Buffer object.",
|
||||
"Buffer.rotate": "Rotate buffer left in place.\n\n\n\nstart. eg: -1",
|
||||
"Buffer.rotate|param|length": "number of elements in buffer. If negative, length is set as the buffer length minus",
|
||||
@ -193,11 +194,17 @@
|
||||
"String.indexOf|param|start": "optional start index for the search",
|
||||
"String.isEmpty": "Returns a value indicating if the string is empty",
|
||||
"String.length": "Returns the length of a String object.",
|
||||
"String.replace": "Return the current string with the first occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.",
|
||||
"String.replaceAll": "Return the current string with each occurence of toReplace\nreplaced with the replacer\n\n\nor a function that accepts the substring and returns the replacement string.",
|
||||
"String.replaceAll|param|replacer": "either the string that replaces toReplace in the current string,",
|
||||
"String.replaceAll|param|toReplace": "the substring to replace in the current string",
|
||||
"String.replace|param|replacer": "either the string that replaces toReplace in the current string,",
|
||||
"String.replace|param|toReplace": "the substring to replace in the current string",
|
||||
"String.slice": "Return a substring of the current string.",
|
||||
"String.slice|param|end": "one-past-last character index",
|
||||
"String.slice|param|start": "first character index; can be negative from counting from the end, eg:0",
|
||||
"String.split": "Splits the string according to the separators",
|
||||
"String.split|param|separator": "@param limit ",
|
||||
"String.split|param|separator": "@param limit",
|
||||
"String.substr": "Return a substring of the current string.",
|
||||
"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",
|
||||
|
6
libs/core/shims.d.ts
vendored
6
libs/core/shims.d.ts
vendored
@ -894,6 +894,12 @@ declare interface Buffer {
|
||||
//% shim=BufferMethods::getUint8
|
||||
getUint8(off: int32): int32;
|
||||
|
||||
/**
|
||||
* Returns false when the buffer can be written to.
|
||||
*/
|
||||
//% shim=BufferMethods::isReadOnly
|
||||
isReadOnly(): boolean;
|
||||
|
||||
/**
|
||||
* Writes an unsigned byte at a particular location
|
||||
*/
|
||||
|
@ -45,7 +45,7 @@
|
||||
"@types/web-bluetooth": "0.0.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"pxt-common-packages": "6.18.2",
|
||||
"pxt-core": "5.32.3"
|
||||
"pxt-common-packages": "6.18.4",
|
||||
"pxt-core": "5.32.10"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user