Extension gallery section links (#5736)
* fix category relative links * fix some unrelated spelling errors
This commit is contained in:
Родитель
8d43aeb1d9
Коммит
8c5ac19e72
|
@ -13,55 +13,55 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
||||||
```codecard
|
```codecard
|
||||||
[{
|
[{
|
||||||
"name": "Display",
|
"name": "Display",
|
||||||
"url": "/extensions#display",
|
"url": "/extensions/extension-gallery#display",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Electronics",
|
"name": "Electronics",
|
||||||
"url": "/extensions#electronics",
|
"url": "/extensions/extension-gallery#electronics",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Gaming",
|
"name": "Gaming",
|
||||||
"url": "/extensions#gaming",
|
"url": "/extensions/extension-gallery#gaming",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Individual sensors",
|
"name": "Individual sensors",
|
||||||
"url": "/extensions#individual-sensors",
|
"url": "/extensions/extension-gallery#individual-sensors",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "IoT",
|
"name": "IoT",
|
||||||
"url": "/extensions#iot",
|
"url": "/extensions/extension-gallery#iot",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Kits",
|
"name": "Kits",
|
||||||
"url": "/extensions#kits",
|
"url": "/extensions/extension-gallery#kits",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "LEDs and lights",
|
"name": "LEDs and lights",
|
||||||
"url": "/extensions#leds-and-lights",
|
"url": "/extensions/extension-gallery#leds-and-lights",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Machine learning",
|
"name": "Machine learning",
|
||||||
"url": "/extensions#machine-learning",
|
"url": "/extensions/extension-gallery#machine-learning",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Robotics",
|
"name": "Robotics",
|
||||||
"url": "/extensions#robotics",
|
"url": "/extensions/extension-gallery#robotics",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Sensor boards",
|
"name": "Sensor boards",
|
||||||
"url": "/extensions#sensor-boards",
|
"url": "/extensions/extension-gallery#sensor-boards",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Sound",
|
"name": "Sound",
|
||||||
"url": "/extensions#sound",
|
"url": "/extensions/extension-gallery#sound",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Wearables",
|
"name": "Wearables",
|
||||||
"url": "/extensions#wearables",
|
"url": "/extensions/extension-gallery#wearables",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}, {
|
}, {
|
||||||
"name": "Utilities",
|
"name": "Utilities",
|
||||||
"url": "/extensions#utilities",
|
"url": "/extensions/extension-gallery#utilities",
|
||||||
"cardType": "link"
|
"cardType": "link"
|
||||||
}]
|
}]
|
||||||
```
|
```
|
||||||
|
|
|
@ -12,8 +12,8 @@ A data log entry is written to the data log as an array of one or more "column-v
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
* **colunm**: a [string](types/string) name that idenifies the data value.
|
* **column**: a [string](types/string) name that identifies the data value.
|
||||||
* **value**: a data value of _any_ type that is logged with the `colunm` name.
|
* **value**: a data value of _any_ type that is logged with the `column` name.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ loops.everyInterval(500, function () {
|
||||||
|
|
||||||
### Mood experiment
|
### Mood experiment
|
||||||
|
|
||||||
Create an experiment to record a person's moods and relate them to current enviromental factors. Set 3 button options for moods of "happy", "sad", and "angry". When the user signals their mood by pressing a button, read the current temperature, light level, and sound level to establish a relationship between those factors and mood.
|
Create an experiment to record a person's moods and relate them to current environmental factors. Set 3 button options for moods of "happy", "sad", and "angry". When the user signals their mood by pressing a button, read the current temperature, light level, and sound level to establish a relationship between those factors and mood.
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
input.onButtonPressed(Button.A, function () {
|
input.onButtonPressed(Button.A, function () {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче