fixing links

This commit is contained in:
Peli de Halleux 2017-03-12 04:16:01 -07:00
parent a8df983214
commit 30e2701b81
4 changed files with 107 additions and 106 deletions

View File

@ -1,119 +1,120 @@
# Summary # Summary
* [Support](https://support.microbit.org/)
### Projects ### Projects
* [Things to do](/docs) * [Projects](/docs)
* [Make](/projects.md) * [Make](/projects)
* [Flashing heart](/projects/flashing-heart.md) * [Flashing heart](/projects/flashing-heart)
* [Smiley buttons](/projects/smiley-buttons.md) * [Smiley buttons](/projects/smiley-buttons)
* [Love meter](/projects/love-meter.md) * [Love meter](/projects/love-meter)
* [Rock raper scissors](/projects/rock-paper-scissors.md) * [Rock raper scissors](/projects/rock-paper-scissors)
* [Magic button trick](/projects/magic-button-trick.md) * [Magic button trick](/projects/magic-button-trick)
* [Hack your headphones](/projects/hack-your-headphones.md) * [Hack your headphones](/projects/hack-your-headphones)
* [Banana keyboard](/projects/banana-keyboard.md) * [Banana keyboard](/projects/banana-keyboard)
* [Guitar](/projects/guitar.md) * [Guitar](/projects/guitar)
* [Duct tape wallet](/projects/wallet.md) * [Duct tape wallet](/projects/wallet)
* [Watch](/projects/watch.md) * [Watch](/projects/watch)
* [Inchworm](/projects/inchworm.md) * [Inchworm](/projects/inchworm)
* [Timing gates](/projects/timing-gates.md) * [Timing gates](/projects/timing-gates)
* [Compass](/projects/compass.md) * [Compass](/projects/compass)
* [Telegraph](/projects/telegraph.md) * [Telegraph](/projects/telegraph)
* [Radio](/projects/radio.md) * [Radio](/projects/radio)
* [Code](/examples.md) * [Code](/examples)
* [Blinky](/examples/blinky.md) * [Blinky](/examples/blinky)
* [Name tag](/examples/name-tag.md) * [Name tag](/examples/name-tag)
* [Rando](/examples/rando.md) * [Rando](/examples/rando)
* [Plot acceleration](/examples/plot-acceleration.md) * [Plot acceleration](/examples/plot-acceleration)
* [Plot light level](/examples/plot-light-level.md) * [Plot light level](/examples/plot-light-level)
* [Plot analog pin](/examples/plot-analog-pin.md) * [Plot analog pin](/examples/plot-analog-pin)
### Reference ### Reference
* [Reference](/reference.md) * [Reference](/reference)
* [Basic](/reference/basic) * [Basic](/reference/basic)
* [show number](/reference/basic/show-number.md) * [show number](/reference/basic/show-number)
* [show icon](/reference/basic/show-icon.md) * [show icon](/reference/basic/show-icon)
* [show leds](/reference/basic/show-leds.md) * [show leds](/reference/basic/show-leds)
* [show string](/reference/basic/show-string.md) * [show string](/reference/basic/show-string)
* [clear screen](/reference/basic/clear-screen.md) * [clear screen](/reference/basic/clear-screen)
* [forever](/reference/basic/forever.md) * [forever](/reference/basic/forever)
* [pause](/reference/basic/pause.md) * [pause](/reference/basic/pause)
* [plot leds](/reference/basic/plot-leds.md) * [plot leds](/reference/basic/plot-leds)
* [show arrow](/reference/basic/show-arrow.md) * [show arrow](/reference/basic/show-arrow)
* [show animation](/reference/basic/show-animation.md) * [show animation](/reference/basic/show-animation)
* [Input](/reference/input) * [Input](/reference/input)
* [on button pressed](/reference/input/on-button-pressed.md) * [on button pressed](/reference/input/on-button-pressed)
* [on gesture](/reference/input/on-gesture.md) * [on gesture](/reference/input/on-gesture)
* [on pin pressed](/reference/input/on-pin-pressed.md) * [on pin pressed](/reference/input/on-pin-pressed)
* [button is pressed](/reference/input/button-is-pressed.md) * [button is pressed](/reference/input/button-is-pressed)
* [compass heading](/reference/input/compass-heading.md) * [compass heading](/reference/input/compass-heading)
* [pin is pressed](/reference/input/pin-is-pressed.md) * [pin is pressed](/reference/input/pin-is-pressed)
* [temperature](/reference/input/temperature.md) * [temperature](/reference/input/temperature)
* [acceleration](/reference/input/acceleration.md) * [acceleration](/reference/input/acceleration)
* [light level](/reference/input/light-level.md) * [light level](/reference/input/light-level)
* [rotation](/reference/input/rotation.md) * [rotation](/reference/input/rotation)
* [magnetic force](/reference/input/magnetic-force.md) * [magnetic force](/reference/input/magnetic-force)
* [running time](/reference/input/running-time.md) * [running time](/reference/input/running-time)
* [set accelerometer range](/reference/input/set-accelerometer-range.md) * [set accelerometer range](/reference/input/set-accelerometer-range)
* [Music](/reference/music) * [Music](/reference/music)
* [play tone](/reference/music/play-tone.md) * [play tone](/reference/music/play-tone)
* [ring tone](/reference/music/ring-tone.md) * [ring tone](/reference/music/ring-tone)
* [rest](/reference/music/rest.md) * [rest](/reference/music/rest)
* [beat](/reference/music/beat.md) * [beat](/reference/music/beat)
* [tempo](/reference/music/tempo.md) * [tempo](/reference/music/tempo)
* [change tempo by](/reference/music/change-tempo-by.md) * [change tempo by](/reference/music/change-tempo-by)
* [set tempo](/reference/music/set-tempo.md) * [set tempo](/reference/music/set-tempo)
* [Led](/reference/led) * [Led](/reference/led)
* [plot](/reference/led/plot.md) * [plot](/reference/led/plot)
* [unplot](/reference/led/unplot.md) * [unplot](/reference/led/unplot)
* [point](/reference/led/point.md) * [point](/reference/led/point)
* [toggle](/reference/led/toggle.md) * [toggle](/reference/led/toggle)
* [brightness](/reference/led/brightness.md) * [brightness](/reference/led/brightness)
* [set brightness](/reference/led/set-brightness.md) * [set brightness](/reference/led/set-brightness)
* [stop animation](/reference/led/stop-animation.md) * [stop animation](/reference/led/stop-animation)
* [plot bar graph](/reference/led/plot-bar-graph.md) * [plot bar graph](/reference/led/plot-bar-graph)
* [enable](/reference/led/enable.md) * [enable](/reference/led/enable)
* [Radio](/reference/radio) * [Radio](/reference/radio)
* [send number](/reference/radio/send-number.md) * [send number](/reference/radio/send-number)
* [send value](/reference/radio/send-value.md) * [send value](/reference/radio/send-value)
* [send string](/reference/radio/send-string.md) * [send string](/reference/radio/send-string)
* [on data packet received](/reference/radio/on data packet received.md) * [on data packet received](/reference/radio/on-data-packet-received)
* [set group](/reference/radio/set-group.md) * [set group](/reference/radio/set-group)
* [set transmit power](/reference/radio/set-transmit-power.md) * [set transmit power](/reference/radio/set-transmit-power)
* [set transmit serial number](/reference/radio/set-transmit-serial-number.md) * [set transmit serial number](/reference/radio/set-transmit-serial-number)
* [write received packet to serial](/reference/radio/write-received-packet-to-serial.md) * [write received packet to serial](/reference/radio/write-received-packet-to-serial)
### Blocks ### Blocks
* [Blocks](/blocks.md) * [Blocks](/blocks)
* [Loops](/blocks/loops.md) * [Loops](/blocks/loops)
* [for](/blocks/loops/for.md) * [for](/blocks/loops/for)
* [while](/blocks/loops/while.md) * [while](/blocks/loops/while)
* [forever](/blocks/loops/forever.md) * [Logic](/blocks/logic)
* [Logic](/blocks/logic.md) * [if](/blocks/logic/if)
* [if](/blocks/logic/if.md) * [Boolean](/blocks/logic/boolean)
* [Boolean](/blocks/logic/boolean.md) * [Variables](/blocks/variables)
* [Variables](/blocks/variables.md) * [assign](/blocks/variables/assign)
* [assign](/blocks/variables/assign.md) * [change var](/blocks/variables/change-var)
* [change var](/blocks/variables/change-var.md) * [var](/blocks/variables/var)
* [var](/blocks/variables/var.md)
### JavaScript ### JavaScript
* [JavaScript](/javascript.md) * [JavaScript](/javascript)
* [Calling](/javascript/call.md) * [Calling](/javascript/call)
* [Sequencing](/javascript/sequence.md) * [Sequencing](/javascript/sequence)
* [Variables](/javascript/variables.md) * [Variables](/javascript/variables)
* [Operators](/javascript/operators.md) * [Operators](/javascript/operators)
* [Statements](/javascript/statements.md) * [Statements](/javascript/statements)
* [Functions](/javascript/functions.md) * [Functions](/javascript/functions)
* [Types](/javascript/types.md) * [Types](/javascript/types)
* [Classes](/javascript/classes.md) * [Classes](/javascript/classes)
### Other ### Other
* [Hardware](/device.md) * [Hardware](/device)
* [FAQ](/faq.md) * [FAQ](/faq)
* [Help Translate](/translate.md) * [Help Translate](/translate)

View File

@ -43,5 +43,5 @@ on and `.` means an LED that is turned off.
### See also ### See also
[plot leds](/reference/led/plot-leds), [show animation](/reference/basic/show-animation) [plot leds](/reference/basic/plot-leds), [show animation](/reference/basic/show-animation)

View File

@ -2,9 +2,9 @@
Show a number on the [LED screen](/device/screen). It will slide left if it has more than one digit. Show a number on the [LED screen](/device/screen). It will slide left if it has more than one digit.
~~~~sig ```sig
basic.showNumber(2, 150) basic.showNumber(2)
~~~~ ```
### Parameters ### Parameters
@ -15,27 +15,27 @@ basic.showNumber(2, 150)
To show the number 10: To show the number 10:
~~~~blocks ```blocks
basic.showNumber(10) basic.showNumber(10)
~~~~ ```
To show the number stored in a variable: To show the number stored in a variable:
~~~~blocks ```blocks
let x = 1 let x = 1
basic.showNumber(x) basic.showNumber(x)
~~~~ ```
### Example: count to 5 ### Example: count to 5
This example uses a [for](/blocks/loops/for) loop to show numbers ``0`` through ``5`` on the screen: This example uses a [for](/blocks/loops/for) loop to show numbers ``0`` through ``5`` on the screen:
~~~~blocks ```blocks
for (let i = 0; i < 6; i++) { for (let i = 0; i < 6; i++) {
basic.showNumber(i) basic.showNumber(i)
basic.pause(200) basic.pause(200)
} }
~~~~ ```
### Other show functions ### Other show functions