pxt-microbit 8.1.0 → 8.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/block-tests.js +1 -1
- package/built/hexcache/{0c10f400cc51ea9dd8b7659e10af1569048be482a9d57975d73beb230429b3f3.hex → 22204ac874977e7f341ae512133a0fd9812fb83074c8b43203d5dbd31e302f6f.hex} +8870 -8860
- package/built/hexcache/{e78763b09e8b249524c2c7cfaa96f396c1adc4c134e22b272b8e90f281cc0625.hex → dd21306098cc556ce45b1eeacf4fa5026dfce43fc16fe5adecf18d03820a1c6c.hex} +9574 -9564
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.js +1 -1
- package/built/targetlight.json +1 -1
- package/built/theme.json +1 -1
- package/built/web/blockly.css +1 -1
- package/built/web/react-common-authcode.css +1 -1
- package/built/web/react-common-multiplayer.css +1 -1
- package/built/web/react-common-skillmap.css +1 -1
- package/built/web/rtlblockly.css +1 -1
- package/built/web/rtlreact-common-authcode.css +1 -1
- package/built/web/rtlreact-common-multiplayer.css +1 -1
- package/built/web/rtlreact-common-skillmap.css +1 -1
- package/built/web/rtlsemantic.css +3 -3
- package/built/web/semantic.css +3 -3
- package/docs/courses/csintro/arrays.md +3 -0
- package/docs/courses/csintro/making.md +3 -3
- package/docs/courses/csintro-educator.md +15 -15
- package/docs/courses/csintro.md +2 -1
- package/docs/device/serial.md +1 -1
- package/docs/extensions/extension-gallery.md +23 -3
- package/docs/jacdac.md +7 -7
- package/docs/projects/SUMMARY.md +7 -7
- package/docs/projects/v2-morse-chat.md +2 -2
- package/package.json +3 -4
- package/pxtarget.json +8 -11
- package/targetconfig.json +33 -149
- package/docs/test/courses/csintro.md +0 -62
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
This lesson introduces the fundamental concept of storing and retrieving data in an ordered fashion using Arrays. We'll also look at JavaScript as an alternate way of creating and modifying code. We'll look at the structure of a Melody as a list of notes.
|
|
6
6
|
|
|
7
7
|
## Lesson objectives
|
|
8
|
+
|
|
8
9
|
You will...
|
|
10
|
+
|
|
9
11
|
* Explain the steps they would take to sort a series of numbers.
|
|
10
12
|
* Recognize three common sorting algorithms.
|
|
11
13
|
* Practice creating Arrays.
|
|
@@ -14,6 +16,7 @@ You will...
|
|
|
14
16
|
* Demonstrate understanding and apply skills by creating a musical instrument that uses a micro:bit and a program that correctly and effectively uses Arrays to store data.
|
|
15
17
|
|
|
16
18
|
## Lesson structure
|
|
19
|
+
|
|
17
20
|
* Introduction: Arrays
|
|
18
21
|
* Unplugged Activity: Different sorts
|
|
19
22
|
* micro:bit Activity: Headband charades, Starry Starry Night
|
|
@@ -15,9 +15,9 @@ You will...
|
|
|
15
15
|
|
|
16
16
|
## Lesson plan
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
1. [**Introduction**: The micro:bit is for making](/courses/csintro/making/introduction)
|
|
19
|
+
2. [**Activity**: MakeCode download](/courses/csintro/making/activity)
|
|
20
|
+
3. [**Project**: micro:pet (including mods and rubric)](/courses/csintro/making/project)
|
|
21
21
|
|
|
22
22
|
## Related standards
|
|
23
23
|
|
|
@@ -26,7 +26,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
26
26
|
* [Course overview booklet (PDF)](https://onedrive.live.com/?authkey=%21ALunv1kXkaA0RLg&cid=416406873CB120AB&id=416406873CB120AB%213746&parId=416406873CB120AB%21520&o=OneUp)
|
|
27
27
|
* [Curriculum overview guide](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3749&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690921127&OR=ItemsView)
|
|
28
28
|
* [Curriculum overview guide (PDF)](https://onedrive.live.com/?authkey=%21ALunv1kXkaA0RLg&cid=416406873CB120AB&id=416406873CB120AB%213748&parId=416406873CB120AB%21520&o=OneUp)
|
|
29
|
-
* [Educator preparation video](https://
|
|
29
|
+
* [Educator preparation video](https://youtu.be/q6x_tj5DazY)
|
|
30
30
|
* [Educator preparation video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3750&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690587199&OR=ItemsView)
|
|
31
31
|
|
|
32
32
|
### [Standards and assessments](https://onedrive.live.com/?authkey=%21ALunv1kXkaA0RLg&id=416406873CB120AB%21521&cid=416406873CB120AB)
|
|
@@ -44,7 +44,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
44
44
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!556&parId=416406873CB120AB!542&authkey=!AM4rnlyFUI-sP9Y&app=PowerPoint)
|
|
45
45
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!554&parId=416406873CB120AB!542&authkey=!AM4rnlyFUI-sP9Y&app=Word)
|
|
46
46
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!555&parId=416406873CB120AB!542&authkey=!AM4rnlyFUI-sP9Y&app=Word)
|
|
47
|
-
* [Quick start video](https://
|
|
47
|
+
* [Quick start video](https://youtu.be/J9aRFvBB7T4)
|
|
48
48
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3753&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690011517&OR=ItemsView)
|
|
49
49
|
|
|
50
50
|
#### [Unit 2 - Algorithms](https://1drv.ms/f/s!AqsgsTyHBmRBhB9mHogz24TrrXvd)
|
|
@@ -52,7 +52,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
52
52
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!560&parId=416406873CB120AB!543&authkey=!AGYeiDPbhOute90&app=PowerPoint)
|
|
53
53
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!558&parId=416406873CB120AB!543&authkey=!AGYeiDPbhOute90&app=Word)
|
|
54
54
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!559&parId=416406873CB120AB!543&authkey=!AGYeiDPbhOute90&app=Word)
|
|
55
|
-
* [Quick start video](https://
|
|
55
|
+
* [Quick start video](https://youtu.be/xfQ8f9rpNXo)
|
|
56
56
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3755&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690051176&OR=ItemsView)
|
|
57
57
|
|
|
58
58
|
#### [Unit 3 - Variables](https://1drv.ms/f/s!AqsgsTyHBmRBhCA3Amk-zPfMl-7q)
|
|
@@ -60,7 +60,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
60
60
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!564&parId=416406873CB120AB!544&authkey=!ADcCaT7M98yX7uo&app=PowerPoint)
|
|
61
61
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!562&parId=416406873CB120AB!544&authkey=!ADcCaT7M98yX7uo&app=Word)
|
|
62
62
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!563&parId=416406873CB120AB!544&authkey=!ADcCaT7M98yX7uo&app=Word)
|
|
63
|
-
* [Quick start video](https://
|
|
63
|
+
* [Quick start video](https://youtu.be/bndvYqROWBI)
|
|
64
64
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3756&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690101309&OR=ItemsView)
|
|
65
65
|
|
|
66
66
|
#### [Unit 4 - Conditionals](https://1drv.ms/f/s!AqsgsTyHBmRBhCEhD98j9NcTVsYj)
|
|
@@ -68,7 +68,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
68
68
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!568&parId=416406873CB120AB!545&authkey=!ACEP3yP01xNWxiM&app=PowerPoint)
|
|
69
69
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!566&parId=416406873CB120AB!545&authkey=!ACEP3yP01xNWxiM&app=Word)
|
|
70
70
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!567&parId=416406873CB120AB!545&authkey=!ACEP3yP01xNWxiM&app=Word)
|
|
71
|
-
* [Quick start video](https://
|
|
71
|
+
* [Quick start video](https://youtu.be/pQsk4u5oYGU)
|
|
72
72
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3757&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690162923&OR=ItemsView)
|
|
73
73
|
|
|
74
74
|
#### [Unit 5 - Iteration](https://1drv.ms/f/s!AqsgsTyHBmRBhCKvf1jSYdQITB2h)
|
|
@@ -76,7 +76,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
76
76
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!572&parId=416406873CB120AB!546&authkey=!AK9_WNJh1AhMHaE&app=PowerPoint)
|
|
77
77
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!570&parId=416406873CB120AB!546&authkey=!AK9_WNJh1AhMHaE&app=Word)
|
|
78
78
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!571&parId=416406873CB120AB!546&authkey=!AK9_WNJh1AhMHaE&app=Word)
|
|
79
|
-
* [Quick start video](https://
|
|
79
|
+
* [Quick start video](https://youtu.be/MsidOfiVvyU)
|
|
80
80
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3758&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690193781&OR=ItemsView)
|
|
81
81
|
|
|
82
82
|
#### [Unit 6 - Mini Project](https://1drv.ms/f/s!AqsgsTyHBmRBhCNesBFAojwe-bor)
|
|
@@ -84,7 +84,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
84
84
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!576&parId=416406873CB120AB!547&authkey=!AF6wEUCiPB75uis&app=PowerPoint)
|
|
85
85
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!574&parId=416406873CB120AB!547&authkey=!AF6wEUCiPB75uis&app=Word)
|
|
86
86
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!575&parId=416406873CB120AB!547&authkey=!AF6wEUCiPB75uis&app=Word)
|
|
87
|
-
* [Quick start video](https://
|
|
87
|
+
* [Quick start video](https://youtu.be/s3bN64D_p3Q)
|
|
88
88
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3759&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690265627&OR=ItemsView)
|
|
89
89
|
|
|
90
90
|
#### [Unit 7 - Coordinates](https://1drv.ms/f/s!AqsgsTyHBmRBhCTASW4OemOKnMEv)
|
|
@@ -92,7 +92,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
92
92
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!580&parId=416406873CB120AB!548&authkey=!AMBJbg56Y4qcwS8&app=PowerPoint)
|
|
93
93
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!578&parId=416406873CB120AB!548&authkey=!AMBJbg56Y4qcwS8&app=Word)
|
|
94
94
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!579&parId=416406873CB120AB!548&authkey=!AMBJbg56Y4qcwS8&app=Word)
|
|
95
|
-
* [Quick start video](https://
|
|
95
|
+
* [Quick start video](https://youtu.be/FIofhOP8Ftk)
|
|
96
96
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3760&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690325195&OR=ItemsView)
|
|
97
97
|
|
|
98
98
|
#### [Unit 8 - Booleans](https://1drv.ms/f/s!AqsgsTyHBmRBhCVCoNzaW1aTHQzm)
|
|
@@ -100,7 +100,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
100
100
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!584&parId=416406873CB120AB!549&authkey=!AEKg3NpbVpMdDOY&app=PowerPoint)
|
|
101
101
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!582&parId=416406873CB120AB!549&authkey=!AEKg3NpbVpMdDOY&app=Word)
|
|
102
102
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!583&parId=416406873CB120AB!549&authkey=!AEKg3NpbVpMdDOY&app=Word)
|
|
103
|
-
* [Quick start video](https://
|
|
103
|
+
* [Quick start video](https://youtu.be/omi1r8rggpE)
|
|
104
104
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3761&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690357689&OR=ItemsView)
|
|
105
105
|
|
|
106
106
|
#### [Unit 9 - Binary](https://1drv.ms/f/s!AqsgsTyHBmRBhCaJTPDfFM9PABs1)
|
|
@@ -108,7 +108,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
108
108
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!588&parId=416406873CB120AB!550&authkey=!AIlM8N8Uz08AGzU&app=PowerPoint)
|
|
109
109
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!586&parId=416406873CB120AB!550&authkey=!AIlM8N8Uz08AGzU&app=Word)
|
|
110
110
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!587&parId=416406873CB120AB!550&authkey=!AIlM8N8Uz08AGzU&app=Word)
|
|
111
|
-
* [Quick start video](https://
|
|
111
|
+
* [Quick start video](https://youtu.be/nVUW_yYoTdU)
|
|
112
112
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3763&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690413779&OR=ItemsView)
|
|
113
113
|
|
|
114
114
|
#### [Unit 10 - Radio](https://1drv.ms/f/s!AqsgsTyHBmRBhCeq5h3BbHNmCpGA)
|
|
@@ -116,7 +116,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
116
116
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!592&parId=416406873CB120AB!551&authkey=!AKrmHcFsc2YKkYA&app=PowerPoint)
|
|
117
117
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!590&parId=416406873CB120AB!551&authkey=!AKrmHcFsc2YKkYA&app=Word)
|
|
118
118
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!591&parId=416406873CB120AB!551&authkey=!AKrmHcFsc2YKkYA&app=Word)
|
|
119
|
-
* [Quick start video](https://
|
|
119
|
+
* [Quick start video](https://youtu.be/ugLWoNIoGAo)
|
|
120
120
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3764&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690445091&OR=ItemsView)
|
|
121
121
|
|
|
122
122
|
#### [Unit 11 - Arrays](https://1drv.ms/f/s!AqsgsTyHBmRBhChTGr9RP7MXejC-)
|
|
@@ -124,15 +124,15 @@ Any of the individual course material items are also available as a separate dow
|
|
|
124
124
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!596&parId=416406873CB120AB!552&authkey=!AFMav1E_sxd6ML4&app=PowerPoint)
|
|
125
125
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!594&parId=416406873CB120AB!552&authkey=!AFMav1E_sxd6ML4&app=Word)
|
|
126
126
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!595&parId=416406873CB120AB!552&authkey=!AFMav1E_sxd6ML4&app=Word)
|
|
127
|
-
* [Quick start video](https://
|
|
127
|
+
* [Quick start video](https://youtu.be/B1b4IDrk2mM)
|
|
128
128
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3766&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686690475716&OR=ItemsView)
|
|
129
129
|
|
|
130
|
-
#### [Unit 12 - Accelerometer](https://1drv.ms/f/
|
|
130
|
+
#### [Unit 12 - Accelerometer](https://1drv.ms/f/c/416406873cb120ab/EqsgsTyHBmQggEEqDAAAAAABv8UVYPZfbSfLgXyKwIYi0Q)
|
|
131
131
|
|
|
132
132
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3772&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686689659525&OR=ItemsView)
|
|
133
133
|
* [Educator Guide](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3768&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686689325290&OR=ItemsView)
|
|
134
134
|
* [Student workbook](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3770&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686689682662&OR=ItemsView)
|
|
135
|
-
* [Quick start video](https://
|
|
135
|
+
* [Quick start video](https://youtu.be/fuqhcE6gXgI)
|
|
136
136
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3769&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686689610440&OR=ItemsView)
|
|
137
137
|
|
|
138
138
|
#### [Unit 13 - Final Project](https://1drv.ms/f/s!AqsgsTyHBmRBhCl9zNQJnUEuOSX7)
|
|
@@ -140,7 +140,7 @@ Any of the individual course material items are also available as a separate dow
|
|
|
140
140
|
* [Classroom presentation](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!600&parId=416406873CB120AB!553&authkey=!AH3M1AmdQS45Jfs&app=PowerPoint)
|
|
141
141
|
* [Educator Guide](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!598&parId=416406873CB120AB!553&authkey=!AH3M1AmdQS45Jfs&app=Word)
|
|
142
142
|
* [Student workbook](https://onedrive.live.com/view.aspx?cid=416406873cb120ab&page=view&resid=416406873CB120AB!599&parId=416406873CB120AB!553&authkey=!AH3M1AmdQS45Jfs&app=Word)
|
|
143
|
-
* [Quick start video](https://
|
|
143
|
+
* [Quick start video](https://youtu.be/4A-npiseXG4)
|
|
144
144
|
* [Quick start video (PowerPoint)](https://onedrive.live.com/view.aspx?resid=416406873CB120AB!3773&cid=416406873cb120ab&authkey=!ALunv1kXkaA0RLg&CT=1686689876705&OR=ItemsView)
|
|
145
145
|
|
|
146
146
|
## Localization scripts
|
package/docs/courses/csintro.md
CHANGED
|
@@ -9,7 +9,8 @@ This course takes approximately 14 weeks to complete, spending about 1 week on e
|
|
|
9
9
|

|
|
10
10
|
|
|
11
11
|
### ~ hint
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
#### Download it
|
|
13
14
|
|
|
14
15
|
The entire course is also available as a download or as a book. Choose any of these formats:
|
|
15
16
|
|
package/docs/device/serial.md
CHANGED
|
@@ -49,7 +49,7 @@ Please note that Windows will assign you a different COM port if you plug in ano
|
|
|
49
49
|
|
|
50
50
|
### Windows > Putty
|
|
51
51
|
|
|
52
|
-
If you prefer another terminal emulator (such as [PuTTY](
|
|
52
|
+
If you prefer another terminal emulator (such as [PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/)), here are some instructions.
|
|
53
53
|
|
|
54
54
|
* Open Windows's [Device Manager](https://windows.microsoft.com/en-us/windows/open-device-manager); expand the section called "Ports (COM & LPT)"; write down the com number for "mbed Serial Port" (e.g. COM14)
|
|
55
55
|
* Open PuTTY; on the main screen, use the following settings: Serial / COM14 / 115200. Replace COM14 with the COM port number you wrote down previously. Feel free to type in a name and hit "Save" to remember this configuration.
|
|
@@ -389,15 +389,19 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
389
389
|
```codecard
|
|
390
390
|
[{
|
|
391
391
|
"name": "FWD Edu Smart Solder Kit",
|
|
392
|
-
"url": "/pkg/Forward-Education/pxt-
|
|
392
|
+
"url": "/pkg/Forward-Education/pxt-smart-soldering",
|
|
393
393
|
"cardType": "package"
|
|
394
394
|
}, {
|
|
395
395
|
"name": "FWD Edu Smart Solar Kit",
|
|
396
|
-
"url": "/pkg/Forward-Education/pxt-solar",
|
|
396
|
+
"url": "/pkg/Forward-Education/pxt-smart-solar",
|
|
397
397
|
"cardType": "package"
|
|
398
398
|
}, {
|
|
399
399
|
"name": "FWD Edu Smart Hydroponics Kit",
|
|
400
|
-
"url": "/pkg/Forward-Education/pxt-hydroponics",
|
|
400
|
+
"url": "/pkg/Forward-Education/pxt-smart-hydroponics",
|
|
401
|
+
"cardType": "package"
|
|
402
|
+
}, {
|
|
403
|
+
"name": "FWD Edu Smart: All Kits",
|
|
404
|
+
"url": "/pkg/Forward-Education/pxt-all-fwd-blocks",
|
|
401
405
|
"cardType": "package"
|
|
402
406
|
}, {
|
|
403
407
|
"name": "BP Lab micro:bit Kit",
|
|
@@ -467,6 +471,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
467
471
|
"name": "Joy-IT Joy-Pi Advanced",
|
|
468
472
|
"url":"/pkg/joy-it/pxt-RB-JoyPi-Advanced",
|
|
469
473
|
"cardType": "package"
|
|
474
|
+
}, {
|
|
475
|
+
"name": "FWD Edu Climate Action Kit",
|
|
476
|
+
"url": "/pkg/Forward-Education/pxt-climate-action",
|
|
477
|
+
"cardType": "package"
|
|
470
478
|
}, {
|
|
471
479
|
"name": "FWD Edu Climate Action Kit Gen. 2 Kit",
|
|
472
480
|
"url":"/pkg/climate-action-kits/pxt-fwd-edu",
|
|
@@ -549,6 +557,14 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
549
557
|
|
|
550
558
|
```codecard
|
|
551
559
|
[{
|
|
560
|
+
"name": "BrailleBot",
|
|
561
|
+
"url":"/pkg/roborisen/braillebot",
|
|
562
|
+
"cardType": "package"
|
|
563
|
+
}, {
|
|
564
|
+
"name": "Kitronik Mai-Z the Mouse Bot",
|
|
565
|
+
"url":"/pkg/KitronikLtd/pxt-kitronik-mai-z",
|
|
566
|
+
"cardType": "package"
|
|
567
|
+
}, {
|
|
552
568
|
"name": "DFRobot Creative Robotics Kit",
|
|
553
569
|
"url":"/pkg/DFRobot/pxt-DFRobot_creative-robotics-kit",
|
|
554
570
|
"cardType": "package"
|
|
@@ -883,6 +899,10 @@ Many extensions are available to work with interface kits, add-on hardware, or o
|
|
|
883
899
|
|
|
884
900
|
```codecard
|
|
885
901
|
[{
|
|
902
|
+
"name": "Backyard Brains Spiker:Bit",
|
|
903
|
+
"url": "/pkg/BackyardBrains/pxt-spikerbit",
|
|
904
|
+
"cardType": "package"
|
|
905
|
+
}, {
|
|
886
906
|
"name": "Elecfreaks Petal:bit",
|
|
887
907
|
"url": "/pkg/elecfreaks/pxt-petal",
|
|
888
908
|
"cardType": "package"
|
package/docs/jacdac.md
CHANGED
|
@@ -10,7 +10,7 @@ Connect and Code. Instantly.
|
|
|
10
10
|
[{
|
|
11
11
|
"name": "Getting started",
|
|
12
12
|
"description": "Connect and Code. Instantly in MakeCode.",
|
|
13
|
-
"url":"https://
|
|
13
|
+
"url":"https://jacdac.github.io/jacdac-docs/clients/makecode/",
|
|
14
14
|
"imageUrl": "/static/jacdac/getting-started.jpg"
|
|
15
15
|
}]
|
|
16
16
|
```
|
|
@@ -22,37 +22,37 @@ Connect and Code. Instantly.
|
|
|
22
22
|
{
|
|
23
23
|
"name": "Button smasher",
|
|
24
24
|
"description": "How many times can you smash the button in 10 seconds?",
|
|
25
|
-
"url": "https://
|
|
25
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/button-smasher/",
|
|
26
26
|
"imageUrl": "/static/jacdac/button-smasher.jpg"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "Slider Sound Bender",
|
|
30
30
|
"description": "Create twisted sounds using a slider module.",
|
|
31
|
-
"url": "https://
|
|
31
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/slider-sound-bender/",
|
|
32
32
|
"imageUrl": "/static/jacdac/slider-sound-bender.jpg"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "Light Sound Bender",
|
|
36
36
|
"description": "Create twisted sounds using light levels",
|
|
37
|
-
"url": "https://
|
|
37
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/light-sound-bender/",
|
|
38
38
|
"imageUrl": "/static/jacdac/light-sound-bender.jpg"
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
"name": "Rotary Sound Bender",
|
|
42
42
|
"description": "Create twisted sounds using a rotary encoder module.",
|
|
43
|
-
"url": "https://
|
|
43
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/rotary-sound-bender/",
|
|
44
44
|
"imageUrl": "/static/jacdac/rotary-sound-bender.jpg"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "Sound LED",
|
|
48
48
|
"description": "Show the sound level on a LED ring",
|
|
49
|
-
"url": "https://
|
|
49
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/sound-led/",
|
|
50
50
|
"imageUrl": "/static/jacdac/sound-led.jpg"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "Magnetic Sound Bender",
|
|
54
54
|
"description": "Create twisted sounds using a magnet",
|
|
55
|
-
"url": "https://
|
|
55
|
+
"url": "https://jacdac.github.io/jacdac-docs/clients/makecode/projects/magnetic-sound-bender/",
|
|
56
56
|
"imageUrl": "/static/jacdac/magnetic-sound-bender.jpg"
|
|
57
57
|
}
|
|
58
58
|
]
|
package/docs/projects/SUMMARY.md
CHANGED
|
@@ -148,13 +148,13 @@
|
|
|
148
148
|
* [ARM University - micro:course](https://github.com/arm-university/micro-course)
|
|
149
149
|
* [A-Z Robotics](https://tinkerspark.teachable.com/)
|
|
150
150
|
* [Jacdac](/jacdac)
|
|
151
|
-
* [Getting started](https://
|
|
152
|
-
* [Button smasher](https://
|
|
153
|
-
* [Slider Sound Bender](https://
|
|
154
|
-
* [Light Sound Bender](https://
|
|
155
|
-
* [Rotary Sound Bender](https://
|
|
156
|
-
* [Sound LED](https://
|
|
157
|
-
* [Magnetic Sound Bender](https://
|
|
151
|
+
* [Getting started](https://jacdac.github.io/jacdac-docs/clients/makecode/)
|
|
152
|
+
* [Button smasher](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/button-smasher/)
|
|
153
|
+
* [Slider Sound Bender](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/slider-sound-bender/)
|
|
154
|
+
* [Light Sound Bender](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/light-sound-bender/)
|
|
155
|
+
* [Rotary Sound Bender](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/rotary-sound-bender/)
|
|
156
|
+
* [Sound LED](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/sound-led/)
|
|
157
|
+
* [Magnetic Sound Bender](https://jacdac.github.io/jacdac-docs/clients/makecode/projects/magnetic-sound-bender/)
|
|
158
158
|
* [MicroCode for the new micro:bit (V2)](/microcode)
|
|
159
159
|
* [Getting Started](https://microbit-apps.github.io/microcode-classic/docs/manual)
|
|
160
160
|
* [Samples](https://microbit-apps.github.io/microcode-classic/docs/samples)
|
|
@@ -22,7 +22,7 @@ Morse code is an alphabet composed of dots (short signals) and dashes (long sign
|
|
|
22
22
|
hint~
|
|
23
23
|
|
|
24
24
|
■ From the ``||input:Input||`` category in the toolbox, drag an ``||input:on logo [pressed]||`` container into to your workspace.
|
|
25
|
-
■ From the ``||radio:Radio||`` category, get ``||radio:radio send number [0]||`` and snap it into your empty ``||input
|
|
25
|
+
■ From the ``||radio:Radio||`` category, get ``||radio:radio send number [0]||`` and snap it into your empty ``||input:on logo [pressed]||`` container.
|
|
26
26
|
|
|
27
27
|
```blocks
|
|
28
28
|
input.onLogoEvent(TouchButtonEvent.Pressed, function () {
|
|
@@ -306,4 +306,4 @@ input.onLogoEvent(TouchButtonEvent.LongPressed, function () {
|
|
|
306
306
|
input.onLogoEvent(TouchButtonEvent.Pressed, function () {
|
|
307
307
|
radio.sendNumber(0)
|
|
308
308
|
})
|
|
309
|
-
```
|
|
309
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pxt-microbit",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"description": "micro:bit target for Microsoft MakeCode (PXT)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript",
|
|
@@ -46,8 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"pxt-common-packages": "13.0.0",
|
|
49
|
-
"pxt-core": "12.
|
|
49
|
+
"pxt-core": "12.1.12"
|
|
50
50
|
},
|
|
51
|
-
"overrides": {
|
|
52
|
-
}
|
|
51
|
+
"overrides": {}
|
|
53
52
|
}
|
package/pxtarget.json
CHANGED
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"codalTarget": {
|
|
201
201
|
"name": "codal-microbit-v2",
|
|
202
202
|
"url": "https://github.com/lancaster-university/codal-microbit-v2",
|
|
203
|
-
"branch": "v0.3.
|
|
203
|
+
"branch": "v0.3.2",
|
|
204
204
|
"type": "git"
|
|
205
205
|
},
|
|
206
206
|
"codalBinary": "MICROBIT",
|
|
@@ -250,12 +250,6 @@
|
|
|
250
250
|
"parts": true,
|
|
251
251
|
"partsAspectRatio": 0.69,
|
|
252
252
|
"messageSimulators": {
|
|
253
|
-
"jacdac": {
|
|
254
|
-
"url": "https://microsoft.github.io/jacdac-docs/tools/makecode-sim?webusb=0&parentOrigin=$PARENT_ORIGIN$",
|
|
255
|
-
"localHostUrl": "http://localhost:8000/tools/makecode-sim?webusb=0&parentOrigin=$PARENT_ORIGIN$",
|
|
256
|
-
"aspectRatio": 1.22,
|
|
257
|
-
"permanent": true
|
|
258
|
-
},
|
|
259
253
|
"robot": {
|
|
260
254
|
"url": "https://microsoft.github.io/microbit-robot/?parentOrigin=$PARENT_ORIGIN$",
|
|
261
255
|
"localHostUrl": "http://localhost:3000/microbit-robot/?parentOrigin=$PARENT_ORIGIN$",
|
|
@@ -432,14 +426,13 @@
|
|
|
432
426
|
"allowPackageExtensions": true,
|
|
433
427
|
"addNewTypeScriptFile": true,
|
|
434
428
|
"enabledFeatures": {
|
|
435
|
-
"blocksErrorList": {}
|
|
429
|
+
"blocksErrorList": {},
|
|
430
|
+
"aiErrorHelp": {}
|
|
436
431
|
},
|
|
437
432
|
"experiments": [
|
|
438
|
-
"accessibleBlocks",
|
|
439
433
|
"debugExtensionCode",
|
|
440
434
|
"bluetoothUartConsole",
|
|
441
435
|
"bluetoothPartialFlashing",
|
|
442
|
-
"identity",
|
|
443
436
|
"forceEnableAiErrorHelp"
|
|
444
437
|
],
|
|
445
438
|
"supportedExperiences": [
|
|
@@ -607,7 +600,11 @@
|
|
|
607
600
|
"tours": {
|
|
608
601
|
"editor": "/tours/editor-tour"
|
|
609
602
|
},
|
|
610
|
-
"
|
|
603
|
+
"tutorialSimSidebarLangs": [
|
|
604
|
+
"blocks",
|
|
605
|
+
"javascript",
|
|
606
|
+
"python"
|
|
607
|
+
],
|
|
611
608
|
"preferWebUSBDownload": true,
|
|
612
609
|
"hideReplaceMyCode": true,
|
|
613
610
|
"matchWebUSBDeviceInSim": true,
|