From 66a46e4046e11f422678cb8e4092cd22d2b72314 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sat, 22 Oct 2016 23:04:08 -0700 Subject: [PATCH] fixing links in docs --- docs/projects/hack-your-headphones.md | 2 +- docs/projects/timing-gates.md | 4 ++-- docs/reference/basic.md | 4 +++- docs/reference/bluetooth/uart-read-until.md | 2 +- docs/reference/bluetooth/uart-write-number.md | 2 +- docs/reference/bluetooth/uart-write-string.md | 2 +- docs/reference/bluetooth/uart-write-value.md | 2 +- docs/reference/input.md | 2 +- docs/reference/pins.md | 2 +- docs/reference/radio.md | 2 +- docs/reference/types/boolean.md | 2 +- docs/uploader.md | 2 +- 12 files changed, 15 insertions(+), 13 deletions(-) diff --git a/docs/projects/hack-your-headphones.md b/docs/projects/hack-your-headphones.md index 1d5bef04..a57329d3 100644 --- a/docs/projects/hack-your-headphones.md +++ b/docs/projects/hack-your-headphones.md @@ -21,7 +21,7 @@ Build your own music player micro:bit from headphones. ## Activities -* [Connect your headphone](/projects/hack-your-headphone/making) +* [Connect your headphone](/projects/hack-your-headphones/making) * [Play sounds!]() # ~hint diff --git a/docs/projects/timing-gates.md b/docs/projects/timing-gates.md index ddfbf997..cda09f1c 100644 --- a/docs/projects/timing-gates.md +++ b/docs/projects/timing-gates.md @@ -87,7 +87,7 @@ The gate is ready to use! Your circuit should look like the picture below: ## Detecting the car with code -The micro:bit provides an event [on pin pressed](/reference/pins/on-pin-pressed) +The micro:bit provides an event [on pin pressed](/reference/input/on-pin-pressed) that is raised when a circuit between ``GND`` and a pin is detected. The circuit conductor could be a wire or even your body! We will attach a foil to the bottom of the car. When it passes over the gate, it connect both foil strips, close the circuit and trigger the event. @@ -146,7 +146,7 @@ Connect the crocodile plugs to the ``GND`` and ``P1`` pins on the micro:bit. ## Detecting the second gate -Since the second gate is connected to pin ``P1``, we add a second [on pin pressed](/reference/pins/on-pin-pressed) event +Since the second gate is connected to pin ``P1``, we add a second [on pin pressed](/reference/input/on-pin-pressed) event that display 2 columns of LEDs. ```blocks diff --git a/docs/reference/basic.md b/docs/reference/basic.md index 3a755857..27fe8fba 100644 --- a/docs/reference/basic.md +++ b/docs/reference/basic.md @@ -35,4 +35,6 @@ basic.showAnimation(` ### See Also -[showNumber](/reference/basic/show-number), [showLeds](/reference/basic/show-leds), [showString](/reference/basic/show-string), [clearScreen](/reference/basic/clear-screen), [forever](/reference/basic/forever), [pause](/reference/basic/pause), [plotLeds](/reference/basic/plot-leds), [showAnimation](/reference/basic/show-animation) +[showNumber](/reference/basic/show-number), [showLeds](/reference/basic/show-leds), [showString](/reference/basic/show-string), +[clearScreen](/reference/basic/clear-screen), [forever](/reference/basic/forever), [pause](/reference/basic/pause), +[showAnimation](/reference/basic/show-animation) diff --git a/docs/reference/bluetooth/uart-read-until.md b/docs/reference/bluetooth/uart-read-until.md index c6ac29b1..3f52b4b7 100644 --- a/docs/reference/bluetooth/uart-read-until.md +++ b/docs/reference/bluetooth/uart-read-until.md @@ -7,7 +7,7 @@ For another device like a smartphone to use any of the Bluetooth "services" whic ### ~ -The [Bluetooth UART service](start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. +The [Bluetooth UART service](/reference/bluetooth/start-uart-service) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. With the Bluetooth UART service running, this block allows a micro:bit to read data which has been received from a Bluetooth connected device, terminating reading and returning the value obtained as soon as a specified delimiter character is encountered. This means that connected devices can send data to the micro:bit and indicate that the complete message has been sent by appending the message with the delimiter character. diff --git a/docs/reference/bluetooth/uart-write-number.md b/docs/reference/bluetooth/uart-write-number.md index 70673dd0..4fc12928 100644 --- a/docs/reference/bluetooth/uart-write-number.md +++ b/docs/reference/bluetooth/uart-write-number.md @@ -7,7 +7,7 @@ For another device like a smartphone to use any of the Bluetooth "services" whic ### ~ -The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. +The [Bluetooth UART service](/reference/bluetooth/start-uart-service) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device. diff --git a/docs/reference/bluetooth/uart-write-string.md b/docs/reference/bluetooth/uart-write-string.md index a98a14d8..e4d4ecd9 100644 --- a/docs/reference/bluetooth/uart-write-string.md +++ b/docs/reference/bluetooth/uart-write-string.md @@ -7,7 +7,7 @@ For another device like a smartphone to use any of the Bluetooth "services" whic ### ~ -The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. +The [Bluetooth UART service](/reference/bluetooth/start-uart-service) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device. diff --git a/docs/reference/bluetooth/uart-write-value.md b/docs/reference/bluetooth/uart-write-value.md index e3f2f08b..a47398b1 100644 --- a/docs/reference/bluetooth/uart-write-value.md +++ b/docs/reference/bluetooth/uart-write-value.md @@ -7,7 +7,7 @@ For another device like a smartphone to use any of the Bluetooth "services" whic ### ~ -The [Bluetooth UART service](/reference/bluetooth/start-uart-service.md) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. +The [Bluetooth UART service](/reference/bluetooth/start-uart-service) allows another device such as a smartphone to exchange any data it wants to with the micro:bit, in small chunks. With the Bluetooth UART service running, this block allows a micro:bit to send data to a Bluetooth connected device. diff --git a/docs/reference/input.md b/docs/reference/input.md index 9b0c48ff..bc186bd4 100644 --- a/docs/reference/input.md +++ b/docs/reference/input.md @@ -42,4 +42,4 @@ input.onShake(() => { ### See Also -[onButtonPressed](/reference/input/on-button-pressed), [onGesture](/reference/input/on-gesture), [onPinPressed](/reference/input/on-pin-pressed), [buttonIsPressed](/reference/input/button-is-pressed), [compassHeading](/reference/input/compass-heading), [pinIsPressed](/reference/input/pin-is-pressed), [temperature](/reference/input/temperature), [acceleration](/reference/input/acceleration), [lightLevel](/reference/input/light-level), [rotation](/reference/input/rotation), [magneticForce](/reference/input/magnetic-force), [runningTime](/reference/input/running-time), [setAccelerometerRange](/reference/input/set-accelerometer-range), [calibrate](/reference/input/calibrate), [onLogoDown](/reference/input/on-logo-down), [onLogoUp](/reference/input/on-logo-up), [onScreenDown](/reference/input/on-screen-down), [onScreenUp](/reference/input/on-screen-up), [onShake](/reference/input/on-shake) +[onButtonPressed](/reference/input/on-button-pressed), [onGesture](/reference/input/on-gesture), [onPinPressed](/reference/input/on-pin-pressed), [buttonIsPressed](/reference/input/button-is-pressed), [compassHeading](/reference/input/compass-heading), [pinIsPressed](/reference/input/pin-is-pressed), [temperature](/reference/input/temperature), [acceleration](/reference/input/acceleration), [lightLevel](/reference/input/light-level), [rotation](/reference/input/rotation), [magneticForce](/reference/input/magnetic-force), [runningTime](/reference/input/running-time), [setAccelerometerRange](/reference/input/set-accelerometer-range) diff --git a/docs/reference/pins.md b/docs/reference/pins.md index d9a9e1f5..d3696892 100644 --- a/docs/reference/pins.md +++ b/docs/reference/pins.md @@ -26,4 +26,4 @@ pins.analogSetPitchPin(AnalogPin.P0); ### See Also -[digitalReadPin](/reference/pins/digital-read-pin), [digitalWritePin](/reference/pins/digital-write-pin), [analogReadPin](/reference/pins/analog-read-pin), [analogWritePin](/reference/pins/analog-write-pin), [analogSetPeriod](/reference/pins/analog-set-period), [map](/reference/pins/map), [onPulsed](/reference/pins/on-pulsed), [pulseDuration](/reference/pins/pulse-duration), [pulseIn](/reference/pins/pulse-in), [servoWritePin](/reference/pins/servo-write-pin), [servoSetPulse](/reference/pins/servo-set-pulse), [i2cReadNumber](/reference/pins/i2c-read-number), [i2cWriteNumber](/reference/pins/i2c-write-number), [setPull](/reference/pins/set-pull), [analogPitch](/reference/pins/analog-pitch), [analogSetPitchPin](/reference/pins/analog-set-pitch), [spiWrite](/reference/pins/spi-write) +[digitalReadPin](/reference/pins/digital-read-pin), [digitalWritePin](/reference/pins/digital-write-pin), [analogReadPin](/reference/pins/analog-read-pin), [analogWritePin](/reference/pins/analog-write-pin), [analogSetPeriod](/reference/pins/analog-set-period), [map](/reference/pins/map), [onPulsed](/reference/pins/on-pulsed), [pulseDuration](/reference/pins/pulse-duration), [pulseIn](/reference/pins/pulse-in), [servoWritePin](/reference/pins/servo-write-pin), [servoSetPulse](/reference/pins/servo-set-pulse), [i2cReadNumber](/reference/pins/i2c-read-number), [i2cWriteNumber](/reference/pins/i2c-write-number), [setPull](/reference/pins/set-pull), [analogPitch](/reference/pins/analog-pitch), [analogSetPitchPin](/reference/pins/analog-set-pitch-pin), [spiWrite](/reference/pins/spi-write) diff --git a/docs/reference/radio.md b/docs/reference/radio.md index dbe593fd..2d86a4cc 100644 --- a/docs/reference/radio.md +++ b/docs/reference/radio.md @@ -25,4 +25,4 @@ radio ### See Also -[sendNumber](/reference/radio/send-number), [sendValue](/reference/radio/send-value), [sendString](/reference/radio/send-string), [onDataReceived](/reference/radio/on-data-received), [receiveNumber](/reference/radio/receive-number), [receivedNumberAt](/reference/radio/received-number-at), [receiveString](/reference/radio/receive-string), [receivedSignalStrength](/reference/radio/received-signal-strength), [setGroup](/reference/radio/set-group), [setTransmitPower](/reference/radio/set-transmit-power), [setTransmitSerialNumber](/reference/radio/set-transmit-serial-number), [writeValueToSerial](/reference/radio/write-value-to-serial) +[sendNumber](/reference/radio/send-number), [sendValue](/reference/radio/send-value), [sendString](/reference/radio/send-string), [onDataReceived](/reference/radio/on-data-received), [receiveNumber](/reference/radio/receive-number), [receiveString](/reference/radio/receive-string), [receivedSignalStrength](/reference/radio/received-signal-strength), [setGroup](/reference/radio/set-group), [setTransmitPower](/reference/radio/set-transmit-power), [setTransmitSerialNumber](/reference/radio/set-transmit-serial-number), [writeValueToSerial](/reference/radio/write-value-to-serial) diff --git a/docs/reference/types/boolean.md b/docs/reference/types/boolean.md index b6a6d8e0..b538ddc9 100644 --- a/docs/reference/types/boolean.md +++ b/docs/reference/types/boolean.md @@ -13,4 +13,4 @@ false; ### See Also -[boolean (blocks)](/blocks/logic/boolean.md) +[boolean (blocks)](/blocks/logic/boolean) diff --git a/docs/uploader.md b/docs/uploader.md index a16595dc..7bf8d602 100644 --- a/docs/uploader.md +++ b/docs/uploader.md @@ -38,7 +38,7 @@ That's it! ### Installation Instructions -* Download the [Microsoft.Uploader.Microbit.zip](/microbit-uploader.zip) file to your local computer. +* Download the [Microsoft.Uploader.Microbit.zip](https://pxt.microbit.org/microbit-uploader.zip) file to your local computer. * Unzip the .zip file to your desktop. * Launch the Microsoft.Uploader.exe file before working on your BBC micro:bit.