diff --git a/docs/js/sequence.md b/docs/js/sequence.md
index de0364dc..acfd93b3 100644
--- a/docs/js/sequence.md
+++ b/docs/js/sequence.md
@@ -41,8 +41,8 @@ In JavaScript, there is the concept of an *empty statement*, which is whitespace
a semicolon in the context where a statement is expected.
So, the following code is an infinite loop
followed by a call to `showNumber` that will never execute:
-```typescript
-while(true) ;
+```typescript-ignore
+while(true) ;
basic.showNumber(1);
```
diff --git a/docs/js/types.md b/docs/js/types.md
index 597a19e9..81cf1c65 100644
--- a/docs/js/types.md
+++ b/docs/js/types.md
@@ -51,6 +51,8 @@ I'll be ${ age + 1 } years old next month.`
This is equivalent to declaring `sentence` like so:
```ts
+let fullName: string = `Bob Bobbington`;
+let age: number = 37;
let sentence: string = "Hello, my name is " + fullName + ".\n\n" +
"I'll be " + (age + 1) + " years old next month."
```
@@ -82,7 +84,7 @@ A helpful addition to the standard set of datatypes from JavaScript is the `enum
As in languages like C#, an enum is a way of giving more friendly names to sets of numeric values.
```ts
-enum Color {Red, Green, Blue};
+enum Color {Red, Green, Blue}
let c: Color = Color.Green;
```
@@ -91,14 +93,14 @@ You can change this by manually setting the value of one of its members.
For example, we can start the previous example at `1` instead of `0`:
```ts
-enum Color {Red = 1, Green, Blue};
+enum Color {Red = 1, Green, Blue}
let c: Color = Color.Green;
```
Or, even manually set all the values in the enum:
```ts
-enum Color {Red = 1, Green = 2, Blue = 4};
+enum Color {Red = 1, Green = 2, Blue = 4}
let c: Color = Color.Green;
```
diff --git a/docs/lessons/bop-it/activity.md b/docs/lessons/bop-it/activity.md
index 75f932a3..44d3093d 100644
--- a/docs/lessons/bop-it/activity.md
+++ b/docs/lessons/bop-it/activity.md
@@ -6,43 +6,43 @@ a game similar to "Simon Says" with the BBC micro:bit.
Complete the following guided tutorial. Your code should look like this:
-```blocks
-newAction() // ***
+```typescript
+let action = 0;
+function newAction() {}
input.onButtonPressed(Button.A, () => {
if (action == 0) {
- game.addScore(1) // ***
- newAction() // ***
+ game.addScore(1);
+ newAction();
}
-}) // ***
+})
input.onLogoDown(() => {
if (action == 1) {
- game.addScore(1) // ***
- newAction()
+ game.addScore(1);
+ newAction();
}
})
input.onGesture(Gesture.Shake, () => {
if (action == 2) {
- game.addScore(1)
- newAction()
+ game.addScore(1);
+ newAction();
}
})
input.onButtonPressed(Button.B, () => {
- basic.showNumber(game.score(), 150) // ***
- basic.pause(2000) // ***
- newAction() // ***
+ basic.showNumber(game.score(), 150);
+ basic.pause(2000);
+ newAction();
})
```
### Challenge 1
-Now let's add some more types of instructions for the player to follow. Let's add `PRESS PIN 0`. Change the global variable `action` to `math->random(4)` so that we can add a new **IF** statement that checks if `action=3`. If it does, display instructions to press pin 0.
+Now let's add some more types of instructions for the player to follow. Let's add `PRESS PIN 0`.
+Change the global variable `action` to `math->random(4)` so that we can add a new **IF** statement that checks if `action=3`. If it does, display instructions to press pin 0.
-```blocks
-/**
- * {highlight}
- */
+```typescript
+let action = 0;
export function newAction() {
- action = Math.random(4) // ***
+ action = Math.random(4)
if (action == 0) {
basic.showString("PUSH A", 150) // ***
}
@@ -62,19 +62,22 @@ export function newAction() {
Now let's implement `PRESS PIN 0` in the main. Create a condition of `input->on pin pressed("P0")` that will add one to the score and calls the method `new action`.
-```blocks
-// **. . .**
+```typescript
+let action = 0;
+export function newAction() {
+ // ...
+}
input.onButtonPressed(Button.B, () => {
- basic.showNumber(game.score(), 150) // ***
- basic.pause(2000) // ***
- newAction() // ***
-}) // ***
+ basic.showNumber(game.score(), 150)
+ basic.pause(2000)
+ newAction()
+})
input.onPinPressed(TouchPin.P0, () => {
if (action == 3) {
- game.addScore(1) // ***
- newAction() // ***
+ game.addScore(1)
+ newAction()
}
-}) // ***
+})
```
### Challenge 3
diff --git a/docs/lessons/charting/challenge.md b/docs/lessons/charting/challenge.md
index 660a10c0..58944c31 100644
--- a/docs/lessons/charting/challenge.md
+++ b/docs/lessons/charting/challenge.md
@@ -88,5 +88,5 @@ Have fun reviewing your simulation and analyze the acceleration by chart the Exc
* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z"
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/lessons/headbands/quiz-answers.md b/docs/lessons/headbands/quiz-answers.md
index 7d0ed86c..792892c3 100644
--- a/docs/lessons/headbands/quiz-answers.md
+++ b/docs/lessons/headbands/quiz-answers.md
@@ -29,6 +29,7 @@ Write the line of code that will display the string "puppy" using `data->coll`.
```blocks
+let coll: string[] = []
basic.showString(coll[0], 150)
```
@@ -46,6 +47,7 @@ Write the line of code that will display the string "cat" using `data->coll`.
```blocks
+let coll: string[] = []
basic.showString(coll[2], 150)
```
diff --git a/docs/lessons/pogo.md b/docs/lessons/pogo.md
index 928a9612..cc8ce154 100644
--- a/docs/lessons/pogo.md
+++ b/docs/lessons/pogo.md
@@ -44,5 +44,5 @@ radio.onDataReceived(() => { })
* learn how to pause your code for the specified number of milliseconds
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/lessons/pogo/activity.md b/docs/lessons/pogo/activity.md
index 8e85a649..53ca5121 100644
--- a/docs/lessons/pogo/activity.md
+++ b/docs/lessons/pogo/activity.md
@@ -164,5 +164,5 @@ Connect the second micro:bit to your computer using your USB cable and run the p
The first person and second person take turns jumping in the “y” direction while the other player uses the micro:bit to track the results on the micro:bit!
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/lessons/seismograph.md b/docs/lessons/seismograph.md
index 53a14e38..24088fa1 100644
--- a/docs/lessons/seismograph.md
+++ b/docs/lessons/seismograph.md
@@ -35,5 +35,5 @@ radio.receiveNumber();
* learn how to read the connector value as analog as a value comprised between 0 and 1023
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/lessons/seismograph/challenge.md b/docs/lessons/seismograph/challenge.md
index 426b5ba9..df0e6895 100644
--- a/docs/lessons/seismograph/challenge.md
+++ b/docs/lessons/seismograph/challenge.md
@@ -196,5 +196,5 @@ Let's select Style 10 as an example.
* Review and analyze the actual micro:bit device acceleration data on Excel
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/lessons/spinner/quiz-answers.md b/docs/lessons/spinner/quiz-answers.md
index 10f7d4bc..86b1ecd4 100644
--- a/docs/lessons/spinner/quiz-answers.md
+++ b/docs/lessons/spinner/quiz-answers.md
@@ -25,8 +25,9 @@ let randomArrow = Math.random(4)
```blocks
+let randomArrow = Math.random(4);
if (randomArrow == 1) {
- basic.plotImage(`
+ basic.showLeds(`
. . # . .
. . # . .
# # # # #
@@ -43,8 +44,9 @@ if (randomArrow == 1) {
```blocks
+let randomArrow = Math.random(4);
if (randomArrow == 2) {
- basic.plotImage(`
+ basic.showLeds(`
. . # . .
. . # # .
# # # # #
diff --git a/docs/projects/messenger.md b/docs/projects/messenger.md
index dfe68064..a4cd488a 100644
--- a/docs/projects/messenger.md
+++ b/docs/projects/messenger.md
@@ -61,5 +61,5 @@ radio.onDataReceived(() => {
```package
-microbit-radio
+radio
```
diff --git a/docs/projects/radio-challenges.md b/docs/projects/radio-challenges.md
index 15cb8b01..d401274a 100644
--- a/docs/projects/radio-challenges.md
+++ b/docs/projects/radio-challenges.md
@@ -90,5 +90,5 @@ Have fun reviewing your simulation and analyze the acceleration by chart the Exc
* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z"
```package
-microbit-radio
+radio
```
diff --git a/docs/projects/telegraph/manual-telegraph.md b/docs/projects/telegraph/manual-telegraph.md
index 71896043..7244fb3d 100644
--- a/docs/projects/telegraph/manual-telegraph.md
+++ b/docs/projects/telegraph/manual-telegraph.md
@@ -8,7 +8,6 @@ We now need to digitally write to pin ``P0`` as **high** (1).
```blocks
pins.digitalWritePin(DigitalPin.P0, 1)
-
```
### Step 2
@@ -19,7 +18,6 @@ So insert the appropriate LED plot x, y.
```blocks
pins.digitalWritePin(DigitalPin.P0, 1)
led.plot(2, 2)
-
```
### Step 3
@@ -31,9 +29,7 @@ Then add a condition that occurs if we do not turn on a LED with plot x, y. We a
if (input.buttonIsPressed(Button.A)) {
pins.digitalWritePin(DigitalPin.P0, 1)
led.plot(2, 2)
-} else {
-
-}
+} else { }
```
@@ -63,7 +59,8 @@ basic.forever(() => {
} else {
pins.digitalWritePin(DigitalPin.P0, 0)
led.unplot(2, 2)
- })
+ }
+})
```
### Step 6
@@ -87,9 +84,6 @@ basic.forever(() => {
basic.clearScreen();
}
});
-
-
-
```
Your telegraph is ready!
diff --git a/docs/reference.md b/docs/reference.md
index 4482a39b..c5bdd08e 100644
--- a/docs/reference.md
+++ b/docs/reference.md
@@ -37,9 +37,9 @@ bluetooth.onBluetoothConnected(() => {});
```
```package
-microbit-radio
-microbit-devices
-microbit-bluetooth
+radio
+devices
+bluetooth
```
### See Also
diff --git a/docs/reference/bluetooth.md b/docs/reference/bluetooth.md
index 5fd0543e..f631f4b4 100644
--- a/docs/reference/bluetooth.md
+++ b/docs/reference/bluetooth.md
@@ -32,7 +32,7 @@ bluetooth.uartWriteValue("", 0);
```
```package
-microbit-bluetooth
+bluetooth
```
### Advanced
diff --git a/docs/reference/bluetooth/about-bluetooth.md b/docs/reference/bluetooth/about-bluetooth.md
index b2fd820a..c695f164 100755
--- a/docs/reference/bluetooth/about-bluetooth.md
+++ b/docs/reference/bluetooth/about-bluetooth.md
@@ -95,5 +95,5 @@ https://www.youtube.com/watch?v=aep_GVowKfs
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
\ No newline at end of file
diff --git a/docs/reference/bluetooth/bluetooth-pairing.md b/docs/reference/bluetooth/bluetooth-pairing.md
index 976f8c07..8e5247cf 100755
--- a/docs/reference/bluetooth/bluetooth-pairing.md
+++ b/docs/reference/bluetooth/bluetooth-pairing.md
@@ -96,5 +96,5 @@ If you do find yourself needing to pair again you will first need to remove the
```package
-microbit-bluetooth
+bluetooth
```
\ No newline at end of file
diff --git a/docs/reference/bluetooth/on-bluetooth-connected.md b/docs/reference/bluetooth/on-bluetooth-connected.md
index 81fda9c6..963a236c 100755
--- a/docs/reference/bluetooth/on-bluetooth-connected.md
+++ b/docs/reference/bluetooth/on-bluetooth-connected.md
@@ -33,5 +33,5 @@ http://www.youtube.com/watch?v=HyBcsD9Eh6I
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
\ No newline at end of file
diff --git a/docs/reference/bluetooth/on-bluetooth-disconnected.md b/docs/reference/bluetooth/on-bluetooth-disconnected.md
index e0d64fcc..2406f8df 100755
--- a/docs/reference/bluetooth/on-bluetooth-disconnected.md
+++ b/docs/reference/bluetooth/on-bluetooth-disconnected.md
@@ -33,5 +33,5 @@ http://www.youtube.com/watch?v=HyBcsD9Eh6I
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-accelerometer-service.md b/docs/reference/bluetooth/start-accelerometer-service.md
index 9c14de9e..59305b0e 100755
--- a/docs/reference/bluetooth/start-accelerometer-service.md
+++ b/docs/reference/bluetooth/start-accelerometer-service.md
@@ -38,5 +38,5 @@ For more advanced information on the micro:bit Bluetooth accelerometer service i
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-button-service.md b/docs/reference/bluetooth/start-button-service.md
index 5ada6740..a0bc14fe 100755
--- a/docs/reference/bluetooth/start-button-service.md
+++ b/docs/reference/bluetooth/start-button-service.md
@@ -42,5 +42,5 @@ For more advanced information on the micro:bit Bluetooth button service includin
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-io-pin-service.md b/docs/reference/bluetooth/start-io-pin-service.md
index a32d5ca9..5f9cc599 100755
--- a/docs/reference/bluetooth/start-io-pin-service.md
+++ b/docs/reference/bluetooth/start-io-pin-service.md
@@ -36,5 +36,5 @@ For more advanced information on the micro:bit Bluetooth IO pin service includin
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-led-service.md b/docs/reference/bluetooth/start-led-service.md
index e01073d7..cd7bef1b 100755
--- a/docs/reference/bluetooth/start-led-service.md
+++ b/docs/reference/bluetooth/start-led-service.md
@@ -38,5 +38,5 @@ For more advanced information on the micro:bit Bluetooth LED service including i
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-magnetometer-service.md b/docs/reference/bluetooth/start-magnetometer-service.md
index f86f295f..c65c094e 100755
--- a/docs/reference/bluetooth/start-magnetometer-service.md
+++ b/docs/reference/bluetooth/start-magnetometer-service.md
@@ -39,5 +39,5 @@ For more advanced information on the micro:bit Bluetooth magnetometer service in
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-temperature-service.md b/docs/reference/bluetooth/start-temperature-service.md
index ba5c3c41..59d95dc3 100755
--- a/docs/reference/bluetooth/start-temperature-service.md
+++ b/docs/reference/bluetooth/start-temperature-service.md
@@ -39,6 +39,6 @@ For more advanced information on the micro:bit Bluetooth temperature service inc
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/start-uart-service.md b/docs/reference/bluetooth/start-uart-service.md
index 41e180b8..dffab6d7 100755
--- a/docs/reference/bluetooth/start-uart-service.md
+++ b/docs/reference/bluetooth/start-uart-service.md
@@ -40,5 +40,5 @@ For more advanced information on the micro:bit Bluetooth UART service including
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/uart-read-until.md b/docs/reference/bluetooth/uart-read-until.md
index 189e9afd..c6ac29b1 100644
--- a/docs/reference/bluetooth/uart-read-until.md
+++ b/docs/reference/bluetooth/uart-read-until.md
@@ -48,5 +48,5 @@ For more advanced information on the micro:bit Bluetooth UART service including
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/uart-write-number.md b/docs/reference/bluetooth/uart-write-number.md
index 8ee099aa..70673dd0 100644
--- a/docs/reference/bluetooth/uart-write-number.md
+++ b/docs/reference/bluetooth/uart-write-number.md
@@ -24,5 +24,5 @@ For more advanced information on the micro:bit Bluetooth UART service including
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/uart-write-string.md b/docs/reference/bluetooth/uart-write-string.md
index ffd10579..a98a14d8 100644
--- a/docs/reference/bluetooth/uart-write-string.md
+++ b/docs/reference/bluetooth/uart-write-string.md
@@ -47,5 +47,5 @@ For more advanced information on the micro:bit Bluetooth UART service including
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/bluetooth/uart-write-value.md b/docs/reference/bluetooth/uart-write-value.md
index f3e86816..e3f2f08b 100644
--- a/docs/reference/bluetooth/uart-write-value.md
+++ b/docs/reference/bluetooth/uart-write-value.md
@@ -24,5 +24,5 @@ For more advanced information on the micro:bit Bluetooth UART service including
[About Bluetooth](/reference/bluetooth/about-bluetooth), [micro:bit Bluetooth profile overview ](http://lancaster-university.github.io/microbit-docs/ble/profile/), [micro:bit Bluetooth profile reference](http://lancaster-university.github.io/microbit-docs/resources/bluetooth/microbit-profile-V1.9-Level-2.pdf), [Bluetooth on micro:bit resources](http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html), [Bluetooth SIG](https://www.bluetooth.com)
```package
-microbit-bluetooth
+bluetooth
```
diff --git a/docs/reference/devices.md b/docs/reference/devices.md
index 236a5029..01d8be15 100644
--- a/docs/reference/devices.md
+++ b/docs/reference/devices.md
@@ -19,7 +19,7 @@ devices.onSignalStrengthChanged(() => {
```
```package
-microbit-devices
+devices
```
### See Also
diff --git a/docs/reference/devices/on-gamepad-button.md b/docs/reference/devices/on-gamepad-button.md
index 4388eeeb..baba8246 100644
--- a/docs/reference/devices/on-gamepad-button.md
+++ b/docs/reference/devices/on-gamepad-button.md
@@ -23,5 +23,5 @@ devices.onGamepadButton(MesDpadButtonInfo.ADown, () => {})
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to), [signal strength](/reference/devices/signal-strength), [on signal strength changed](/reference/devices/on-signal-strength-changed)
```package
-microbit-devices
+devices
```
\ No newline at end of file
diff --git a/docs/reference/devices/on-notified.md b/docs/reference/devices/on-notified.md
index 9c30e153..693e0b41 100644
--- a/docs/reference/devices/on-notified.md
+++ b/docs/reference/devices/on-notified.md
@@ -34,5 +34,5 @@ devices.onNotified(MesDeviceInfo.IncomingCall, () => {
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to), [signal strength](/reference/devices/signal-strength)
```package
-microbit-devices
+devices
```
\ No newline at end of file
diff --git a/docs/reference/devices/on-signal-strength-changed.md b/docs/reference/devices/on-signal-strength-changed.md
index 8584a497..f0894c50 100644
--- a/docs/reference/devices/on-signal-strength-changed.md
+++ b/docs/reference/devices/on-signal-strength-changed.md
@@ -34,5 +34,5 @@ devices.onSignalStrengthChanged(() => {
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to), [signal strength](/reference/devices/signal-strength)
```package
-microbit-devices
+devices
```
\ No newline at end of file
diff --git a/docs/reference/devices/raise-alert-to.md b/docs/reference/devices/raise-alert-to.md
index 5477442b..a226ac1f 100644
--- a/docs/reference/devices/raise-alert-to.md
+++ b/docs/reference/devices/raise-alert-to.md
@@ -62,5 +62,5 @@ devices.raiseAlertTo("ring alarm")
[tell remote control to](/reference/devices/tell-remote-control-to), [tell camera to](/reference/devices/tell-camera-to)
```package
-microbit-devices
+devices
```
\ No newline at end of file
diff --git a/docs/reference/devices/signal-strength.md b/docs/reference/devices/signal-strength.md
index 064b1aa3..a60a710d 100644
--- a/docs/reference/devices/signal-strength.md
+++ b/docs/reference/devices/signal-strength.md
@@ -33,5 +33,5 @@ devices.onSignalStrengthChanged(() => {
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to), [on signal strength changed](/reference/devices/on-signal-strength-changed)
```package
-microbit-devices
+devices
```
\ No newline at end of file
diff --git a/docs/reference/devices/tell-camera-to.md b/docs/reference/devices/tell-camera-to.md
index ed8efcc4..81edb728 100644
--- a/docs/reference/devices/tell-camera-to.md
+++ b/docs/reference/devices/tell-camera-to.md
@@ -73,5 +73,5 @@ devices.tellCameraTo("stop video mode")
[tell remote control to](/reference/devices/tell-remote-control-to), [raise alert to](/reference/devices/raise-alert-to)
```package
-microbit-devices
+devices
```
diff --git a/docs/reference/devices/tell-remote-control-to.md b/docs/reference/devices/tell-remote-control-to.md
index 77f11a1b..fa141892 100644
--- a/docs/reference/devices/tell-remote-control-to.md
+++ b/docs/reference/devices/tell-remote-control-to.md
@@ -86,5 +86,5 @@ devices.tellRemoteControlTo("volume down")
```package
-microbit-devices
+devices
```
diff --git a/docs/reference/input/temperature.md b/docs/reference/input/temperature.md
index 9eaee1e7..f0b234bf 100644
--- a/docs/reference/input/temperature.md
+++ b/docs/reference/input/temperature.md
@@ -33,12 +33,12 @@ basic.forever(() => {
This program measures the temperature using Fahrenheit degrees.
Fahrenheit is a way of measuring temperature that is commonly used in the United States.
To make a Celsius temperature into a Fahrenheit one, multiply the Celsius temperature by
-1.8 and add 32.
+``18``, divide by ``10`` and add ``32``.
```blocks
basic.forever(() => {
let c = input.temperature()
- let f = (c * 1.8) + 32
+ let f = (c * 18) / 10 + 32
basic.showNumber(f)
})
```
diff --git a/docs/reference/radio.md b/docs/reference/radio.md
index f65a0f78..dbe593fd 100644
--- a/docs/reference/radio.md
+++ b/docs/reference/radio.md
@@ -20,7 +20,7 @@ radio.writeValueToSerial();
```
```package
-microbit-radio
+radio
```
### See Also
diff --git a/docs/reference/radio/on-data-received.md b/docs/reference/radio/on-data-received.md
index 8006ecc3..e4bd466d 100644
--- a/docs/reference/radio/on-data-received.md
+++ b/docs/reference/radio/on-data-received.md
@@ -34,5 +34,5 @@ radio.onDataReceived(() => {
[send number](/reference/radio/send-number), [set group](/reference/radio/set-group)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/receive-number.md b/docs/reference/radio/receive-number.md
index 61e72ee9..eded21f4 100644
--- a/docs/reference/radio/receive-number.md
+++ b/docs/reference/radio/receive-number.md
@@ -65,5 +65,5 @@ basic.forever(() => {
[send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/receive-string.md b/docs/reference/radio/receive-string.md
index 0633fd07..0ecc24c4 100644
--- a/docs/reference/radio/receive-string.md
+++ b/docs/reference/radio/receive-string.md
@@ -91,5 +91,5 @@ radio.onDataReceived(() => {
[send string](/reference/radio/send-string), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/received-signal-strength.md b/docs/reference/radio/received-signal-strength.md
index 257fcaa0..2f70e4e4 100644
--- a/docs/reference/radio/received-signal-strength.md
+++ b/docs/reference/radio/received-signal-strength.md
@@ -40,5 +40,5 @@ basic.forever(() => {
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/send-number.md b/docs/reference/radio/send-number.md
index c97ba919..fadc539b 100644
--- a/docs/reference/radio/send-number.md
+++ b/docs/reference/radio/send-number.md
@@ -45,5 +45,5 @@ basic.forever(() => {
[receive number](/reference/radio/receive-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/send-string.md b/docs/reference/radio/send-string.md
index cd8576c6..2ebeef45 100644
--- a/docs/reference/radio/send-string.md
+++ b/docs/reference/radio/send-string.md
@@ -42,5 +42,5 @@ A radio that can both transmit and receive is called a _transceiver_.
[receive string](/reference/radio/receive-string), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/send-value.md b/docs/reference/radio/send-value.md
index f690f668..f8df277f 100644
--- a/docs/reference/radio/send-value.md
+++ b/docs/reference/radio/send-value.md
@@ -45,5 +45,5 @@ radio.onDataReceived(() => {
[receive number](/reference/radio/receive-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/set-group.md b/docs/reference/radio/set-group.md
index a088d044..17d50085 100644
--- a/docs/reference/radio/set-group.md
+++ b/docs/reference/radio/set-group.md
@@ -35,5 +35,5 @@ radio.setGroup(128)
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/set-transmit-power.md b/docs/reference/radio/set-transmit-power.md
index 64509aa3..a1fe5a47 100644
--- a/docs/reference/radio/set-transmit-power.md
+++ b/docs/reference/radio/set-transmit-power.md
@@ -40,5 +40,5 @@ radio.setTransmitPower(7)
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/set-transmit-serial-number.md b/docs/reference/radio/set-transmit-serial-number.md
index 12c9af96..bbdd7b42 100644
--- a/docs/reference/radio/set-transmit-serial-number.md
+++ b/docs/reference/radio/set-transmit-serial-number.md
@@ -27,5 +27,5 @@ radio.setTransmitSerialNumber(true);
[receive number](/reference/radio/receive-number), [send number](/reference/radio/send-number), [on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file
diff --git a/docs/reference/radio/write-value-to-serial.md b/docs/reference/radio/write-value-to-serial.md
index 59bb8c85..252267db 100644
--- a/docs/reference/radio/write-value-to-serial.md
+++ b/docs/reference/radio/write-value-to-serial.md
@@ -53,5 +53,5 @@ Sample output to serial when ``A`` button pressed:
[on data received](/reference/radio/on-data-received)
```package
-microbit-radio
+radio
```
\ No newline at end of file