Patch in pages for built-in extension "Learn More" links (#1352)

* patch in pages for "Learn More" links

* put package spec at the end

* extra newline
This commit is contained in:
Galen Nickel 2022-06-17 15:00:29 -07:00 коммит произвёл GitHub
Родитель 80af240509
Коммит f40bb636d2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 62 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,21 @@
# Radio Broadcast
The Radio Broadcast extension has blocks for sending to and receiving messages from all the @boardname@ boards nearby. Just two blocks are used, one to send a broadcast message and another to run code when a broadcast message is received.
A message, which is a [number](/types/number), is sent to, or received by all nearby @boardname@ boards regardless of which [Group](/reference/radio/set-group) number they are transmitting or receiving on.
## Blocks in this extension
```cards
radio.sendMessage(0)
radio.onReceivedMessage(0, function() {})
```
## See Also
[send message](/reference/radio/send-message),
[send value](/reference/radio/on-received-message)
```package
radio-broadcast
```

Просмотреть файл

@ -0,0 +1,41 @@
# Servo
This extension has blocks to rotate and run servos connected to the pins.
### ~ hint
#### How servos work
To better understand how servos work and how they are controlled, take a few minutes to read this [Brief Guide to Servos](https://www.kitronik.co.uk/pdf/a-brief-guide-to-servos.pdf).
Also, watch this video for a further look into how motors and servos work.
https://www.youtube.com/watch?v=okxooamdAP4
### ~
## Blocks in this extension
```cards
servos.P0.setPulse(1500)
servos.P0.setAngle(90)
servos.P0.run(50)
servos.P0.stop()
servos.P0.setRange(0, 180)
servos.P0.setStopOnNeutral(false)
```
## See also
[set pulse](/reference/servos/set-pulse),
[set angle](/reference/servos/set-angle),
[run](/reference/servos/run),
[stop](/reference/servos/stop),
[set range](/reference/servos/set-range),
[set stop on neutral](/reference/servos/set-stop-on-neutral)
[Brief Guide to Servos](https://www.kitronik.co.uk/pdf/a-brief-guide-to-servos.pdf)
```package
servo
```