Skip to content

Commit 76f7239

Browse files
authored
Temp revert code card conversion (#4304)
* Revert "update files that failed to properly upload to crowdin (#4301)" This reverts commit dd7e361. * Revert "remove extra space on snippet section (#4298)" This reverts commit 427c4ce. * Revert "Markdown codecard conversions (#4288)" This reverts commit 6fa4c1e.
1 parent dd7e361 commit 76f7239

23 files changed

+2178
-1923
lines changed

docs/behind-the-makecode-hardware.md

+58-48
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,63 @@
22

33
* [Watch Playlist on Youtube](https://www.youtube.com/watch?v=qqBmvHD5bCw&list=PLMMBk9hE-SeqDYtw9pGNPsQ10V_EGMyGe)
44

5-
65
## Videos
76

8-
### ~ codecard
9-
* name: LEDs
10-
* description: See how these amazing little devices create light in this fun and illuminating video.
11-
* youTubeId: qqBmvHD5bCw
12-
* imageUrl: /static/mb/behindhardware/leds.jpg
13-
---
14-
* name: Buttons
15-
* description: Buttons let your fingers talk to the hardware, see how they work in this video.
16-
* youTubeId: t_Qujjd_38o
17-
* imageUrl: /static/mb/behindhardware/buttons.jpg
18-
---
19-
* name: Accelerometer
20-
* description: Find out how the accelerometer detects motion in this fun video.
21-
* youTubeId: byngcwjO51U
22-
* imageUrl: /static/mb/behindhardware/accelerometer.jpg
23-
---
24-
* name: Light Sensor
25-
* description: Your micro:bit can see the light, how does it do that?
26-
* youTubeId: TKhCr-dQMBY
27-
* imageUrl: /static/mb/behindhardware/light-sensor.jpg
28-
---
29-
* name: Temperature Sensor
30-
* description: One of the cool features on your board is the temperature sensor, how does it feel the heat?
31-
* youTubeId: _T4N8O9xsMA
32-
* imageUrl: /static/mb/behindhardware/temperature-sensor.jpg
33-
---
34-
* name: Pin Pressed
35-
* description: Touching the pins works like a button, is that magic or what?
36-
* youTubeId: GEpZrvbsO7o
37-
* imageUrl: /static/mb/behindhardware/pin-pressed.jpg
38-
---
39-
* name: Radio
40-
* description: Your board can communticate by radio, how does it do that?
41-
* youTubeId: Re3H2ISfQE8
42-
* imageUrl: /static/mb/behindhardware/radio.jpg
43-
---
44-
* name: Servo Motor
45-
* description: See how motors work and how you can use the @boardname@ to run servos.
46-
* youTubeId: okxooamdAP4
47-
* imageUrl: /static/mb/behindhardware/servo.jpg
48-
---
49-
* name: Speakers
50-
* description: Find out how speakers make sound and how you can connect them to your board.
51-
* youTubeId: cxfPNc4Wefo
52-
* imageUrl: /static/mb/behindhardware/speakers.jpg
53-
---
54-
### ~
7+
```codecard
8+
[
9+
{
10+
"name": "LEDs",
11+
"description": "See how these amazing little devices create light in this fun and illuminating video.",
12+
"youTubeId": "qqBmvHD5bCw",
13+
"imageUrl": "/static/mb/behindhardware/leds.jpg"
14+
},
15+
{
16+
"name": "Buttons",
17+
"description": "Buttons let your fingers talk to the hardware, see how they work in this video.",
18+
"youTubeId": "t_Qujjd_38o",
19+
"imageUrl": "/static/mb/behindhardware/buttons.jpg"
20+
},
21+
{
22+
"name": "Accelerometer",
23+
"description": "Find out how the accelerometer detects motion in this fun video.",
24+
"youTubeId": "byngcwjO51U",
25+
"imageUrl": "/static/mb/behindhardware/accelerometer.jpg"
26+
},
27+
{
28+
"name": "Light Sensor",
29+
"description": "Your micro:bit can see the light, how does it do that?",
30+
"youTubeId": "TKhCr-dQMBY",
31+
"imageUrl": "/static/mb/behindhardware/light-sensor.jpg"
32+
},
33+
{
34+
"name": "Temperature Sensor",
35+
"description": "One of the cool features on your board is the temperature sensor, how does it feel the heat?",
36+
"youTubeId": "_T4N8O9xsMA",
37+
"imageUrl": "/static/mb/behindhardware/temperature-sensor.jpg"
38+
},
39+
{
40+
"name": "Pin Pressed",
41+
"description": "Touching the pins works like a button, is that magic or what?",
42+
"youTubeId": "GEpZrvbsO7o",
43+
"imageUrl": "/static/mb/behindhardware/pin-pressed.jpg"
44+
},
45+
{
46+
"name": "Radio",
47+
"description": "Your board can communticate by radio, how does it do that?",
48+
"youTubeId": "Re3H2ISfQE8",
49+
"imageUrl": "/static/mb/behindhardware/radio.jpg"
50+
},
51+
{
52+
"name": "Servo Motor",
53+
"description": "See how motors work and how you can use the @boardname@ to run servos.",
54+
"youTubeId": "okxooamdAP4",
55+
"imageUrl": "/static/mb/behindhardware/servo.jpg"
56+
},
57+
{
58+
"name": "Speakers",
59+
"description": "Find out how speakers make sound and how you can connect them to your board.",
60+
"youTubeId": "cxfPNc4Wefo",
61+
"imageUrl": "/static/mb/behindhardware/speakers.jpg"
62+
}
63+
]
64+
```

docs/block-gallery.md

+45-42
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,51 @@ Gallery of the blocks and their images for @boardname@.
44

55
## Categories
66

7-
### ~ codecard
8-
* name: Basic
9-
* description: Basic display and control blocks.
10-
* url: /block-gallery#basic
11-
---
12-
* name: Input
13-
* description: Events and data from buttons and sensors.
14-
* url: /block-gallery#input
15-
---
16-
* name: Music
17-
* description: Generation of tones and melodies.
18-
* url: /block-gallery#music
19-
---
20-
* name: Led
21-
* description: Display information and images on the LED screen.
22-
* url: /block-gallery#led
23-
---
24-
* name: Radio
25-
* description: Transmit and receive data with the radio.
26-
* url: /block-gallery#radio
27-
---
28-
* name: Game
29-
* description: Control sprites and keep score in games.
30-
* url: /block-gallery#game
31-
---
32-
* name: Images
33-
* description: Create pixel images to display on the LED screen.
34-
* url: /block-gallery#images
35-
---
36-
* name: Pins
37-
* description: Read from and write data to the pins on the board.
38-
* url: /block-gallery#pins
39-
---
40-
* name: Serial
41-
* description: Use the serial connection to read and write data.
42-
* url: /block-gallery#serial
43-
---
44-
* name: Control
45-
* description: Use timers and custom events in programs.
46-
* url: /block-gallery#control
47-
---
48-
### ~
7+
```codecard
8+
[
9+
{
10+
"name": "Basic",
11+
"description": "Basic display and control blocks.",
12+
"url": "/block-gallery#basic"
13+
},{
14+
"name": "Input",
15+
"description": "Events and data from buttons and sensors.",
16+
"url": "/block-gallery#input"
17+
},{
18+
"name": "Music",
19+
"description": "Generation of tones and melodies.",
20+
"url": "/block-gallery#music"
21+
},{
22+
"name": "Led",
23+
"description": "Display information and images on the LED screen.",
24+
"url": "/block-gallery#led"
25+
},{
26+
"name": "Radio",
27+
"description": "Transmit and receive data with the radio.",
28+
"url": "/block-gallery#radio"
29+
},{
30+
"name": "Game",
31+
"description": "Control sprites and keep score in games.",
32+
"url": "/block-gallery#game"
33+
},{
34+
"name": "Images",
35+
"description": "Create pixel images to display on the LED screen.",
36+
"url": "/block-gallery#images"
37+
},{
38+
"name": "Pins",
39+
"description": "Read from and write data to the pins on the board.",
40+
"url": "/block-gallery#pins"
41+
},{
42+
"name": "Serial",
43+
"description": "Use the serial connection to read and write data.",
44+
"url": "/block-gallery#serial"
45+
},{
46+
"name": "Control",
47+
"description": "Use timers and custom events in programs.",
48+
"url": "/block-gallery#control"
49+
}
50+
]
51+
```
4952

5053
## Basic
5154

docs/coding-cards.md

+56-44
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,65 @@
22

33
## Math
44

5-
### ~ codecard
6-
* name: Make a Digital Balance
7-
* description: Use the accelerometer to find the balance point
8-
* url: https://drive.google.com/open?id=1Tl80unLA5_Zwkymh1flSbwuZbCIqSOxQ
9-
* imageUrl: /static/coding-cards/balance-card.jpg
10-
---
11-
* name: Make a Digital Dice
12-
* description: Create a shakeable dice that uses the accelerometer
13-
* url: https://drive.google.com/open?id=1iW75z-7maJ3qixwv9Yuj6rA5U387qVpg
14-
* imageUrl: /static/coding-cards/dice-card.jpg
15-
---
16-
* name: Make a Trundle Wheel
17-
* description: Build trundle wheel that measures a distance travelled
18-
* url: https://drive.google.com/open?id=1hzpBN5aqzYMvm7s_W6RQr9u4eFx1f6LK
19-
* imageUrl: /static/coding-cards/trundlewheel-card.jpg
20-
---
21-
### ~
5+
```codecard
6+
[
7+
{
8+
"name": "Make a Digital Balance",
9+
"description": "Use the accelerometer to find the balance point",
10+
"url": "https://drive.google.com/open?id=1Tl80unLA5_Zwkymh1flSbwuZbCIqSOxQ",
11+
"imageUrl": "/static/coding-cards/balance-card.jpg"
12+
},
13+
{
14+
"name": "Make a Digital Dice",
15+
"description": "Create a shakeable dice that uses the accelerometer",
16+
"url": "https://drive.google.com/open?id=1iW75z-7maJ3qixwv9Yuj6rA5U387qVpg",
17+
"imageUrl": "/static/coding-cards/dice-card.jpg"
18+
},
19+
{
20+
"name": "Make a Trundle Wheel",
21+
"description": "Build trundle wheel that measures a distance travelled",
22+
"url": "https://drive.google.com/open?id=1hzpBN5aqzYMvm7s_W6RQr9u4eFx1f6LK",
23+
"imageUrl": "/static/coding-cards/trundlewheel-card.jpg"
24+
}
25+
]
26+
```
2227

2328
## Games
2429

25-
### ~ codecard
26-
* name: Nervous
27-
* description: Carefully move the ring but don't touch the wire!
28-
* url: https://drive.google.com/open?id=1BJCkrdMoojU-ojQcOluawecw5W6kcdnZ
29-
* imageUrl: /static/coding-cards/games-nervous.jpg
30-
---
31-
* name: Reaction
32-
* description: Which player has the fastest reaction time?
33-
* url: https://drive.google.com/open?id=1kfZKLflUrPoeveboo1LpubgaJSsFkDgY
34-
* imageUrl: /static/coding-cards/games-reaction.jpg
35-
---
36-
* name: Shake the Bottle
37-
* description: Shake the bottle until the fizz inside pops the lid
38-
* url: https://drive.google.com/open?id=1lTZbrVP5UDG7IZeY1Kod8gw4VNcldzzZ
39-
* imageUrl: /static/coding-cards/games-shake.jpg
40-
---
41-
* name: Sprite Based Games
42-
* description: Try this game to see how to make sprite based games
43-
* url: https://drive.google.com/open?id=1p1fm9SlFVr8NQ9ctQvhZ7H-okfxXhabW
44-
* imageUrl: /static/coding-cards/games-sprite.jpg
45-
---
46-
* name: Zen
47-
* description: Strike a pose but keep very still, wiggle too much and your out!
48-
* url: https://drive.google.com/open?id=14JBWsx-K489GjSgvMX4kslxaHKYfdBtj
49-
* imageUrl: /static/coding-cards/games-zen.jpg
50-
---
51-
### ~
30+
```codecard
31+
[
32+
{
33+
"name": "Nervous",
34+
"description": "Carefully move the ring but don't touch the wire!",
35+
"url": "https://drive.google.com/open?id=1BJCkrdMoojU-ojQcOluawecw5W6kcdnZ",
36+
"imageUrl": "/static/coding-cards/games-nervous.jpg"
37+
},
38+
{
39+
"name": "Reaction",
40+
"description": "Which player has the fastest reaction time?",
41+
"url": "https://drive.google.com/open?id=1kfZKLflUrPoeveboo1LpubgaJSsFkDgY",
42+
"imageUrl": "/static/coding-cards/games-reaction.jpg"
43+
},
44+
{
45+
"name": "Shake the Bottle",
46+
"description": "Shake the bottle until the fizz inside pops the lid",
47+
"url": "https://drive.google.com/open?id=1lTZbrVP5UDG7IZeY1Kod8gw4VNcldzzZ",
48+
"imageUrl": "/static/coding-cards/games-shake.jpg"
49+
},
50+
{
51+
"name": "Sprite Based Games",
52+
"description": "Try this game to see how to make sprite based games",
53+
"url": "https://drive.google.com/open?id=1p1fm9SlFVr8NQ9ctQvhZ7H-okfxXhabW",
54+
"imageUrl": "/static/coding-cards/games-sprite.jpg"
55+
},
56+
{
57+
"name": "Zen",
58+
"description": "Strike a pose but keep very still, wiggle too much and your out!",
59+
"url": "https://drive.google.com/open?id=14JBWsx-K489GjSgvMX4kslxaHKYfdBtj",
60+
"imageUrl": "/static/coding-cards/games-zen.jpg"
61+
}
62+
]
63+
```
5264

5365
## See Also
5466

0 commit comments

Comments
 (0)