diff --git a/docs/blocks.md b/docs/blocks.md new file mode 100644 index 00000000..1fe0d632 --- /dev/null +++ b/docs/blocks.md @@ -0,0 +1,8 @@ +# Blocks language + +```namspaces +for (let i = 0;i<5;++i) {} +if (true){} +let x = 0; +Math.random(5); +``` \ No newline at end of file diff --git a/docs/device/screen.md b/docs/device/screen.md index 08b38bf3..5ca1b64d 100644 --- a/docs/device/screen.md +++ b/docs/device/screen.md @@ -13,10 +13,15 @@ The micro:bit LED screen ``` The micro:bit LED screen consists of 25 red LED lights arranged in a 5X5 grid (5 LEDs across by 5 LEDs down). +In the screen above, we created a checkerboard pattern using the LEDs. ### Which LED? -You use ``x , y`` coordinates to specify a particular LED in the grid; where ``x`` is the horizontal position and ``y`` is the vertical position (0, 1, 2, 3, 4). To figure out the ``x``, ``y`` coordinates, position your micro:bit horizontally, like a credit card (see picture above). +You use `(x ,y)` coordinates to specify a particular LED in the grid; +where `x` is the horizontal position (0,1,2,3,4) and `y` is the vertical position +(0, 1, 2, 3, 4). + +To figure out the ``x``, ``y`` coordinates, position your micro:bit horizontally, like a credit card (see picture above). Here are the x, y coordinates for the LEDs in the 5X5 grid: @@ -30,11 +35,17 @@ Here are the x, y coordinates for the LEDs in the 5X5 grid: `(0,4)` `(1,4)` `(2,4)` `(3,4)` `(4,4)` -The x, y coordinates for the LED in the centre of the grid are `2, 2`. Starting from `0, 0` count over 2 columns and then down 2 rows. +The x, y coordinates for the LED in the centre of the grid are `(2,2)`. Starting from `(0,0)` count over 2 columns and then down 2 rows. + +### Check your understanding + +Which LEDs are turned on in the checkboard pattern above? ### Row, column - 1 -Since the row and column numbers start at 0, an easy way to figure out the x, y coordinates is to subtract 1 from the row and column number (when counting from 1). In other words, to specify the LED in the 4th column 5th row, subtract 1 from each number to get coordinates `3, 4`. +Since the row and column numbers start at 0, an easy way to figure out the (x,y) coordinates +is to subtract 1 from the row and column number (when counting from 1). +In other words, to specify the LED in the 4th column 5th row, subtract 1 from each number to get coordinates `(3,4)`. ### Turn a LED on/off @@ -42,8 +53,11 @@ Use [plot](/reference/led/plot) and [unplot](/reference/led/unplot) to turn a LE ```blocks led.plot(0,0); +led.plot(1,1); basic.pause(1000); -led.unplot(0,0) +led.unplot(0,0); +basic.pause(1000); +led.unplot(1,1); ``` ### Is a LED on/off? diff --git a/docs/docs.md b/docs/docs.md index b4cdece6..2cf6caf0 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -24,10 +24,10 @@ input.onButtonPressed(Button.B, () => { }); ``` -* **[getting started](/getting-started)** +* **[getting started](/getting-started)** +* Get started with [projects](/projects) * Browse the [API reference](/reference) * Learn more about the [device](/device) -* Get started with [projects](/projects) * Frequently Asked Question [faq](/faq) * Follow up with the [release notes](/release-notes) diff --git a/docs/getting-started.md b/docs/getting-started.md index 6b545667..fcc27ba7 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -4,7 +4,7 @@ Are you ready to build cool BBC micro:bit programs? -Here are some challenges for you. Unscramble the blocks in the editor +Here are some challenges for you. Unscramble the blocks in the editor to make real programs that work! ## ~ diff --git a/docs/lessons/banana-keyboard.md b/docs/lessons/banana-keyboard.md deleted file mode 100644 index 230052f8..00000000 --- a/docs/lessons/banana-keyboard.md +++ /dev/null @@ -1,21 +0,0 @@ -# banana keyboard blocks lesson - -display beautiful images on the BBC micro:bit. - -## Topic - -Music - -## Quick Links - -* [activity](/lessons/banana-keyboard/activity) - -## Prior learning/place of lesson in scheme of work - -Learn how to convert your BBC micro:bit into a music player using pins P0 and GND, earphones (or speakers), as well as crocodile clips (or spring clips). The connect fruit using pins P1 and GND. - -## Objectives - -* learn how to setup the BBC micro:bit with earphones to play music -* learn how to setup the BBC micro:bit with fruit be the musical instrument - diff --git a/docs/lessons/hack-your-headphones.md b/docs/lessons/hack-your-headphones.md deleted file mode 100644 index 5df72299..00000000 --- a/docs/lessons/hack-your-headphones.md +++ /dev/null @@ -1,20 +0,0 @@ -# hack your headphones lesson - -display beautiful images on the BBC micro:bit. - -## Topic - -Hack your headphone - -## Quick Links - -* [activity](/lessons/hack-your-headphones/activity) - -## Prior learning/place of lesson in scheme of work - -Learn how to convert your BBC micro:bit into a music player using pins P0 and GND, headphones (or speakers), as well as crocodile clips (or spring clips). - -## Objectives - -* learn how to setup the BBC micro:bit with headphones to play music - diff --git a/docs/lessons/light-beatbox.md b/docs/lessons/light-beatbox.md deleted file mode 100644 index b359799b..00000000 --- a/docs/lessons/light-beatbox.md +++ /dev/null @@ -1,21 +0,0 @@ -# light beatbox - -display beautiful images on the BBC micro:bit. - -## Topic - -Music - -## Quick Links - -* [activity](/lessons/light-beatbox/activity) - -## Prior learning/place of lesson in scheme of work - -Learn how to make a light beatbox music player using the light sensor. We will be learning how to code musical notes using light level, a local variable, conditionals, on button pressed as well as simple commands such as ring tone and rest. - -## Objectives - -* learn how to control the light sensor on the BBC micro:bit -* learn how to code music on the BBC micro:bit - diff --git a/docs/lessons/rock-paper-scissors.md b/docs/lessons/rock-paper-scissors.md deleted file mode 100644 index 8b7503f5..00000000 --- a/docs/lessons/rock-paper-scissors.md +++ /dev/null @@ -1,62 +0,0 @@ -# rock paper scissors lesson - -A game against the BBC micro:bit. - -## Topic - -Local Variables - -## Quick Links - -* [activity](/lessons/rock-paper-scissors/activity) -* [challenges](/lessons/rock-paper-scissors/challenges) - -## Class - -Year 7 - -## Prior learning/place of lesson in scheme of work - -Learn how to create a **local variable**, `var t :=time` where you can store data, so that you can use it in your code. We will be learning how to create a classic rock paper scissors game using global variables, input on shake, local variables, math random as well as simple commands such as create image, show image, show string, and show number. - -## Documentation - -```cards -input.onGesture(Gesture.Shake, () => {}) -Math.random(3) -let x = 0 -basic.showLeds(` - . . . . . - . . . . . - . . # . . - . . . . . - . . . . . - `) -``` - -## Objectives - -* learn how to create a condition so the micro:bit will run code when it is shaken -* learn how to create a local variable for a place where you can store data -* learn how to create an image to show on the micro:bit's LED screen -* learn how to show an image on the micro:bit's LED screen - -## Progression Pathways / Computational Thinking Framework - -#### Algorithms - -* Uses diagrams to express solutions.(AB) -* Represents solutions using a structured notation (AL) (AB) - -#### Programming & Development - -* Creates programs that implement algorithms to achieve given goals (AL) -* Declares and assigns variables(AB) -* Selects the appropriate data types(AL) (AB - -#### Data & Data Representation - -* Defines data types: real numbers and Boolean (AB) - -Computational Thinking Concept: AB = Abstraction; DE = Decomposition; AL = Algorithmic Thinking; EV = Evaluation; GE = Generalisation - diff --git a/docs/lessons/rock-paper-scissors/activity.md b/docs/lessons/rock-paper-scissors/activity.md deleted file mode 100644 index d73ebe18..00000000 --- a/docs/lessons/rock-paper-scissors/activity.md +++ /dev/null @@ -1,121 +0,0 @@ -# rock paper scissors activity - -A classic game against the micro:bit. - -### ~avatar avatar - - - -Welcome! This tutorial will help you create a game of rock paper scissors with the micro:bit. Let's get started! - -### ~ - -We want the micro:bit to choose rock, paper, or scissors when it is shaken. Let's begin by creating an on shake condition so the micro:bit will run code when it is shaken. - - -```blocks - -input.onGesture(Gesture.Shake, () => { - -}) - -``` - -Next, create a variable and store pick random number from 0 to 2. On shake, a number will be randomly picked from 0-2. We will randomly display an image based on the random number returned. - - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(3) -}) - -``` - -The micro:bit will look like it's showing 1 frame of the image by displaying the whole image when pick random is equal to 2. We can help the micro:bit randomly decide which image to use by pick random. The micro:bit will randomly pick the image to display with show LEDs and the pick random function. - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(3) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } -}) - - -``` - -The micro:bit will look like it's showing 1 frame of the image by displaying the whole image when pick random is equal to 1. We can help the micro:bit randomly decide which image to use by pick random. The micro:bit will randomly pick the image to display with show LEDs and the pick random function. - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(3) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } else if (img == 1) { - basic.showLeds(` - . . . . . - . # # # . - . # # # . - . # # # . - . . . . . - `) - } -}) -``` - -The micro:bit will look like it's showing 1 frame of the image by displaying the whole image when pick random is not equal to 2 and not equal to 1. We can help the micro:bit randomly decide which image to use by pick random. The micro:bit will randomly pick the image to display with show LEDs and the pick random function. - - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(3) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } else if (img == 1) { - basic.showLeds(` - . . . . . - . # # # . - . # # # . - . # # # . - . . . . . - `) - } else { - basic.showLeds(` - . . . # # - # # . # . - . . # . . - # # . # . - . . . # # - `) - } -}) - -``` - -### ~avatar avatar - -Excellent, you're ready to continue with the [challenges](/lessons/rock-paper-scissors/challenges)! - -### ~ - diff --git a/docs/lessons/rock-paper-scissors/challenges.md b/docs/lessons/rock-paper-scissors/challenges.md deleted file mode 100644 index 21fdd52f..00000000 --- a/docs/lessons/rock-paper-scissors/challenges.md +++ /dev/null @@ -1,133 +0,0 @@ -# rock paper scissors challenges - -Coding challenges for rock paper scissors. - -## Before we get started - -Complete the following [guided activity](/lessons/rock-paper-scissors/activity) , your code should look like this: - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(3) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } else if (img == 1) { - basic.showLeds(` - . . . . . - . # # # . - . # # # . - . # # # . - . . . . . - `) - } else { - basic.showLeds(` - . . . # # - # # . # . - . . # . . - # # . # . - . . . # # - `) - } -}) - -``` - -### Challenge 1 - -When the A button is pressed, increment the score by 1. You can select Game drawer then add change score by 1. - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(2) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } else if (img == 1) { - basic.showLeds(` - . . . . . - . # # # . - . # # # . - . # # # . - . . . . . - `) - } else { - basic.showLeds(` - . . . # # - # # . # . - . . # . . - # # . # . - . . . # # - `) - } -}) -input.onButtonPressed(Button.A, () => { - game.addScore(1) -}) - -``` - -* Click *run* to execute your code in the simulator - -### Challenge 2 - -After incrementing the score, display the total number of wins you have. - - -```blocks -input.onGesture(Gesture.Shake, () => { - let img = Math.random(2) - if (img == 2) { - basic.showLeds(` - # # # # # - # . . . # - # . . . # - # . . . # - # # # # # - `) - - } else if (img == 1) { - basic.showLeds(` - . . . . . - . # # # . - . # # # . - . # # # . - . . . . . - `) - } else { - basic.showLeds(` - . . . # # - # # . # . - . . # . . - # # . # . - . . . # # - `) - } -}) -input.onButtonPressed(Button.A, () => { - game.addScore(1) - basic.showString("WINS:") - basic.showNumber(game.score()) -}) - -``` - -* Run and compile the code to see if it works as expected. - -### Challenge 3 - -You have successfully tracked and displayed the number of wins on the micro:bit! However, what about losses? Use the Game drawer to change score by -1 when button `B` is pressed. - -* Run and compile the code to see if it works as expected. diff --git a/docs/lessons/rock-paper-scissors/quiz.md b/docs/lessons/rock-paper-scissors/quiz.md deleted file mode 100644 index 9a97b328..00000000 --- a/docs/lessons/rock-paper-scissors/quiz.md +++ /dev/null @@ -1,74 +0,0 @@ -# rock paper scissors quiz - -shift an image horizontally across the display with offset. - -## Name - -## Directions - -Use this activity document to guide your work in the [rock paper scissors tutorial](/lessons/rock-paper-scissors/activity). - -Answer the questions while completing the tutorial. Pay attention to the dialogues! - -## 1. Describe what `offset` does? - -
- -## 2. Draw which LEDs are ON after running this code and the random number returned is 0 - -```blocks -let img = images.createImage(` -. . . . . # # # # # . . . . # -. # # # . # . . . # # # . # . -. # # # . # . . . # . # # . . -. # # # . # . . . # # # . # . -. . . . . # # # # # . . . . # -`) -let offset = Math.random(3) * 5 -img.showImage(offset) -``` - -![](/static/mb/lessons/night-light-2.png) - -
- -
- -## 3. Draw which LEDs are ON after running this code with an offset of 5. This would occur if the random number returned is 1. - -```blocks -let img_ = images.createImage(` -. . . . . # # # # # . . . . # -. # # # . # . . . # # # . # . -. # # # . # . . . # . # # . . -. # # # . # . . . # # # . # . -. . . . . # # # # # . . . . # -`) -let offset_ = Math.random(3) * 5 -img.showImage(offset) -``` - -![](/static/mb/lessons/night-light-2.png) - -
- -
- -## 4. Draw which LEDs are ON after running this code with an offset of 10. This would occur if the random number returned is 2. - -```blocks -let img_1 = images.createImage(` -. . . . . # # # # # . . . . # -. # # # . # . . . # # # . # . -. # # # . # . . . # . # # . . -. # # # . # . . . # # # . # . -. . . . . # # # # # . . . . # -`) -let offset_1 = Math.random(3) * 5 -img.showImage(offset) -``` - -![](/static/mb/lessons/night-light-2.png) - -
- diff --git a/docs/lessons/telegraph.md b/docs/lessons/telegraph.md deleted file mode 100644 index 79378c2a..00000000 --- a/docs/lessons/telegraph.md +++ /dev/null @@ -1,24 +0,0 @@ -# telegraph lesson - -display beautiful images on the BBC micro:bit. - -## Topic - -Telegraph - -## Quick Links - -* [activity](/lessons/telegraph/activity) -* [challenges](/lessons/telegraph/challenges) - - -## Prior learning/place of lesson in scheme of work - -Learn how to convert your BBC micro:bit into a telegraph using a second BBC micro:bit as well as pin P1, P2, 3V, GND, -and crocodile clips (or spring clips). The connect BBC micro:bit uses pins P1, P2, 3V, GND. - -## Objectives - -* learn how to setup the BBC micro:bit with crocodile clips -* learn how to telegraph to another BBC micro:bit - diff --git a/docs/projects.md b/docs/projects.md index f259d1b8..4fd3572d 100644 --- a/docs/projects.md +++ b/docs/projects.md @@ -22,19 +22,19 @@ ![](/static/mb/projects/a5-compass.png) -## [Hack your headphones](/lessons/hack-your-headphones/activity) +## [Hack your headphones](/projects/hack-your-headphones) ![](/static/mb/projects/a6-music.png) -## [Banana keyboard](/lessons/banana-keyboard/activity) +## [Banana keyboard](/projects/banana-keyboard) ![](/static/mb/projects/a7-conductive.png) -## [Telegraph](/lessons/telegraph/activity) +## [Telegraph](/projects/telegraph) ![](/static/mb/projects/a8-network.png) -## Radio +## [Radio](/projects/radio) ![](/static/mb/projects/a9-radio.png) diff --git a/docs/lessons/banana-keyboard/challenges.md b/docs/projects/banana-keyboard-challenges.md similarity index 100% rename from docs/lessons/banana-keyboard/challenges.md rename to docs/projects/banana-keyboard-challenges.md diff --git a/docs/lessons/banana-keyboard/activity.md b/docs/projects/banana-keyboard.md similarity index 96% rename from docs/lessons/banana-keyboard/activity.md rename to docs/projects/banana-keyboard.md index c0ae3b58..0710629c 100644 --- a/docs/lessons/banana-keyboard/activity.md +++ b/docs/projects/banana-keyboard.md @@ -95,6 +95,6 @@ Tap your banana instrument to play sound against... the fruit! ### ~avatar boothing -Excellent, you're ready to continue with the [challenges](/lessons/banana-keyboard/challenges)! +Excellent, you're ready to continue with the [challenges](/banana-keyboard-challenges)! ### ~ diff --git a/docs/projects/compass.md b/docs/projects/compass.md index b0148c4a..bb565db1 100644 --- a/docs/projects/compass.md +++ b/docs/projects/compass.md @@ -1,4 +1,4 @@ -# compass activity +# compass ![](/static/mb/projects/a5-compass.png) diff --git a/docs/projects/flashing-heart.md b/docs/projects/flashing-heart.md index 46927f5d..d4c54f50 100644 --- a/docs/projects/flashing-heart.md +++ b/docs/projects/flashing-heart.md @@ -1,6 +1,29 @@ +# flashing heart + ![](/static/mb/projects/a1-display.png) -Use the LEDs to display a flashing heart. +### ~avatar avatar + +```sim +basic.forever(() => { +basic.showLeds(` +. # . # . +# # # # # +# # # # # +. # # # . +. . # . .`); +basic.pause(500); +basic.clearScreen(); +basic.pause(500); +}) +``` + +Use the LEDs to display a flashing heart, and then create +an animation of a broken heart. :( + +## [START PROJECT](/#follow:/projects/flashing-heart) + +### ~ ## Step 1 diff --git a/docs/lessons/light-beatbox/activity.md b/docs/projects/hack-your-headphones-challenges.md similarity index 94% rename from docs/lessons/light-beatbox/activity.md rename to docs/projects/hack-your-headphones-challenges.md index b39a7c1f..318d14c9 100644 --- a/docs/lessons/light-beatbox/activity.md +++ b/docs/projects/hack-your-headphones-challenges.md @@ -1,4 +1,4 @@ -# light beatbox activity +# hack your headphones challenges Control sound with the light level. @@ -71,10 +71,3 @@ input.onButtonPressed(Button.A, () => { * click *compile* and run your code on the micro:bit. - -### ~avatar avatar - -Excellent, you're ready to continue by connecting your headphones with these [challenges](/lessons/hack-your-headphones/activity)! - -### ~ - diff --git a/docs/lessons/hack-your-headphones/activity.md b/docs/projects/hack-your-headphones.md similarity index 85% rename from docs/lessons/hack-your-headphones/activity.md rename to docs/projects/hack-your-headphones.md index 42ce3ea8..5da47969 100644 --- a/docs/lessons/hack-your-headphones/activity.md +++ b/docs/projects/hack-your-headphones.md @@ -1,4 +1,4 @@ -# hack your headphones activity +# hack your headphones Hack your headphones @@ -52,10 +52,10 @@ You hacked your headphones! ### Step 6 -Connect your micro:bit to your computer using your USB cable and program [light beatbox](/lessons/light-beatbox/activity) music on it. Press the reset button to restart your music player! +Connect your micro:bit to your computer using your USB cable and program [light beatbox](/projects/hack-your-headphones-challenges) music on it. Press the reset button to restart your music player! ### ~avatar avatar -Excellent, you're ready to continue with the [challenges](/lessons/light-beatbox/activity)! +Excellent, you're ready to continue with the [challenges](/projects/hack-your-headphones-challenges)! ### ~ diff --git a/docs/projects/love-meter.md b/docs/projects/love-meter.md index 6190cd6b..a3169b79 100644 --- a/docs/projects/love-meter.md +++ b/docs/projects/love-meter.md @@ -1,3 +1,5 @@ +# love meter + ![](/static/mb/projects/a3-pins.png) Use pins P0, P1 and P2 to change the display by creating a circuit with your body. diff --git a/docs/lessons/charting/challenge.md b/docs/projects/radio-challenges.md similarity index 100% rename from docs/lessons/charting/challenge.md rename to docs/projects/radio-challenges.md diff --git a/docs/projects/radio.md b/docs/projects/radio.md new file mode 100644 index 00000000..d969e0f9 --- /dev/null +++ b/docs/projects/radio.md @@ -0,0 +1,68 @@ +# radio + +Measure the acceleration on the micro:bit in the "x" direction. + +### ~avatar avatar + +Welcome! This activity will teach how to use the micro:bit to chart the acceleration in the "x" direction. Let's get started! + + +### ~ +Let's measure `acceleration (mg)` in the "x" direction. Get the acceleration value (milli g-force), in one of three specified dimensions. + + +```blocks +input.acceleration(Dimension.X) +``` + +### ~ +Use the plot bar chart to visualize the acceleration on the LED screen of the micro:bit in the specified range. You implement plot Bar Graph to display a vertical bar graph based on the "value" and "high" value. Then you must insert acceleration in the X dimension to measure the acceleration. + +```blocks +basic.forever(() => { + led.plotBarGraph(input.acceleration(Dimension.X), 0) +}) + +``` + +### ~ +Notice that moving the micro:bit in the simulator from left to right (x direction) changes the values beneath the micro:bit in a range from 1023 to -1023 as measured in milli-gravities. By hovering over the micro:bit from left to right, you can observe changing values beneath the micro:bit simulator. Also, the LEDs shown on the Bar Graph fluctates based on the movement of the micro:bit simulator in the x direction. The line underneath the micro:bit simulator reflect the acceleration in the x direction. + +NOTE: The colors of the charts reflect the color of the micro:bit simulator. In this instance, the micro:bit is yellow. So the color of the data line reflects the color of the micro:bit + +![](/static/mb/data4.png) + +### ~ + +Vigorously move the micro:bit in the micro:bit simulatator by moving the micro:bit image from side to side. Every time the micro:bit moves in the x direction in the simulator, you are generating data points that can be reviewed in Excel. The more attempts to move the micro:bit from side to side, the more data being saved in Excel. After you have vigarously moved the micro:bit simulator from side to side for a sufficient amount of time, you are ready to graph or chart the accceleration of the micro:bit. We want a printout of our acceleration on Excel that can be graphed in Excel. + +### ~ + +We want to chart the data collected by using a tool in Excel. + +The final part of this experiment is opening and reviewing the data in the Excel CSV file. Simply click on the line beneath the simulator. A CSV file will be generated to display the data points collected by moving the micro:bit in the X direction. Then click or tap on the data Excel file that was downloaded to your local ``Downloads`` Folder. + + +### ~ + + +First, click or tap on the first two columns (A, B) to include the time of the data being collected; b) the results of acceleration data on the micro:bit + +![](/static/mb/data7.png) + +Use the Recommended Charts command on the Insert tab to quickly create a chart that’s just right for your data. + +* Select the data that you want to include in your chart. + +* Click Insert > Recommended Charts. + +![](/static/mb/lessons/chart1.png) + +* On the Recommended Charts tab, scroll through the list of chart types that Excel recommends for your data. Pick the **scatter plot**. + +### ~avatar avatar + +Excellent, you're ready to continue with the [challenges](/projects/radio-challenges) + +### ~ + diff --git a/docs/projects/smiley-buttons.md b/docs/projects/smiley-buttons.md index 680683ca..a6a795a9 100644 --- a/docs/projects/smiley-buttons.md +++ b/docs/projects/smiley-buttons.md @@ -1,3 +1,5 @@ +# smiley buttons + ![](/static/mb/projects/a2-buttons.png) Use buttons to show a smiley or frowny face. diff --git a/docs/lessons/telegraph/challenges.md b/docs/projects/telegraph-challenges.md similarity index 100% rename from docs/lessons/telegraph/challenges.md rename to docs/projects/telegraph-challenges.md diff --git a/docs/lessons/telegraph/activity.md b/docs/projects/telegraph.md similarity index 94% rename from docs/lessons/telegraph/activity.md rename to docs/projects/telegraph.md index 1300c1ab..3bb283b5 100644 --- a/docs/lessons/telegraph/activity.md +++ b/docs/projects/telegraph.md @@ -70,6 +70,6 @@ Using the 4th crocodile clip, connect the unattached end of the crocodile clip o ### ~avatar avatar -Excellent, you're ready to continue with the [challenges](/lessons/telegraph/challenges)! +Excellent, you're ready to continue with the [challenges](/projects/telegraph-challenges)! ### ~ diff --git a/docs/projects/the-watch.md b/docs/projects/the-watch.md index cd50c214..83b5796b 100644 --- a/docs/projects/the-watch.md +++ b/docs/projects/the-watch.md @@ -1,6 +1,6 @@ ![](/static/mb/projects/a10-watch.png) -# micro:bit watch +# the watch ![](/static/mb/lessons/the-watch-0.png) diff --git a/docs/reference.md b/docs/reference.md index 936915b2..0cbbf586 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -21,11 +21,4 @@ serial.writeNumber(0); control.inBackground(() => { }); - -``` - \ No newline at end of file +``` \ No newline at end of file diff --git a/docs/reference/basic/show-leds.md b/docs/reference/basic/show-leds.md index dfc8f1dd..0e7a42b9 100644 --- a/docs/reference/basic/show-leds.md +++ b/docs/reference/basic/show-leds.md @@ -15,9 +15,9 @@ basic.showLeds(` ### Parameters -* `leds` is a [string](/reference/types/string) that means which LEDs are on and off. +* `leds` is a [string](/reference/types/string) that controls which LEDs are on and off. * `interval` is an optional [number](/reference/types/number) that means how many milliseconds to wait after showing a picture. -If you are programming with blocks, `interval` starts out as 400 milliseconds. +If you are programming with blocks, `interval` is set at 400 milliseconds. ### Example diff --git a/docs/reference/led/brightness.md b/docs/reference/led/brightness.md index f6e2e4e1..1772fead 100644 --- a/docs/reference/led/brightness.md +++ b/docs/reference/led/brightness.md @@ -1,6 +1,6 @@ # Brightness -Find how bright the [LED screen](/device/screen) is. +Find how bright the [LED screen](/device/screen) is _when it is turned on_. ```sig led.brightness(); @@ -8,11 +8,11 @@ led.brightness(); ### Returns -* a [Number](/reference/types/number) that means how bright the screen is, from `0` (darkest) to `255` (brightest). For example, the number `127` means the screen is halfway bright. +* a [number](/reference/types/number) that means how bright the screen is when it is turned on, from `0` (darkest) to `255` (brightest). For example, the number `127` means the screen is halfway bright when it is turned on. ### Example: highest brightness -This program makes the screen completely bright if it is not that way already: +This program makes the screen completely bright when it is turned on (if it is not that way already): ```blocks if (led.brightness() < 255) { @@ -20,6 +20,20 @@ if (led.brightness() < 255) { } ``` + +### Example: change brightness + +This program makes the screen brightness 100% (255). Then it turns on +the center LED (`2, 2`), waits for one second and then sets the screen +brightness to 50% (128): + +```blocks +led.setBrightness(255) +led.plot(2, 2) +basic.pause(1000) +led.setBrightness(led.brightness() / 2) +``` + ### See also [set brightness](/reference/led/set-brightness), [fade in](/reference/led/fade-in), [fade out](/reference/led/fade-out) diff --git a/docs/reference/led/set-brightness.md b/docs/reference/led/set-brightness.md index b9262723..3525ff83 100644 --- a/docs/reference/led/set-brightness.md +++ b/docs/reference/led/set-brightness.md @@ -1,6 +1,7 @@ # Set Brightness -Sets the brightness of the [LED screen](/device/screen). +Make the [LED screen](/device/screen) as bright as you say when it is +turned on. ```sig led.setBrightness(121) @@ -8,17 +9,19 @@ led.setBrightness(121) ### Parameters -* value : [Number](/reference/types/number) - the brightness of the LED screen expressed as a number between 0 and 255 +* a [number](/reference/types/number) that means how bright the screen is when it is turned on, from `0` (darkest) to `255` (brightest). For example, the number `127` means the screen is halfway bright when it is turned on. ### Example: change brightness -The following example sets the screen brightness to 100% (255), turns on LED `2, 2`, waits for a second and then sets the screen brightness to 50% (127): +This program makes the screen brightness 100% (255). Then it turns on +the center LED (`2, 2`), waits for one second, and then sets the screen +brightness to 50% (128): ```blocks led.setBrightness(255) led.plot(2, 2) basic.pause(1000) -led.setBrightness(127) +led.setBrightness(led.brightness() / 2) ``` ### See also diff --git a/docs/lessons.md b/olddocs/lessons.md similarity index 92% rename from docs/lessons.md rename to olddocs/lessons.md index 71fba6ec..817fdcab 100644 --- a/docs/lessons.md +++ b/olddocs/lessons.md @@ -1,6 +1,5 @@ # Lessons - ### @short Lessons ### ~column @@ -51,9 +50,6 @@ ### ~column ## Maker -* [Hack your Headphones](/lessons/hack-your-headphones), create music on the BBC micro:bit by hacking your headphones -* [Banana Keyboard](/lessons/banana-keyboard), create music with fruits -* [Telegraph](/lessons/telegraph), play the telegraph game between two BBC micro:bits * [Pogo](/lessons/pogo), create a pogo game to test your jumping abilities ## Science diff --git a/docs/lessons/answering-machine.md b/olddocs/lessons/answering-machine.md similarity index 100% rename from docs/lessons/answering-machine.md rename to olddocs/lessons/answering-machine.md diff --git a/docs/lessons/answering-machine/activity.md b/olddocs/lessons/answering-machine/activity.md similarity index 100% rename from docs/lessons/answering-machine/activity.md rename to olddocs/lessons/answering-machine/activity.md diff --git a/docs/lessons/answering-machine/challenges.md b/olddocs/lessons/answering-machine/challenges.md similarity index 100% rename from docs/lessons/answering-machine/challenges.md rename to olddocs/lessons/answering-machine/challenges.md diff --git a/docs/lessons/answering-machine/quiz-answers.md b/olddocs/lessons/answering-machine/quiz-answers.md similarity index 100% rename from docs/lessons/answering-machine/quiz-answers.md rename to olddocs/lessons/answering-machine/quiz-answers.md diff --git a/docs/lessons/answering-machine/quiz.md b/olddocs/lessons/answering-machine/quiz.md similarity index 100% rename from docs/lessons/answering-machine/quiz.md rename to olddocs/lessons/answering-machine/quiz.md diff --git a/docs/lessons/beautiful-image.md b/olddocs/lessons/beautiful-image.md similarity index 100% rename from docs/lessons/beautiful-image.md rename to olddocs/lessons/beautiful-image.md diff --git a/docs/lessons/beautiful-image/activity.md b/olddocs/lessons/beautiful-image/activity.md similarity index 100% rename from docs/lessons/beautiful-image/activity.md rename to olddocs/lessons/beautiful-image/activity.md diff --git a/docs/lessons/beautiful-image/challenges.md b/olddocs/lessons/beautiful-image/challenges.md similarity index 100% rename from docs/lessons/beautiful-image/challenges.md rename to olddocs/lessons/beautiful-image/challenges.md diff --git a/docs/lessons/beautiful-image/tutorial.md b/olddocs/lessons/beautiful-image/tutorial.md similarity index 100% rename from docs/lessons/beautiful-image/tutorial.md rename to olddocs/lessons/beautiful-image/tutorial.md diff --git a/docs/lessons/blink.md b/olddocs/lessons/blink.md similarity index 100% rename from docs/lessons/blink.md rename to olddocs/lessons/blink.md diff --git a/docs/lessons/blink/activity.md b/olddocs/lessons/blink/activity.md similarity index 100% rename from docs/lessons/blink/activity.md rename to olddocs/lessons/blink/activity.md diff --git a/docs/lessons/blink/challenges.md b/olddocs/lessons/blink/challenges.md similarity index 100% rename from docs/lessons/blink/challenges.md rename to olddocs/lessons/blink/challenges.md diff --git a/docs/lessons/blink/quiz-answers.md b/olddocs/lessons/blink/quiz-answers.md similarity index 100% rename from docs/lessons/blink/quiz-answers.md rename to olddocs/lessons/blink/quiz-answers.md diff --git a/docs/lessons/blink/quiz.md b/olddocs/lessons/blink/quiz.md similarity index 100% rename from docs/lessons/blink/quiz.md rename to olddocs/lessons/blink/quiz.md diff --git a/docs/lessons/blocks-conditions.md b/olddocs/lessons/blocks-conditions.md similarity index 100% rename from docs/lessons/blocks-conditions.md rename to olddocs/lessons/blocks-conditions.md diff --git a/docs/lessons/bop-it/activity.md b/olddocs/lessons/bop-it/activity.md similarity index 100% rename from docs/lessons/bop-it/activity.md rename to olddocs/lessons/bop-it/activity.md diff --git a/docs/lessons/bop-it/quiz-answers.md b/olddocs/lessons/bop-it/quiz-answers.md similarity index 100% rename from docs/lessons/bop-it/quiz-answers.md rename to olddocs/lessons/bop-it/quiz-answers.md diff --git a/docs/lessons/bop-it/quiz.md b/olddocs/lessons/bop-it/quiz.md similarity index 100% rename from docs/lessons/bop-it/quiz.md rename to olddocs/lessons/bop-it/quiz.md diff --git a/docs/lessons/catch-the-egg-game.md b/olddocs/lessons/catch-the-egg-game.md similarity index 100% rename from docs/lessons/catch-the-egg-game.md rename to olddocs/lessons/catch-the-egg-game.md diff --git a/docs/lessons/catch-the-egg-game/activity.md b/olddocs/lessons/catch-the-egg-game/activity.md similarity index 100% rename from docs/lessons/catch-the-egg-game/activity.md rename to olddocs/lessons/catch-the-egg-game/activity.md diff --git a/docs/lessons/catch-the-egg-game/quiz-answers.md b/olddocs/lessons/catch-the-egg-game/quiz-answers.md similarity index 100% rename from docs/lessons/catch-the-egg-game/quiz-answers.md rename to olddocs/lessons/catch-the-egg-game/quiz-answers.md diff --git a/docs/lessons/catch-the-egg-game/quiz.md b/olddocs/lessons/catch-the-egg-game/quiz.md similarity index 100% rename from docs/lessons/catch-the-egg-game/quiz.md rename to olddocs/lessons/catch-the-egg-game/quiz.md diff --git a/docs/lessons/catch-the-egg-game/tutorial.md b/olddocs/lessons/catch-the-egg-game/tutorial.md similarity index 100% rename from docs/lessons/catch-the-egg-game/tutorial.md rename to olddocs/lessons/catch-the-egg-game/tutorial.md diff --git a/docs/lessons/challenges.md b/olddocs/lessons/challenges.md similarity index 100% rename from docs/lessons/challenges.md rename to olddocs/lessons/challenges.md diff --git a/docs/lessons/charting.md b/olddocs/lessons/charting.md similarity index 100% rename from docs/lessons/charting.md rename to olddocs/lessons/charting.md diff --git a/docs/lessons/charting/activity.md b/olddocs/lessons/charting/activity.md similarity index 100% rename from docs/lessons/charting/activity.md rename to olddocs/lessons/charting/activity.md diff --git a/olddocs/lessons/charting/challenge.md b/olddocs/lessons/charting/challenge.md new file mode 100644 index 00000000..18b40846 --- /dev/null +++ b/olddocs/lessons/charting/challenge.md @@ -0,0 +1,88 @@ +# Challenge + +### ~avatar avatar + +Welcome! The activity will teach you how to use the acceleration of the 1st micro:bit and to visualize the acceleration on the 2nd micro:bit. +Let's get started! + +### ~ +Let's measure `acceleration (mg)` and then `send number`. `Acceleration` is measured in **milli-gravities**, so a value of -1000 is equivalent to -1g or -9.81m/s^2. We will be able to get the acceleration value (g-force), in the specified "x" dimension. `Send number` will broadcast a number data packet to other micro:bits connected via radio. + +```blocks +radio.sendNumber(input.acceleration(Dimension.X)); +``` +### ~ +We want to display the acceleration forever. In order to do so, we need a `forever` loop. A forever loop will repeat code in the background forever. + +```blocks +basic.forever(() => { + radio.sendNumber(input.acceleration(Dimension.X)); +}); + + +``` +### ~ +We want to register code to run when a packet is received over radio. We can implement this code by adding `on data received`. + +```blocks +basic.forever(() => { + radio.sendNumber(input.acceleration(Dimension.X)) +}) +radio.onDataReceived(() => { + +}) +``` +### ~ +Finally, we want to chart the acceleration. So we must first implement `plot bar graph`. `Plot Bar Graph` will display a vertical bar graph based on the value and high value. In order to transfer the receive the number from the 1st micro:bit, we must implement `receive number` to constantly display a vertical bar graph based on the value. Remember, the value will equal to the micro:bit's acceleration in the "x" direction. + +```blocks +basic.forever(() => { + radio.sendNumber(input.acceleration(Dimension.X)) +}) +radio.onDataReceived(() => { + led.plotBarGraph(radio.receiveNumber(), 1023) +}) + +``` +### ~ +Notice that moving the micro:bit the farthest direction in the x direction will be -1023 on the charting beneath the simulator. The second observation will be that the LEDs will be full brightness on the 2nd micro:bit. There is a single LED turned on with the 1st micro:bit. Additionally, the graphs will reflect 0 acceleation for the 1st micro:bit. In this scenario, if you are adjusting the acceleration in the simualator, you are also changing your chart that will be produced. + +![](/static/mb/acc.png) + +### ~ +NOTE: The colors of the charts reflect the color of the micro:bit simulator. In this instance, the micro:bits are blue and green. So the colors of the line graphs reflect the colors of the micro:bit + + ### ~ +After running this simulation several seconds by moving the micro:bit side to side in the x direction, you are ready to graph or chart the accceleration of the micro:bit. We want a printout of our acceleration on Excel. We will graph the fluctuating acceleration of the simulation experiment. + +![](/static/mb/acc2.png) + +### ~ +Finally, you must open the Excel CSV file by clicking on the data.xls file that was downloaded to Downloads Folder. + +![](/static/mb/data3.png) + +Use the Recommended Charts command on the Insert tab to quickly create a chart that’s just right for your data. + +* Select the data that you want to include in your chart. + +* Click Insert > Recommended Charts. + +![](/static/mb/lessons/chart1.png) + +* On the Recommended Charts tab, scroll through the list of chart types that Excel recommends for your data. Pick the **scatter plot**. + +![](/static/mb/chart_title.png) + +* Use the Chart Elements, Chart Styles, and Chart Filters buttons next to the upper-right corner of the chart to add chart elements like axis titles or data labels, to customize the look of your chart + +![](/static/mb/elements_styles_filters.png) + +### ~ +Have fun reviewing your simulation and analyze the acceleration by chart the Excel data using Excel. + +* Connect the first micro:bit to your computer using your USB cable and run the charting script on it. +* Connect the second micro:bit to your computer using your USB cable and run the charting script on it. +* The first person and second person take turns tilting the micro:bit in the "x" direction while the other player charts the data on the micro:bit! +* Review and analyze the actual micro:bit device acceleration data on Excel +* Display acceleration with y or z using plot bar graph by changing acceleration from "x" to "y" or "z" diff --git a/docs/lessons/charting/quiz-answers.md b/olddocs/lessons/charting/quiz-answers.md similarity index 100% rename from docs/lessons/charting/quiz-answers.md rename to olddocs/lessons/charting/quiz-answers.md diff --git a/docs/lessons/charting/quiz.md b/olddocs/lessons/charting/quiz.md similarity index 100% rename from docs/lessons/charting/quiz.md rename to olddocs/lessons/charting/quiz.md diff --git a/docs/lessons/classic-beatbox.md b/olddocs/lessons/classic-beatbox.md similarity index 100% rename from docs/lessons/classic-beatbox.md rename to olddocs/lessons/classic-beatbox.md diff --git a/docs/lessons/classic-beatbox/activity.md b/olddocs/lessons/classic-beatbox/activity.md similarity index 100% rename from docs/lessons/classic-beatbox/activity.md rename to olddocs/lessons/classic-beatbox/activity.md diff --git a/docs/lessons/classic-beatbox/challenges.md b/olddocs/lessons/classic-beatbox/challenges.md similarity index 100% rename from docs/lessons/classic-beatbox/challenges.md rename to olddocs/lessons/classic-beatbox/challenges.md diff --git a/docs/lessons/compass.md b/olddocs/lessons/compass.md similarity index 100% rename from docs/lessons/compass.md rename to olddocs/lessons/compass.md diff --git a/docs/lessons/compass/activity.md b/olddocs/lessons/compass/activity.md similarity index 100% rename from docs/lessons/compass/activity.md rename to olddocs/lessons/compass/activity.md diff --git a/docs/lessons/compass/challenges.md b/olddocs/lessons/compass/challenges.md similarity index 100% rename from docs/lessons/compass/challenges.md rename to olddocs/lessons/compass/challenges.md diff --git a/docs/lessons/compass/quiz-answers.md b/olddocs/lessons/compass/quiz-answers.md similarity index 100% rename from docs/lessons/compass/quiz-answers.md rename to olddocs/lessons/compass/quiz-answers.md diff --git a/docs/lessons/compass/quiz.md b/olddocs/lessons/compass/quiz.md similarity index 100% rename from docs/lessons/compass/quiz.md rename to olddocs/lessons/compass/quiz.md diff --git a/docs/lessons/counter.md b/olddocs/lessons/counter.md similarity index 100% rename from docs/lessons/counter.md rename to olddocs/lessons/counter.md diff --git a/docs/lessons/counter/activity.md b/olddocs/lessons/counter/activity.md similarity index 100% rename from docs/lessons/counter/activity.md rename to olddocs/lessons/counter/activity.md diff --git a/docs/lessons/counter/challenges.md b/olddocs/lessons/counter/challenges.md similarity index 100% rename from docs/lessons/counter/challenges.md rename to olddocs/lessons/counter/challenges.md diff --git a/docs/lessons/counter/quiz-answers.md b/olddocs/lessons/counter/quiz-answers.md similarity index 100% rename from docs/lessons/counter/quiz-answers.md rename to olddocs/lessons/counter/quiz-answers.md diff --git a/docs/lessons/counter/quiz.md b/olddocs/lessons/counter/quiz.md similarity index 100% rename from docs/lessons/counter/quiz.md rename to olddocs/lessons/counter/quiz.md diff --git a/docs/lessons/dice-roll.md b/olddocs/lessons/dice-roll.md similarity index 100% rename from docs/lessons/dice-roll.md rename to olddocs/lessons/dice-roll.md diff --git a/docs/lessons/dice-roll/activity.md b/olddocs/lessons/dice-roll/activity.md similarity index 100% rename from docs/lessons/dice-roll/activity.md rename to olddocs/lessons/dice-roll/activity.md diff --git a/docs/lessons/dice-roll/challenges.md b/olddocs/lessons/dice-roll/challenges.md similarity index 100% rename from docs/lessons/dice-roll/challenges.md rename to olddocs/lessons/dice-roll/challenges.md diff --git a/docs/lessons/dice-roll/quiz-answers.md b/olddocs/lessons/dice-roll/quiz-answers.md similarity index 100% rename from docs/lessons/dice-roll/quiz-answers.md rename to olddocs/lessons/dice-roll/quiz-answers.md diff --git a/docs/lessons/dice-roll/quiz.md b/olddocs/lessons/dice-roll/quiz.md similarity index 100% rename from docs/lessons/dice-roll/quiz.md rename to olddocs/lessons/dice-roll/quiz.md diff --git a/docs/lessons/digi-yoyo.md b/olddocs/lessons/digi-yoyo.md similarity index 100% rename from docs/lessons/digi-yoyo.md rename to olddocs/lessons/digi-yoyo.md diff --git a/docs/lessons/digi-yoyo/activity.md b/olddocs/lessons/digi-yoyo/activity.md similarity index 100% rename from docs/lessons/digi-yoyo/activity.md rename to olddocs/lessons/digi-yoyo/activity.md diff --git a/docs/lessons/digi-yoyo/challenges.md b/olddocs/lessons/digi-yoyo/challenges.md similarity index 100% rename from docs/lessons/digi-yoyo/challenges.md rename to olddocs/lessons/digi-yoyo/challenges.md diff --git a/docs/lessons/digi-yoyo/quiz-answers.md b/olddocs/lessons/digi-yoyo/quiz-answers.md similarity index 100% rename from docs/lessons/digi-yoyo/quiz-answers.md rename to olddocs/lessons/digi-yoyo/quiz-answers.md diff --git a/docs/lessons/digi-yoyo/quiz.md b/olddocs/lessons/digi-yoyo/quiz.md similarity index 100% rename from docs/lessons/digi-yoyo/quiz.md rename to olddocs/lessons/digi-yoyo/quiz.md diff --git a/docs/lessons/flashing-heart.md b/olddocs/lessons/flashing-heart.md similarity index 100% rename from docs/lessons/flashing-heart.md rename to olddocs/lessons/flashing-heart.md diff --git a/docs/lessons/flashing-heart/activity.md b/olddocs/lessons/flashing-heart/activity.md similarity index 100% rename from docs/lessons/flashing-heart/activity.md rename to olddocs/lessons/flashing-heart/activity.md diff --git a/docs/lessons/flashing-heart/challenges.md b/olddocs/lessons/flashing-heart/challenges.md similarity index 100% rename from docs/lessons/flashing-heart/challenges.md rename to olddocs/lessons/flashing-heart/challenges.md diff --git a/docs/lessons/flashing-heart/quiz-answers.md b/olddocs/lessons/flashing-heart/quiz-answers.md similarity index 100% rename from docs/lessons/flashing-heart/quiz-answers.md rename to olddocs/lessons/flashing-heart/quiz-answers.md diff --git a/docs/lessons/flashing-heart/quiz.md b/olddocs/lessons/flashing-heart/quiz.md similarity index 100% rename from docs/lessons/flashing-heart/quiz.md rename to olddocs/lessons/flashing-heart/quiz.md diff --git a/docs/lessons/game-counter.md b/olddocs/lessons/game-counter.md similarity index 100% rename from docs/lessons/game-counter.md rename to olddocs/lessons/game-counter.md diff --git a/docs/lessons/game-counter/activity.md b/olddocs/lessons/game-counter/activity.md similarity index 100% rename from docs/lessons/game-counter/activity.md rename to olddocs/lessons/game-counter/activity.md diff --git a/docs/lessons/game-counter/challenges.md b/olddocs/lessons/game-counter/challenges.md similarity index 100% rename from docs/lessons/game-counter/challenges.md rename to olddocs/lessons/game-counter/challenges.md diff --git a/docs/lessons/game-of-chance.md b/olddocs/lessons/game-of-chance.md similarity index 100% rename from docs/lessons/game-of-chance.md rename to olddocs/lessons/game-of-chance.md diff --git a/docs/lessons/game-of-chance/activity.md b/olddocs/lessons/game-of-chance/activity.md similarity index 100% rename from docs/lessons/game-of-chance/activity.md rename to olddocs/lessons/game-of-chance/activity.md diff --git a/docs/lessons/game-of-chance/challenges.md b/olddocs/lessons/game-of-chance/challenges.md similarity index 100% rename from docs/lessons/game-of-chance/challenges.md rename to olddocs/lessons/game-of-chance/challenges.md diff --git a/docs/lessons/glowing-pendulum.md b/olddocs/lessons/glowing-pendulum.md similarity index 100% rename from docs/lessons/glowing-pendulum.md rename to olddocs/lessons/glowing-pendulum.md diff --git a/docs/lessons/glowing-pendulum/activity.md b/olddocs/lessons/glowing-pendulum/activity.md similarity index 100% rename from docs/lessons/glowing-pendulum/activity.md rename to olddocs/lessons/glowing-pendulum/activity.md diff --git a/docs/lessons/glowing-pendulum/challenges.md b/olddocs/lessons/glowing-pendulum/challenges.md similarity index 100% rename from docs/lessons/glowing-pendulum/challenges.md rename to olddocs/lessons/glowing-pendulum/challenges.md diff --git a/docs/lessons/glowing-pendulum/quiz-answers.md b/olddocs/lessons/glowing-pendulum/quiz-answers.md similarity index 100% rename from docs/lessons/glowing-pendulum/quiz-answers.md rename to olddocs/lessons/glowing-pendulum/quiz-answers.md diff --git a/docs/lessons/glowing-pendulum/quiz.md b/olddocs/lessons/glowing-pendulum/quiz.md similarity index 100% rename from docs/lessons/glowing-pendulum/quiz.md rename to olddocs/lessons/glowing-pendulum/quiz.md diff --git a/docs/lessons/glowing-pendulum/tutorial.md b/olddocs/lessons/glowing-pendulum/tutorial.md similarity index 100% rename from docs/lessons/glowing-pendulum/tutorial.md rename to olddocs/lessons/glowing-pendulum/tutorial.md diff --git a/docs/lessons/graphics.md b/olddocs/lessons/graphics.md similarity index 100% rename from docs/lessons/graphics.md rename to olddocs/lessons/graphics.md diff --git a/docs/lessons/guess-the-number.md b/olddocs/lessons/guess-the-number.md similarity index 100% rename from docs/lessons/guess-the-number.md rename to olddocs/lessons/guess-the-number.md diff --git a/docs/lessons/guess-the-number/activity.md b/olddocs/lessons/guess-the-number/activity.md similarity index 100% rename from docs/lessons/guess-the-number/activity.md rename to olddocs/lessons/guess-the-number/activity.md diff --git a/docs/lessons/guess-the-number/challenges.md b/olddocs/lessons/guess-the-number/challenges.md similarity index 100% rename from docs/lessons/guess-the-number/challenges.md rename to olddocs/lessons/guess-the-number/challenges.md diff --git a/docs/lessons/guess-the-number/quiz-answers.md b/olddocs/lessons/guess-the-number/quiz-answers.md similarity index 100% rename from docs/lessons/guess-the-number/quiz-answers.md rename to olddocs/lessons/guess-the-number/quiz-answers.md diff --git a/docs/lessons/guess-the-number/quiz.md b/olddocs/lessons/guess-the-number/quiz.md similarity index 100% rename from docs/lessons/guess-the-number/quiz.md rename to olddocs/lessons/guess-the-number/quiz.md diff --git a/docs/lessons/guess-the-number/tutorial.md b/olddocs/lessons/guess-the-number/tutorial.md similarity index 100% rename from docs/lessons/guess-the-number/tutorial.md rename to olddocs/lessons/guess-the-number/tutorial.md diff --git a/docs/lessons/happy-birthday.md b/olddocs/lessons/happy-birthday.md similarity index 100% rename from docs/lessons/happy-birthday.md rename to olddocs/lessons/happy-birthday.md diff --git a/docs/lessons/happy-birthday/activity.md b/olddocs/lessons/happy-birthday/activity.md similarity index 100% rename from docs/lessons/happy-birthday/activity.md rename to olddocs/lessons/happy-birthday/activity.md diff --git a/docs/lessons/happy-birthday/challenges.md b/olddocs/lessons/happy-birthday/challenges.md similarity index 100% rename from docs/lessons/happy-birthday/challenges.md rename to olddocs/lessons/happy-birthday/challenges.md diff --git a/docs/lessons/headbands.md b/olddocs/lessons/headbands.md similarity index 100% rename from docs/lessons/headbands.md rename to olddocs/lessons/headbands.md diff --git a/docs/lessons/headbands/activity.md b/olddocs/lessons/headbands/activity.md similarity index 100% rename from docs/lessons/headbands/activity.md rename to olddocs/lessons/headbands/activity.md diff --git a/docs/lessons/headbands/quiz-answers.md b/olddocs/lessons/headbands/quiz-answers.md similarity index 100% rename from docs/lessons/headbands/quiz-answers.md rename to olddocs/lessons/headbands/quiz-answers.md diff --git a/docs/lessons/headbands/quiz.md b/olddocs/lessons/headbands/quiz.md similarity index 100% rename from docs/lessons/headbands/quiz.md rename to olddocs/lessons/headbands/quiz.md diff --git a/docs/lessons/hero.md b/olddocs/lessons/hero.md similarity index 100% rename from docs/lessons/hero.md rename to olddocs/lessons/hero.md diff --git a/docs/lessons/hero/activity.md b/olddocs/lessons/hero/activity.md similarity index 100% rename from docs/lessons/hero/activity.md rename to olddocs/lessons/hero/activity.md diff --git a/docs/lessons/looper.md b/olddocs/lessons/looper.md similarity index 100% rename from docs/lessons/looper.md rename to olddocs/lessons/looper.md diff --git a/docs/lessons/looper/activity.md b/olddocs/lessons/looper/activity.md similarity index 100% rename from docs/lessons/looper/activity.md rename to olddocs/lessons/looper/activity.md diff --git a/docs/lessons/looper/challenges.md b/olddocs/lessons/looper/challenges.md similarity index 100% rename from docs/lessons/looper/challenges.md rename to olddocs/lessons/looper/challenges.md diff --git a/docs/lessons/looper/quiz-answers.md b/olddocs/lessons/looper/quiz-answers.md similarity index 100% rename from docs/lessons/looper/quiz-answers.md rename to olddocs/lessons/looper/quiz-answers.md diff --git a/docs/lessons/looper/quiz.md b/olddocs/lessons/looper/quiz.md similarity index 100% rename from docs/lessons/looper/quiz.md rename to olddocs/lessons/looper/quiz.md diff --git a/docs/lessons/loops.md b/olddocs/lessons/loops.md similarity index 100% rename from docs/lessons/loops.md rename to olddocs/lessons/loops.md diff --git a/docs/lessons/love-meter.md b/olddocs/lessons/love-meter.md similarity index 100% rename from docs/lessons/love-meter.md rename to olddocs/lessons/love-meter.md diff --git a/docs/lessons/love-meter/activity.md b/olddocs/lessons/love-meter/activity.md similarity index 100% rename from docs/lessons/love-meter/activity.md rename to olddocs/lessons/love-meter/activity.md diff --git a/docs/lessons/love-meter/challenges.md b/olddocs/lessons/love-meter/challenges.md similarity index 100% rename from docs/lessons/love-meter/challenges.md rename to olddocs/lessons/love-meter/challenges.md diff --git a/docs/lessons/love-meter/quiz-answers.md b/olddocs/lessons/love-meter/quiz-answers.md similarity index 100% rename from docs/lessons/love-meter/quiz-answers.md rename to olddocs/lessons/love-meter/quiz-answers.md diff --git a/docs/lessons/love-meter/quiz.md b/olddocs/lessons/love-meter/quiz.md similarity index 100% rename from docs/lessons/love-meter/quiz.md rename to olddocs/lessons/love-meter/quiz.md diff --git a/docs/lessons/lucky-7.md b/olddocs/lessons/lucky-7.md similarity index 100% rename from docs/lessons/lucky-7.md rename to olddocs/lessons/lucky-7.md diff --git a/docs/lessons/lucky-7/activity.md b/olddocs/lessons/lucky-7/activity.md similarity index 100% rename from docs/lessons/lucky-7/activity.md rename to olddocs/lessons/lucky-7/activity.md diff --git a/docs/lessons/lucky-7/challenges.md b/olddocs/lessons/lucky-7/challenges.md similarity index 100% rename from docs/lessons/lucky-7/challenges.md rename to olddocs/lessons/lucky-7/challenges.md diff --git a/docs/lessons/lucky-7/quiz-answers.md b/olddocs/lessons/lucky-7/quiz-answers.md similarity index 100% rename from docs/lessons/lucky-7/quiz-answers.md rename to olddocs/lessons/lucky-7/quiz-answers.md diff --git a/docs/lessons/lucky-7/quiz.md b/olddocs/lessons/lucky-7/quiz.md similarity index 100% rename from docs/lessons/lucky-7/quiz.md rename to olddocs/lessons/lucky-7/quiz.md diff --git a/docs/lessons/lucky-7/tutorial.md b/olddocs/lessons/lucky-7/tutorial.md similarity index 100% rename from docs/lessons/lucky-7/tutorial.md rename to olddocs/lessons/lucky-7/tutorial.md diff --git a/docs/lessons/magic-8.md b/olddocs/lessons/magic-8.md similarity index 100% rename from docs/lessons/magic-8.md rename to olddocs/lessons/magic-8.md diff --git a/docs/lessons/magic-8/activity.md b/olddocs/lessons/magic-8/activity.md similarity index 100% rename from docs/lessons/magic-8/activity.md rename to olddocs/lessons/magic-8/activity.md diff --git a/docs/lessons/magic-8/challenges.md b/olddocs/lessons/magic-8/challenges.md similarity index 100% rename from docs/lessons/magic-8/challenges.md rename to olddocs/lessons/magic-8/challenges.md diff --git a/docs/lessons/magic-8/quiz-answers.md b/olddocs/lessons/magic-8/quiz-answers.md similarity index 100% rename from docs/lessons/magic-8/quiz-answers.md rename to olddocs/lessons/magic-8/quiz-answers.md diff --git a/docs/lessons/magic-8/quiz.md b/olddocs/lessons/magic-8/quiz.md similarity index 100% rename from docs/lessons/magic-8/quiz.md rename to olddocs/lessons/magic-8/quiz.md diff --git a/docs/lessons/magic-8/tutorial.md b/olddocs/lessons/magic-8/tutorial.md similarity index 100% rename from docs/lessons/magic-8/tutorial.md rename to olddocs/lessons/magic-8/tutorial.md diff --git a/docs/lessons/magic-logo.md b/olddocs/lessons/magic-logo.md similarity index 100% rename from docs/lessons/magic-logo.md rename to olddocs/lessons/magic-logo.md diff --git a/docs/lessons/magic-logo/activity.md b/olddocs/lessons/magic-logo/activity.md similarity index 100% rename from docs/lessons/magic-logo/activity.md rename to olddocs/lessons/magic-logo/activity.md diff --git a/docs/lessons/magic-logo/challenges.md b/olddocs/lessons/magic-logo/challenges.md similarity index 100% rename from docs/lessons/magic-logo/challenges.md rename to olddocs/lessons/magic-logo/challenges.md diff --git a/docs/lessons/magic-logo/quiz-answers.md b/olddocs/lessons/magic-logo/quiz-answers.md similarity index 100% rename from docs/lessons/magic-logo/quiz-answers.md rename to olddocs/lessons/magic-logo/quiz-answers.md diff --git a/docs/lessons/magic-logo/quiz.md b/olddocs/lessons/magic-logo/quiz.md similarity index 100% rename from docs/lessons/magic-logo/quiz.md rename to olddocs/lessons/magic-logo/quiz.md diff --git a/docs/lessons/night-light.md b/olddocs/lessons/night-light.md similarity index 100% rename from docs/lessons/night-light.md rename to olddocs/lessons/night-light.md diff --git a/docs/lessons/night-light/activity.md b/olddocs/lessons/night-light/activity.md similarity index 100% rename from docs/lessons/night-light/activity.md rename to olddocs/lessons/night-light/activity.md diff --git a/docs/lessons/night-light/challenges.md b/olddocs/lessons/night-light/challenges.md similarity index 100% rename from docs/lessons/night-light/challenges.md rename to olddocs/lessons/night-light/challenges.md diff --git a/docs/lessons/night-light/offset-image/activity.md b/olddocs/lessons/night-light/offset-image/activity.md similarity index 100% rename from docs/lessons/night-light/offset-image/activity.md rename to olddocs/lessons/night-light/offset-image/activity.md diff --git a/docs/lessons/night-light/offset-image/quiz-answers.md b/olddocs/lessons/night-light/offset-image/quiz-answers.md similarity index 100% rename from docs/lessons/night-light/offset-image/quiz-answers.md rename to olddocs/lessons/night-light/offset-image/quiz-answers.md diff --git a/docs/lessons/night-light/offset-image/quiz.md b/olddocs/lessons/night-light/offset-image/quiz.md similarity index 100% rename from docs/lessons/night-light/offset-image/quiz.md rename to olddocs/lessons/night-light/offset-image/quiz.md diff --git a/docs/lessons/night-light/quiz-answers.md b/olddocs/lessons/night-light/quiz-answers.md similarity index 100% rename from docs/lessons/night-light/quiz-answers.md rename to olddocs/lessons/night-light/quiz-answers.md diff --git a/docs/lessons/night-light/quiz.md b/olddocs/lessons/night-light/quiz.md similarity index 100% rename from docs/lessons/night-light/quiz.md rename to olddocs/lessons/night-light/quiz.md diff --git a/docs/lessons/pogo.md b/olddocs/lessons/pogo.md similarity index 100% rename from docs/lessons/pogo.md rename to olddocs/lessons/pogo.md diff --git a/docs/lessons/pogo/activity.md b/olddocs/lessons/pogo/activity.md similarity index 100% rename from docs/lessons/pogo/activity.md rename to olddocs/lessons/pogo/activity.md diff --git a/docs/lessons/prank-wifi.md b/olddocs/lessons/prank-wifi.md similarity index 100% rename from docs/lessons/prank-wifi.md rename to olddocs/lessons/prank-wifi.md diff --git a/docs/lessons/prank-wifi/activity.md b/olddocs/lessons/prank-wifi/activity.md similarity index 100% rename from docs/lessons/prank-wifi/activity.md rename to olddocs/lessons/prank-wifi/activity.md diff --git a/docs/lessons/prank-wifi/quiz-answers.md b/olddocs/lessons/prank-wifi/quiz-answers.md similarity index 100% rename from docs/lessons/prank-wifi/quiz-answers.md rename to olddocs/lessons/prank-wifi/quiz-answers.md diff --git a/docs/lessons/prank-wifi/quiz.md b/olddocs/lessons/prank-wifi/quiz.md similarity index 100% rename from docs/lessons/prank-wifi/quiz.md rename to olddocs/lessons/prank-wifi/quiz.md diff --git a/docs/lessons/rotation-animation.md b/olddocs/lessons/rotation-animation.md similarity index 100% rename from docs/lessons/rotation-animation.md rename to olddocs/lessons/rotation-animation.md diff --git a/docs/lessons/rotation-animation/activity.md b/olddocs/lessons/rotation-animation/activity.md similarity index 100% rename from docs/lessons/rotation-animation/activity.md rename to olddocs/lessons/rotation-animation/activity.md diff --git a/docs/lessons/rotation-animation/challenges.md b/olddocs/lessons/rotation-animation/challenges.md similarity index 100% rename from docs/lessons/rotation-animation/challenges.md rename to olddocs/lessons/rotation-animation/challenges.md diff --git a/docs/lessons/rotation-animation/quiz-answers.md b/olddocs/lessons/rotation-animation/quiz-answers.md similarity index 100% rename from docs/lessons/rotation-animation/quiz-answers.md rename to olddocs/lessons/rotation-animation/quiz-answers.md diff --git a/docs/lessons/rotation-animation/quiz.md b/olddocs/lessons/rotation-animation/quiz.md similarity index 100% rename from docs/lessons/rotation-animation/quiz.md rename to olddocs/lessons/rotation-animation/quiz.md diff --git a/docs/lessons/screen-wipe.md b/olddocs/lessons/screen-wipe.md similarity index 100% rename from docs/lessons/screen-wipe.md rename to olddocs/lessons/screen-wipe.md diff --git a/docs/lessons/screen-wipe/activity.md b/olddocs/lessons/screen-wipe/activity.md similarity index 100% rename from docs/lessons/screen-wipe/activity.md rename to olddocs/lessons/screen-wipe/activity.md diff --git a/docs/lessons/screen-wipe/challenges.md b/olddocs/lessons/screen-wipe/challenges.md similarity index 100% rename from docs/lessons/screen-wipe/challenges.md rename to olddocs/lessons/screen-wipe/challenges.md diff --git a/docs/lessons/screen-wipe/quiz-answers.md b/olddocs/lessons/screen-wipe/quiz-answers.md similarity index 100% rename from docs/lessons/screen-wipe/quiz-answers.md rename to olddocs/lessons/screen-wipe/quiz-answers.md diff --git a/docs/lessons/screen-wipe/quiz.md b/olddocs/lessons/screen-wipe/quiz.md similarity index 100% rename from docs/lessons/screen-wipe/quiz.md rename to olddocs/lessons/screen-wipe/quiz.md diff --git a/docs/lessons/seismograph.md b/olddocs/lessons/seismograph.md similarity index 100% rename from docs/lessons/seismograph.md rename to olddocs/lessons/seismograph.md diff --git a/docs/lessons/seismograph/activity.md b/olddocs/lessons/seismograph/activity.md similarity index 100% rename from docs/lessons/seismograph/activity.md rename to olddocs/lessons/seismograph/activity.md diff --git a/docs/lessons/seismograph/challenge.md b/olddocs/lessons/seismograph/challenge.md similarity index 100% rename from docs/lessons/seismograph/challenge.md rename to olddocs/lessons/seismograph/challenge.md diff --git a/docs/lessons/smiley.md b/olddocs/lessons/smiley.md similarity index 100% rename from docs/lessons/smiley.md rename to olddocs/lessons/smiley.md diff --git a/docs/lessons/smiley/activity.md b/olddocs/lessons/smiley/activity.md similarity index 100% rename from docs/lessons/smiley/activity.md rename to olddocs/lessons/smiley/activity.md diff --git a/docs/lessons/smiley/challenges.md b/olddocs/lessons/smiley/challenges.md similarity index 100% rename from docs/lessons/smiley/challenges.md rename to olddocs/lessons/smiley/challenges.md diff --git a/docs/lessons/smiley/quiz-answers.md b/olddocs/lessons/smiley/quiz-answers.md similarity index 100% rename from docs/lessons/smiley/quiz-answers.md rename to olddocs/lessons/smiley/quiz-answers.md diff --git a/docs/lessons/smiley/quiz.md b/olddocs/lessons/smiley/quiz.md similarity index 100% rename from docs/lessons/smiley/quiz.md rename to olddocs/lessons/smiley/quiz.md diff --git a/docs/lessons/snowflake-fall.md b/olddocs/lessons/snowflake-fall.md similarity index 100% rename from docs/lessons/snowflake-fall.md rename to olddocs/lessons/snowflake-fall.md diff --git a/docs/lessons/snowflake-fall/activity.md b/olddocs/lessons/snowflake-fall/activity.md similarity index 100% rename from docs/lessons/snowflake-fall/activity.md rename to olddocs/lessons/snowflake-fall/activity.md diff --git a/docs/lessons/snowflake-fall/challenges.md b/olddocs/lessons/snowflake-fall/challenges.md similarity index 100% rename from docs/lessons/snowflake-fall/challenges.md rename to olddocs/lessons/snowflake-fall/challenges.md diff --git a/docs/lessons/snowflake-fall/quiz-answers.md b/olddocs/lessons/snowflake-fall/quiz-answers.md similarity index 100% rename from docs/lessons/snowflake-fall/quiz-answers.md rename to olddocs/lessons/snowflake-fall/quiz-answers.md diff --git a/docs/lessons/snowflake-fall/quiz.md b/olddocs/lessons/snowflake-fall/quiz.md similarity index 100% rename from docs/lessons/snowflake-fall/quiz.md rename to olddocs/lessons/snowflake-fall/quiz.md diff --git a/docs/lessons/speed-button.md b/olddocs/lessons/speed-button.md similarity index 100% rename from docs/lessons/speed-button.md rename to olddocs/lessons/speed-button.md diff --git a/docs/lessons/speed-button/activity.md b/olddocs/lessons/speed-button/activity.md similarity index 100% rename from docs/lessons/speed-button/activity.md rename to olddocs/lessons/speed-button/activity.md diff --git a/docs/lessons/speed-button/quiz-answers.md b/olddocs/lessons/speed-button/quiz-answers.md similarity index 100% rename from docs/lessons/speed-button/quiz-answers.md rename to olddocs/lessons/speed-button/quiz-answers.md diff --git a/docs/lessons/speed-button/quiz.md b/olddocs/lessons/speed-button/quiz.md similarity index 100% rename from docs/lessons/speed-button/quiz.md rename to olddocs/lessons/speed-button/quiz.md diff --git a/docs/lessons/spinner.md b/olddocs/lessons/spinner.md similarity index 100% rename from docs/lessons/spinner.md rename to olddocs/lessons/spinner.md diff --git a/docs/lessons/spinner/activity.md b/olddocs/lessons/spinner/activity.md similarity index 100% rename from docs/lessons/spinner/activity.md rename to olddocs/lessons/spinner/activity.md diff --git a/docs/lessons/spinner/challenges.md b/olddocs/lessons/spinner/challenges.md similarity index 100% rename from docs/lessons/spinner/challenges.md rename to olddocs/lessons/spinner/challenges.md diff --git a/docs/lessons/spinner/quiz-answers.md b/olddocs/lessons/spinner/quiz-answers.md similarity index 100% rename from docs/lessons/spinner/quiz-answers.md rename to olddocs/lessons/spinner/quiz-answers.md diff --git a/docs/lessons/spinner/quiz.md b/olddocs/lessons/spinner/quiz.md similarity index 100% rename from docs/lessons/spinner/quiz.md rename to olddocs/lessons/spinner/quiz.md diff --git a/docs/lessons/stem.md b/olddocs/lessons/stem.md similarity index 100% rename from docs/lessons/stem.md rename to olddocs/lessons/stem.md diff --git a/docs/lessons/strobe-light.md b/olddocs/lessons/strobe-light.md similarity index 100% rename from docs/lessons/strobe-light.md rename to olddocs/lessons/strobe-light.md diff --git a/docs/lessons/strobe-light/activity.md b/olddocs/lessons/strobe-light/activity.md similarity index 100% rename from docs/lessons/strobe-light/activity.md rename to olddocs/lessons/strobe-light/activity.md diff --git a/docs/lessons/strobe-light/challenges.md b/olddocs/lessons/strobe-light/challenges.md similarity index 100% rename from docs/lessons/strobe-light/challenges.md rename to olddocs/lessons/strobe-light/challenges.md diff --git a/docs/lessons/strobe-light/quiz-answers.md b/olddocs/lessons/strobe-light/quiz-answers.md similarity index 100% rename from docs/lessons/strobe-light/quiz-answers.md rename to olddocs/lessons/strobe-light/quiz-answers.md diff --git a/docs/lessons/strobe-light/quiz.md b/olddocs/lessons/strobe-light/quiz.md similarity index 100% rename from docs/lessons/strobe-light/quiz.md rename to olddocs/lessons/strobe-light/quiz.md diff --git a/docs/lessons/teach.md b/olddocs/lessons/teach.md similarity index 100% rename from docs/lessons/teach.md rename to olddocs/lessons/teach.md diff --git a/docs/lessons/temperature.md b/olddocs/lessons/temperature.md similarity index 100% rename from docs/lessons/temperature.md rename to olddocs/lessons/temperature.md diff --git a/docs/lessons/temperature/activity.md b/olddocs/lessons/temperature/activity.md similarity index 100% rename from docs/lessons/temperature/activity.md rename to olddocs/lessons/temperature/activity.md diff --git a/docs/lessons/temperature/challenges.md b/olddocs/lessons/temperature/challenges.md similarity index 100% rename from docs/lessons/temperature/challenges.md rename to olddocs/lessons/temperature/challenges.md diff --git a/docs/lessons/truth-or-dare.md b/olddocs/lessons/truth-or-dare.md similarity index 100% rename from docs/lessons/truth-or-dare.md rename to olddocs/lessons/truth-or-dare.md diff --git a/docs/lessons/truth-or-dare/activity.md b/olddocs/lessons/truth-or-dare/activity.md similarity index 100% rename from docs/lessons/truth-or-dare/activity.md rename to olddocs/lessons/truth-or-dare/activity.md diff --git a/docs/lessons/truth-or-dare/challenges.md b/olddocs/lessons/truth-or-dare/challenges.md similarity index 100% rename from docs/lessons/truth-or-dare/challenges.md rename to olddocs/lessons/truth-or-dare/challenges.md diff --git a/docs/lessons/truth-or-dare/quiz-answers.md b/olddocs/lessons/truth-or-dare/quiz-answers.md similarity index 100% rename from docs/lessons/truth-or-dare/quiz-answers.md rename to olddocs/lessons/truth-or-dare/quiz-answers.md diff --git a/docs/lessons/truth-or-dare/quiz.md b/olddocs/lessons/truth-or-dare/quiz.md similarity index 100% rename from docs/lessons/truth-or-dare/quiz.md rename to olddocs/lessons/truth-or-dare/quiz.md diff --git a/docs/lessons/truth-or-dare/tutorial.md b/olddocs/lessons/truth-or-dare/tutorial.md similarity index 100% rename from docs/lessons/truth-or-dare/tutorial.md rename to olddocs/lessons/truth-or-dare/tutorial.md diff --git a/docs/lessons/variables.md b/olddocs/lessons/variables.md similarity index 100% rename from docs/lessons/variables.md rename to olddocs/lessons/variables.md diff --git a/docs/lessons/zoomer.md b/olddocs/lessons/zoomer.md similarity index 100% rename from docs/lessons/zoomer.md rename to olddocs/lessons/zoomer.md diff --git a/docs/lessons/zoomer/activity.md b/olddocs/lessons/zoomer/activity.md similarity index 100% rename from docs/lessons/zoomer/activity.md rename to olddocs/lessons/zoomer/activity.md diff --git a/docs/lessons/zoomer/challenges.md b/olddocs/lessons/zoomer/challenges.md similarity index 100% rename from docs/lessons/zoomer/challenges.md rename to olddocs/lessons/zoomer/challenges.md diff --git a/docs/lessons/zoomer/quiz-answers.md b/olddocs/lessons/zoomer/quiz-answers.md similarity index 100% rename from docs/lessons/zoomer/quiz-answers.md rename to olddocs/lessons/zoomer/quiz-answers.md diff --git a/docs/lessons/zoomer/quiz.md b/olddocs/lessons/zoomer/quiz.md similarity index 100% rename from docs/lessons/zoomer/quiz.md rename to olddocs/lessons/zoomer/quiz.md diff --git a/pxtarget.json b/pxtarget.json index 5195266b..81a2d085 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -108,6 +108,10 @@ { "name": "Reference", "path": "/reference" + }, + { + "name": "Device", + "path": "/device" } ], "sideDoc": "getting-started"