remove linksto lessons from references

This commit is contained in:
Tom Ball 2016-06-11 22:28:57 -04:00
parent 5b5cac878b
commit 67ea6c01f2
55 changed files with 1 additions and 221 deletions

View File

@ -11,12 +11,6 @@ This example displays a random number every time the crocodile clip holds `GND`
### Connecting Crocodile Clips
### Lessons
[love meter](/lessons/love-meter)
### See also
[micro:bit pins](/device/pins), [pin is pressed](/reference/input/pin-is-pressed), [analog read pin](/reference/pins/analog-read-pin), [analog write pin](/reference/pins/analog-write-pin), [digital read pin](/reference/pins/digital-read-pin), [digital write pin](/reference/pins/digital-write-pin)

View File

@ -27,7 +27,7 @@ input.onButtonPressed(Button.B, () => {
* **[getting started](/getting-started)**
* Browse the [API reference](/reference)
* Learn more about the [device](/device)
* Get started with [lessons](/lessons)
* Get started with [projects](/projects)
* Frequently Asked Question [faq](/faq)
* Follow up with the [release notes](/release-notes)

View File

@ -21,10 +21,6 @@ basic.showLeds(`
basic.clearScreen()
```
### Lessons
[blink](/lessons/blink), [flashing heart](/lessons/flashing-heart), [screen wipe](/lessons/screen-wipe)
### See also
[set brightness](/reference/led/set-brightness), [unplot](/reference/led/unplot), [plot](/reference/led/plot), [Image](/reference/images/image), [clear](/reference/basic/clear-screen)

View File

@ -63,10 +63,6 @@ input.onButtonPressed(Button.A, () => {
})
```
### Lessons
[blink](/lessons/blink), [snowflake-fall](/lessons/snowflake-fall), [flashing-heart](/lessons/flashing-heart)
### See also
[while](/reference/loops/while), [on button pressed](/reference/input/on-button-pressed), [in background](/reference/control/in-background)

View File

@ -24,10 +24,6 @@ for (let i = 0; i < 5; i++) {
}
```
### Lessons
[blink](/lessons/blink), [lucky 7](/lessons/lucky-7), [smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart)
### See also
[while](/reference/loops/while), [running time](/reference/input/running-time), [for](/reference/loops/for)

View File

@ -62,8 +62,3 @@ basic.showAnimation(`
Use [forever](/reference/basic/forever) to show an animation over and over.
### ~
### Lessons
[smiley](/lessons/smiley), [snowflake fall](/lessons/snowflake-fall), [rotation animation](/lessons/rotation-animation)

View File

@ -36,10 +36,6 @@ basic.showLeds(`
If you are programming in JavaScript, `#` means an LED that is turned on and `.` means an LED that is turned off.
### Lessons
[smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart), [magic logo](/lessons/magic-logo)
### See also
[plot leds](/reference/led/plot-leds), [show animation](/reference/basic/show-animation)

View File

@ -42,10 +42,6 @@ for (let i = 0; i < 6; i++) {
* Use [show string](/reference/basic/show-string) to show a [String](/reference/types/string) with letters on the screen.
* Use [show animation](/reference/basic/show-animation) to show a group of pictures on the screen, one after another.
### Lessons
* [lucky 7](/lessons/lucky-7)
### See also
[show string](/reference/basic/show-string), [show animation](/reference/basic/show-animation), [Number](/reference/types/number), [math library](/reference/math)

View File

@ -31,10 +31,6 @@ basic.showString(s)
* Use [show number](/reference/basic/show-number) to show a number on the [LED screen](/device/screen).
* Use [show animation](/reference/basic/show-animation) to show a group of pictures on the screen, one after another.
### Lessons
[answering machine](/lessons/answering-machine), [rock paper scissors](/lessons/rock-paper-scissors), [love meter](/lessons/love-meter)
### See also
[String](/reference/types/string), [show number](/reference/basic/show-number), [show animation](/reference/basic/show-animation)

View File

@ -24,8 +24,3 @@ export function addScore(points: number)
```
export function score() : number
```
### Lessons
[game of chance](/lessons/game-of-chance), [game counter](/lessons/game-counter)

View File

@ -19,8 +19,3 @@ Sprite will change the y position by this number
```
export function changeYBy(_this: micro_bitSprites.LedSprite, y: number)
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -146,8 +146,3 @@ You can also end the game by calling the `game -> game over` function:
```
game.gameOver()
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -18,7 +18,3 @@ You can end the game by calling the `game -> game over` function:
game.gameOver()
```
### Lessons
[game of chance](/lessons/game-of-chance)

View File

@ -5,8 +5,3 @@ Sprite move by a certain number of LEDs
```
export function move(_this: micro_bitSprites.LedSprite, leds: number)
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -11,8 +11,3 @@ Reports the y position of a sprite on the LED screen
```
export function y(_this: micro_bitSprites.LedSprite) : number
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -25,8 +25,3 @@ Reports the current direction of a sprite on the LED screen
```
export function direction(_this: micro_bitSprites.LedSprite) : number
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -43,7 +43,3 @@ If your game has a time limit, you can start a countdown in which case `game->cu
export function startCountdown(ms: number)
```
### Lessons
[game of chance](/lessons/game-of-chance), [game counter](/lessons/game-counter)

View File

@ -40,8 +40,3 @@ If your game has a time limit, you can start a countdown in which case `game->cu
```
export function startCountdown(ms: number)
```
### Lessons
[bop it](/lessons/bop-it) | [game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -6,7 +6,3 @@ Reports true if sprite is touching specified sprite
export function isTouching(_this: micro_bitSprites.LedSprite, other: micro_bitSprites.LedSprite) : boolean
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -12,7 +12,3 @@ Rotates a sprite to the left by a certain number of degrees
export function turnLeft(_this: micro_bitSprites.LedSprite, degrees: number)
```
### Lessons
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -29,10 +29,6 @@ input.onGesture(Gesture.Shake, () => {
})
```
### Lessons
[rock paper scissors](/lessons/rock-paper-scissors), [digital pet](/lessons/digital-pet), [offset-image](/lessons/offset-image)
### See also
[show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/image/show-image), [scroll image](/reference/image/scroll-image)

View File

@ -46,10 +46,6 @@ You should see code similar to this:
* [show image](/reference/images/show-image): show an image on the screen
* [scroll image](/reference/images/scroll-image): scroll an image on the screen
### Lessons
* [smiley](/lessons/smiley)
### See also
[Show LEDs](/reference/basic/show-leds), [create image](/reference/images/create-image), [show image](/reference/images/show-image), [LED screen](/device/screen)

View File

@ -31,10 +31,6 @@ let img = images.createImage(`
img.plotFrame(1)
```
### Lessons
[smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart), [magic logo](/lessons/magic-logo)
### See also
[create image](/reference/images/create-image), [show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image)

View File

@ -31,10 +31,6 @@ let img = images.createImage(`
img.plotImage(0)
```
### Lessons
[smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart), [magic logo](/lessons/magic-logo)
### See also
[create image](/reference/images/create-image), [show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image)

View File

@ -31,10 +31,6 @@ let img = images.createImage(`
img.showFrame(1)
```
### Lessons
[smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart), [magic logo](/lessons/magic-logo)
### See also
[create image](/reference/images/create-image), [show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image)

View File

@ -45,10 +45,6 @@ for (let i = 0; i < 5; i++) {
}
```
### Lessons
[rock paper scissors](/lessons/rock-paper-scissors), [digital pet](/lessons/digital-pet), [offset-image](/lessons/offset-image)
### See also
[show animation](/reference/basic/show-animation), [image](/reference/images/image), [create image](/reference/images/create-image), [scroll image](/reference/images/scroll-image)

View File

@ -35,9 +35,6 @@ basic.forever(() => {
})
```
### Lessons
[zoomer](/lessons/zoomer)
### See also

View File

@ -33,10 +33,6 @@ basic.forever(() => {
})
```
### Lessons
[zoomer](/lessons/zoomer)
### See also
[on button pressed](/reference/input/on-button-pressed), [if](/reference/logic/if), [forever](/reference/basic/forever)

View File

@ -59,10 +59,6 @@ micro:bit.
If you are calibrating or using the compass near metal, it might
confuse the micro:bit.
### Lessons
[compass](/lessons/compass)
### See also
[acceleration](/reference/input/acceleration)

View File

@ -43,8 +43,6 @@ basic.forever(() => {
})
```
### Lessons
### See also
[acceleration](/reference/input/acceleration), [compass-heading](/reference/input/compass-heading)

View File

@ -41,10 +41,6 @@ Otherwise, sometimes they would show a `0`.
### ~
### Lessons
[smiley](/lessons/smiley), [answering machine](/lessons/answering-machine), [screen wipe](/lessons/screen-wipe), [rotation animation](/lessons/rotation-animation)
### See also
[button is pressed](/reference/input/button-is-pressed), [forever](/reference/basic/forever), [random](/reference/math/math)

View File

@ -20,7 +20,3 @@ input.onGesture(Gesture.Shake,() => {
})
```
## Lessons
[bounce image](/lessons/bounce-image)

View File

@ -36,10 +36,6 @@ input.onPinPressed(TouchPin.P0, () => {
})
```
### Lessons
[love meter](/lessons/love-meter)
### See also
[BBC micro:bit pins](/device/pins), [pin is pressed](/reference/input/pin-is-pressed), [analog read pin](/reference/pins/analog-read-pin), [analog write pin](/reference/pins/analog-write-pin), [digital read pin](/reference/pins/digital-read-pin), [digital write pin](/reference/pins/digital-write-pin)

View File

@ -24,9 +24,6 @@ input.onButtonPressed(Button.B, () => {
})
```
### Lessons
[speed button](/lessons/speed-button)
### See also

View File

@ -52,8 +52,6 @@ better thermometer.
### ~
### Lessons
### See also
[compass-heading](/reference/input/compass-heading), [acceleration](/reference/input/acceleration)

View File

@ -24,10 +24,6 @@ for (let i = 0; i < 5; i++) {
}
```
### Lessons
[glowing sword](/lessons/glowing-sword)
### See also
[brightness](/reference/led/brightness), [fade out](/reference/led/fade-out), [set brightness](/reference/led/set-brightness)

View File

@ -20,10 +20,6 @@ basic.showString("A", 1000)
led.fadeOut(1000)
```
### Lessons
[glowing sword](/lessons/glowing-sword)
### See also
[brightness](/reference/led/brightness), [fade in](/reference/led/fade-in), [set brightness](/reference/led/set-brightness)

View File

@ -6,10 +6,6 @@ Turn on all the 25 LEDs on the [LED screen](/device/screen).
led.plotAll()
```
### Lessons
[night light](/lessons/night-light)
### See also
[LED screen](/device/screen), [clear screen](/reference/basic/clear-screen)

View File

@ -28,10 +28,6 @@ basic.plotLeds(`
`)
```
### Lessons
[smiley](/lessons/smiley), [flashing heart](/lessons/flashing-heart), [magic logo](/lessons/magic-logo)
### See also
[show animation](/reference/basic/show-animation), [image](/reference/images/image), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image)

View File

@ -41,10 +41,6 @@ for (let i = 0; i < 5; i++) {
}
```
### Lessons
[blink](/lessons/blink), [beautiful image](/lessons/beautiful-image), [strobe light](/lessons/strobe-light)
### See also
[unplot](/reference/led/unplot), [point](/reference/led/point), [LED screen](/device/screen)

View File

@ -21,10 +21,6 @@ basic.pause(1000)
led.setBrightness(127)
```
### Lessons
[night light](/lessons/night-light)
### See also
[brightness](/reference/led/brightness), [fade in](/reference/led/fade-in), [fade out](/reference/led/fade-out), [LED screen](/device/screen)

View File

@ -43,10 +43,6 @@ basic.pause(500)
led.unplot(2, 2)
```
### Lessons
[strobe light](/lessons/strobe-light)
### See also
[plot](/reference/led/plot), [point](/reference/led/point), [LED screen](/device/screen), [create image](/reference/images/create-image)

View File

@ -22,10 +22,6 @@ if(input.lightLevel()<100){
If the [light level](/input/light-level) is `< 100`, this code sets the brightness to `255`:
### Lessons
[love meter](/lessons/love-meter), [zoomer](/lessons/zoomer)
### See also
[while loop](/reference/loops/while), [for](/reference/loops/for), [boolean](/reference/types/boolean)

View File

@ -14,10 +14,6 @@ basic.showNumber(i)
}
```
### Lessons
[looper](/lessons/looper)
### See also
[repeat](/reference/loops/repeat), [while](/reference/loops/while), [if](/reference/logic/if), [show number](/reference/basic/show-number)

View File

@ -6,10 +6,6 @@ Run part of the program the number of times you say.
![](/static/mb/blocks/contents-0.png)
### Lessons
[looper](/lessons/looper)
### See also
[for](/reference/loops/for), [while](/reference/loops/while), [if](/reference/logic/if), [show number](/reference/basic/show-number)

View File

@ -26,10 +26,6 @@ while(index >= 0) {
}
```
### Lessons
[rotation animation](/lessons/rotation-animation)
### See also
[on button pressed](/reference/input/on-button-pressed), [for](/reference/loops/for), [if](/reference/logic/if), [forever](/reference/basic/forever)

View File

@ -42,10 +42,6 @@ returns a random [Number](/reference/types/number) between 0 and the parameter *
![](/static/mb/blocks/math-3.png)
### Lessons
[love meter](/lessons/love-meter)
### See also
[Block Editor documentation](/blocks/contents), [Number](/reference/types/number)

View File

@ -98,10 +98,6 @@ if(x < 5) {
See the documentation on [Numbers](/reference/types/number) for more information on comparing two Numbers. You can also [compare strings](/reference/types/string-functions) using the `equals` function.
### Lessons
[rotation animation](/lessons/rotation-animation), [love meter](/lessons/love-meter), [zoomer](/lessons/zoomer)
### See also
[if](/reference/logic/if), [while](/reference/loops/while), [number](/reference/types/number)

View File

@ -51,10 +51,6 @@ The [math library](/reference/math) includes math related functions. In the [Blo
![](/static/mb/blocks/number-3.png)
### Lessons
[game counter](/lessons/game-counter), [love meter](/lessons/love-meter)
### See also
[math library](/reference/math), [var](/reference/variables/var), [Boolean](/reference/types/boolean), [show number](/reference/basic/show-number)

View File

@ -34,10 +34,6 @@ Use [show string](/reference/basic/show-string) to display a string on the [LED
The parameter of `show string` specifies the string
### Lessons
[glowing pendulum](/lessons/glowing-pendulum), [zoomer](/lessons/zoomer), [temperature](/lessons/temperature)
### See also
[variables](/reference/variables/var), [string functions](/reference/types/string-functions), [Number](/reference/types/number), [show string](/reference/basic/show-string)

View File

@ -30,10 +30,6 @@ You can use the assignment operator with variables of
every [type](/reference/types). A *type* is which kind of thing
a variable can store, like a number or string.
### Lessons
[rotation animation](/lessons/rotation-animation)
### See also
[variable](/reference/variables/var), [types](/reference/types)

View File

@ -81,10 +81,6 @@ if (led.brightness() > 128) {
* You can use the default variable names if you'd like, however, it's best to use descriptive variable names. To change a variable name in the editor, select the down arrow next to the variable and then click "new variable".
### Lessons
[glowing pendulum](/lessons/glowing-pendulum), [love meter](/lessons/love-meter), [temperature](/lessons/temperature), [zoomer](/lessons/zoomer)
### See also
[types](/reference/types), [assignment operator](/reference/variables/assign)

View File

@ -44,10 +44,6 @@ num1 = 42
* Don't confuse the assignment operator `:=` with the equality operator `=`, which is used to compare values.
* You can use the assignment operator `:=` with variables of each of the supported [types](/js/types).
### Lessons
[counter](/lessons/counter), [rotation animation](/lessons/rotation-animation), [digital pet](/lessons/digital-pet), [offset image](/lessons/offset-image)
### See also
[local variables](/reference/variables/var), [global variables](/js/data), [types](/js/types)

View File

@ -112,10 +112,6 @@ if (x < 5) {
See the documentation on [Numbers](/reference/types/number) for more information on comparing two Numbers. You can also [compare strings](/reference/types/string-functions) using the `equals` function.
### Lessons
[rotation animation](/lessons/rotation-animation), [digi yoyo](/lessons/digi-yoyo), [love meter](/lessons/love-meter), [zoomer](/lessons/zoomer)
### See also
[if](/reference/logic/if), [while](/js/while), [number](/reference/types/number)

View File

@ -27,10 +27,6 @@ for (let i = 0; i < 10; i++) {
}
```
### Lessons
[jailbreak](/lessons/jailbreak)
### See also
[for](/reference/loops/for), [while](/js/while)