Compare commits

..

635 Commits

Author SHA1 Message Date
Peli de Halleux
5098eaac5a 0.9.25 2017-02-28 12:15:54 -08:00
Peli de Halleux
3a0d4df65c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-02-28 12:15:41 -08:00
Peli de Halleux
c26a81dee9 scale down simulator to avoid side cutout 2017-02-28 12:15:32 -08:00
Sam El-Husseini
0054dede9a Release v0.9.23 2017-02-28 10:29:02 -08:00
Peli de Halleux
7e9c646684 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-02-28 04:57:46 -08:00
Peli de Halleux
b2282b1a81 adding descriptions to code examples 2017-02-28 04:57:27 -08:00
Sam El-Husseini
e4c0e582d3 ui box shadow fix 2017-02-28 01:16:10 -08:00
Peli de Halleux
0e18b13ea1 0.9.24 2017-02-27 22:44:52 -08:00
Sam El-Husseini
ab6268ea7a 0.9.23 2017-02-27 18:46:38 -08:00
Abhijith Chatra
999a40bb0d Merge pull request #359 from Microsoft/colors
Fixing colors
2017-02-27 15:52:14 -08:00
Richard Knoll
0d4af4ea12 Fixing colors 2017-02-27 15:26:45 -08:00
Peli de Halleux
5209222438 0.9.22 2017-02-27 11:36:24 -08:00
Peli de Halleux
f21ff4ad20 Bump pxt-core to 0.11.51 2017-02-27 11:36:22 -08:00
Peli de Halleux
2d5a96d215 enabling icon image 2017-02-27 11:21:21 -08:00
Tom Ball
30fe647f51 more docs for show-arrow. correct errors 2017-02-27 10:51:52 -08:00
Peli de Halleux
2361d1910a 0.9.21 2017-02-27 10:33:15 -08:00
Peli de Halleux
7921caaaff Bump pxt-core to 0.11.50 2017-02-27 10:33:14 -08:00
Peli de Halleux
8bf34ae19c 0.9.20 2017-02-27 10:01:06 -08:00
Peli de Halleux
0dc03c81b7 Bump pxt-core to 0.11.48 2017-02-27 10:01:01 -08:00
Peli de Halleux
1a398e0db9 moving icon files under sim 2017-02-27 09:59:14 -08:00
Peli de Halleux
f614cb9b2b Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-02-27 09:41:47 -08:00
Peli de Halleux
794909f09f updated translations 2017-02-27 09:41:34 -08:00
Tom Ball
24107d1968 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-02-27 09:07:45 -08:00
Tom Ball
dfca86999f add doc for showIcon 2017-02-27 09:07:36 -08:00
Peli de Halleux
a487c3d3ac 0.9.19 2017-02-27 07:19:00 -08:00
Peli de Halleux
e7ea0ba581 0.9.18 2017-02-26 23:02:04 -08:00
Peli de Halleux
212da01f5b Bump pxt-core to 0.11.47 2017-02-26 23:02:02 -08:00
Peli de Halleux
4e72713797 0.9.17 2017-02-25 06:00:16 -08:00
Peli de Halleux
5d27ddb4a5 Bump pxt-core to 0.11.46 2017-02-25 06:00:14 -08:00
Peli de Halleux
fea143f1d2 0.9.16 2017-02-25 05:39:32 -08:00
Peli de Halleux
13677c47a9 Bump pxt-core to 0.11.45 2017-02-25 05:39:30 -08:00
Peli de Halleux
ab73d77322 updated string locs (#357) 2017-02-25 05:39:08 -08:00
Peli de Halleux
b8aa63411c fixing var compilation issue in docs 2017-02-25 05:38:18 -08:00
Sam El-Husseini
bdc5122ce4 0.9.15 2017-02-23 09:49:52 -08:00
Sam El-Husseini
9709d43dad Bump pxt-core to 0.11.43 2017-02-23 09:49:51 -08:00
chmora
56904acb99 Blockly integrate pxt microbit (#355)
* added new values for Integration with field_note
2017-02-23 09:44:18 -08:00
Sam El-Husseini
63d3909cad 0.9.14 2017-02-22 13:26:09 -08:00
Sam El-Husseini
23e835b108 Update core strings 2017-02-22 13:25:47 -08:00
Richard Knoll
be1ea9a742 Pin number typo (#356) 2017-02-21 17:43:13 -08:00
Sam El-Husseini
8d33b4ded8 0.9.13 2017-02-21 12:10:56 -08:00
Sam El-Husseini
c58f847b33 Bump pxt-core to 0.11.41 2017-02-21 12:10:56 -08:00
Sam El-Husseini
19eff8e642 0.9.12 2017-02-17 23:22:45 -08:00
Sam El-Husseini
d53c8e9bef Bump pxt-core to 0.11.40 2017-02-17 23:22:44 -08:00
Sam El-Husseini
aea8299006 February beta to release. 2017-02-17 12:23:24 -08:00
Sam El-Husseini
90f63c597f 0.9.11 2017-02-17 12:14:50 -08:00
Sam El-Husseini
c4db344a85 Bump pxt-core to 0.11.39 2017-02-17 12:14:49 -08:00
Sam El-Husseini
0558e8945d 0.9.10 2017-02-17 11:46:54 -08:00
Sam El-Husseini
e90875d57d Bump pxt-core to 0.11.38 2017-02-17 11:46:53 -08:00
Sam El-Husseini
f4c1a65e7e 0.9.9 2017-02-17 11:06:07 -08:00
Sam El-Husseini
8dc88c44f2 Bump pxt-core to 0.11.37 2017-02-17 11:06:06 -08:00
Sam El-Husseini
acbe9106cc Updating small organization logo 2017-02-16 20:36:20 -08:00
Peli de Halleux
652b09d5c4 0.9.8 2017-02-14 16:19:51 -08:00
Peli de Halleux
e35312de70 Bump pxt-core to 0.11.36 2017-02-14 16:19:49 -08:00
Peli de Halleux
82764ffcc1 0.9.7 2017-02-14 15:38:24 -08:00
Peli de Halleux
f1404cef61 Bump pxt-core to 0.11.35 2017-02-14 15:38:22 -08:00
Peli de Halleux
566b750419 0.9.6 2017-02-14 07:44:30 -08:00
Peli de Halleux
b119952e75 Bump pxt-core to 0.11.33 2017-02-14 07:44:28 -08:00
Peli de Halleux
e4e6a5effd updated translations 2017-02-14 07:39:09 -08:00
Peli de Halleux
ec1117842d 0.9.5 2017-02-13 15:36:12 -08:00
Peli de Halleux
de4242bf71 Bump pxt-core to 0.11.32 2017-02-13 15:36:10 -08:00
Peli de Halleux
59322fb06b updated strings 2017-02-11 14:05:02 -08:00
Abhijith Chatra
19e609c245 Delay initializing the global icons (#354)
* delay initializing the global icons, so we don't generate them for each hex file

* Moving the strings to flash
2017-02-10 16:33:52 -08:00
Peli de Halleux
a5cb663316 0.9.4 2017-02-09 22:52:07 -08:00
Peli de Halleux
1dd0c1793e Bump pxt-core to 0.11.28 2017-02-09 22:52:05 -08:00
Peli de Halleux
a4a74bdd6b adding a few more examples 2017-02-09 17:40:21 -08:00
Peli de Halleux
45c82767d0 fixed titles 2017-02-09 14:57:38 -08:00
Peli de Halleux
0c77927f35 fixing example page format 2017-02-09 14:51:12 -08:00
Peli de Halleux
672672e632 adding example pages 2017-02-09 14:44:56 -08:00
Peli de Halleux
fe2ae855b0 0.9.3 2017-02-09 11:02:28 -08:00
Peli de Halleux
6612080885 Bump pxt-core to 0.11.27 2017-02-09 11:02:26 -08:00
Peli de Halleux
8641a81e05 0.9.2 2017-02-08 21:09:06 -08:00
Peli de Halleux
656e183a1a Bump pxt-core to 0.11.26 2017-02-08 21:09:01 -08:00
Peli de Halleux
1d56be507a 0.9.1 2017-02-08 15:43:49 -08:00
Peli de Halleux
6504007a65 bumped to v0.9 2017-02-08 15:43:41 -08:00
Peli de Halleux
fc0526e47c 0.8.6 2017-02-08 15:42:54 -08:00
Peli de Halleux
cb47a6a291 Bump pxt-core to 0.11.25 2017-02-08 15:42:52 -08:00
Peli de Halleux
6f8060a8c7 allow analog operations on digital pins (#353) 2017-02-08 15:42:39 -08:00
Peli de Halleux
4a8897c0a4 0.8.5 2017-02-07 22:52:08 -08:00
Peli de Halleux
839a26e5a7 Bump pxt-core to 0.11.24 2017-02-07 22:52:06 -08:00
Peli de Halleux
b46802804c 0.8.4 2017-02-07 14:19:03 -08:00
Peli de Halleux
34d1fac337 Bump pxt-core to 0.11.22 2017-02-07 14:19:01 -08:00
Peli de Halleux
39c41f26b1 0.8.3 2017-02-07 12:58:38 -08:00
Peli de Halleux
083a192a5b Bump pxt-core to 0.11.20 2017-02-07 12:58:36 -08:00
Peli de Halleux
76cbad0cec 0.8.2 2017-02-06 22:30:45 -08:00
Peli de Halleux
ed84d49667 Bump pxt-core to 0.11.16 2017-02-06 22:30:43 -08:00
Guillaume Jenkins
b9d867cf4e Enabled text blocks (#352) 2017-02-06 13:36:24 -08:00
Peli de Halleux
226dfa281a 0.8.1 2017-02-03 20:39:55 -08:00
Peli de Halleux
cc4f6c66da Bump pxt-core to 0.11.13 2017-02-03 20:39:54 -08:00
Peli de Halleux
49ecac6332 Showimage (#351)
* support for interval in showImage, showFrame

* added default arg to showFrame
2017-02-03 20:39:18 -08:00
Peli de Halleux
638e1d3c53 0.7.55 2017-02-03 15:44:29 -08:00
Peli de Halleux
712bc0ada4 Bump pxt-core to 0.11.12 2017-02-03 15:44:26 -08:00
Peli de Halleux
8437f0cf3c enable sharing 2017-02-03 15:23:46 -08:00
Peli de Halleux
9641c4b5ec fixed pin-pressed 2017-02-02 23:26:55 -08:00
Peli de Halleux
e29216c709 0.7.54 2017-02-02 23:22:56 -08:00
Peli de Halleux
06e255eeb9 Bump pxt-core to 0.11.11 2017-02-02 23:22:54 -08:00
Peli de Halleux
91c70e9809 0.7.53 2017-02-02 23:18:38 -08:00
Peli de Halleux
8014712994 Bump pxt-core to 0.11.10 2017-02-02 23:18:36 -08:00
Peli de Halleux
a7d5804cea 0.7.52 2017-02-01 16:46:58 -08:00
Peli de Halleux
2e5984a65b Bump pxt-core to 0.11.9 2017-02-01 16:46:48 -08:00
Tom Ball
c13bef01a4 remove image and move enum 2017-02-01 14:08:23 -08:00
Sam El-Husseini
16c08e4c9b 0.7.51 2017-02-01 09:50:31 -08:00
Sam El-Husseini
444c37edcb Bump pxt-core to 0.11.8 2017-02-01 09:50:31 -08:00
Tom Ball
51781be90b Merge pull request #350 from Microsoft/icons
add icons/arrows/clock
2017-02-01 09:28:09 -08:00
Peli de Halleux
741eb4e4b4 fixed typo in settings 2017-02-01 07:58:20 -08:00
Peli de Halleux
350f595a52 0.7.50 2017-02-01 07:57:21 -08:00
Peli de Halleux
06c392f16f Bump pxt-core to 0.11.7 2017-02-01 07:57:19 -08:00
Peli de Halleux
4bf659c9ac updated translations 2017-02-01 07:57:10 -08:00
Tom Ball
db4711fd26 remove hour, add advanced section 2017-01-31 15:54:23 -08:00
Tom Ball
8275fefd08 change name 2017-01-31 14:56:56 -08:00
Peli de Halleux
8c474c899c 0.7.49 2017-01-31 08:29:58 -08:00
Peli de Halleux
48bb0e238a Bump pxt-core to 0.11.6 2017-01-31 08:29:56 -08:00
Peli de Halleux
1d47b4de0d Lightmonster (#346)
* fixed boardname issues

* refactored servo info

* coffee cup monster lesson skeleton

* display event source id / value in advanced section

* normalized project structure

* updated project name

* Update projects.md
2017-01-31 08:29:25 -08:00
Peli de Halleux
595e4a23e6 package approval docs (#344)
* updated docs

* @jaustin comments

* Update packages.md
2017-01-31 08:28:33 -08:00
Tom Ball
2d3ca71ffb add meta data 2017-01-30 17:05:06 -08:00
Tom Ball
3ba9d2867b add attribution 2017-01-30 16:51:40 -08:00
Tom Ball
ff7b229a3a add one image to make it spiffy 2017-01-30 16:42:48 -08:00
Tom Ball
f944af8122 get rid of images 2017-01-30 15:33:33 -08:00
Tom Ball
35225468e4 add some images 2017-01-30 15:03:50 -08:00
Richard Knoll
72d5e83e5b Exposing pin eventOn method (#349) 2017-01-30 19:19:54 +00:00
Sam El-Husseini
436b56a2fa 0.7.48 2017-01-29 22:25:42 -08:00
Sam El-Husseini
7a41730f82 Bump pxt-core to 0.11.4 2017-01-29 22:25:41 -08:00
Sam El-Husseini
372ddfa641 0.7.47 2017-01-28 22:46:03 -08:00
Sam El-Husseini
30078923a3 Bump pxt-core to 0.11.3 2017-01-28 22:46:02 -08:00
Sam El-Husseini
5ab9222200 0.7.46 2017-01-28 21:59:48 -08:00
Sam El-Husseini
8ae5a48f1e Bump pxt-core to 0.11.2 2017-01-28 21:59:48 -08:00
Sam El-Husseini
f9ed37d07b Using pxtsemantic optimization 2017-01-28 21:55:48 -08:00
Peli de Halleux
edfbc4da18 0.7.45 2017-01-28 11:57:24 -08:00
Peli de Halleux
3a1c6a6ce3 Bump pxt-core to 0.11.1 2017-01-28 11:57:22 -08:00
Richard Knoll
9a4a2264fa Fixing singal strength docs and adding an example (#347) 2017-01-28 19:53:36 +00:00
Sam El-Husseini
e9558ce158 Fix svg scaling issue in IE. (#348)
* Fix svg scaling issue in IE. Fixes #1192

* minor fix
2017-01-28 19:53:05 +00:00
Sam El-Husseini
50677fadc4 Applying IE/Edge blockly css workaround 2017-01-26 14:47:15 -08:00
Richard Knoll
649e8f7c0f Fix neopixel transform in firefox (#345) 2017-01-26 02:51:26 +00:00
Peli de Halleux
0cb9c28f8d Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-01-23 03:54:58 -08:00
Peli de Halleux
004d9b4315 Adding pxt-microbit-GY521 repo 2017-01-23 03:52:53 -08:00
Sam El-Husseini
7a5b3aba01 Add hasAudio flag 2017-01-21 16:25:46 -08:00
Peli de Halleux
dc30263642 0.7.44 2017-01-20 15:42:48 -08:00
Peli de Halleux
619658a057 Bump pxt-core to 0.10.15 2017-01-20 15:42:46 -08:00
Peli de Halleux
472846bf3c 0.7.43 2017-01-20 15:16:42 -08:00
Peli de Halleux
ac4fbc850b Bump pxt-core to 0.10.14 2017-01-20 15:16:40 -08:00
Peli de Halleux
c7054b7ee0 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-01-20 15:16:29 -08:00
Sam El-Husseini
559a43e17b 0.7.42 2017-01-20 15:05:50 -08:00
Sam El-Husseini
7671bc46ad Bump pxt-core to 0.10.13 2017-01-20 15:05:49 -08:00
Guillaume Jenkins
b3c5f2926d Electron release 0.7.41 2017-01-20 11:02:59 -08:00
Peli de Halleux
28830aa905 more info on on-start 2017-01-19 17:51:48 -08:00
Brahma Giri Abhijith Chatra
7fbbb5e65a release of beta 2017-01-19 16:55:20 -08:00
Peli de Halleux
51ebc29887 0.7.41 2017-01-19 16:09:32 -08:00
Peli de Halleux
f5d1722eae Bump pxt-core to 0.10.11 2017-01-19 16:09:29 -08:00
Michal Moskal
5f876d5ea9 Add openocd script (for pxt gdb) 2017-01-19 17:24:03 +00:00
Michal Moskal
31de8892fa Use standard type names
otherwise compilation fails on some yotta installs
2017-01-19 17:23:51 +00:00
Peli de Halleux
0d0a68122d 0.7.40 2017-01-19 00:19:15 -08:00
Peli de Halleux
4ad660568e Bump pxt-core to 0.10.10 2017-01-19 00:19:14 -08:00
Peli de Halleux
58e82a571d 0.7.39 2017-01-18 16:14:11 -08:00
Peli de Halleux
e629b866d5 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-01-18 16:13:08 -08:00
Peli de Halleux
f0ac2b7a05 fixing debug message 2017-01-18 16:12:58 -08:00
Sam El-Husseini
e3c8db28e4 0.7.38 2017-01-18 14:48:43 -08:00
Sam El-Husseini
2c0e19a120 Bump pxt-core to 0.10.9 2017-01-18 14:48:42 -08:00
Peli de Halleux
595eb788b2 removed console.log for pxt.debug 2017-01-17 16:51:21 -08:00
Peli de Halleux
2e15d22e9e 0.7.37 2017-01-17 16:29:52 -08:00
Peli de Halleux
57082654a9 0.7.36 2017-01-17 14:55:44 -08:00
Peli de Halleux
8cbf7d38e3 0.7.35 2017-01-17 14:51:28 -08:00
Peli de Halleux
a99a7325bf 0.7.34 2017-01-17 14:13:06 -08:00
Peli de Halleux
fa3ed9dd21 0.7.33 2017-01-17 11:37:35 -08:00
Peli de Halleux
45fd40a553 adding on pin pressed in getting-started 2017-01-17 11:37:20 -08:00
Peli de Halleux
5a18bea9eb 0.7.32 2017-01-17 11:28:38 -08:00
Peli de Halleux
d310312841 Bump pxt-core to 0.10.8 2017-01-17 11:28:35 -08:00
Peli de Halleux
a4b93f7199 support for deletable on start 2017-01-17 11:18:22 -08:00
Sam El-Husseini
538a4b7bbf 0.7.31 2017-01-13 18:11:03 -08:00
Sam El-Husseini
0078e7bc12 Bump pxt-core to 0.10.7 2017-01-13 18:11:02 -08:00
Sam El-Husseini
d2726133a9 Revert "Control event value in simulator (#343)"
This reverts commit 00f4c9cbb3.
2017-01-13 18:04:38 -08:00
chmora
00f4c9cbb3 Control event value in simulator (#343)
* implement pxsim.control.eventValue and pxsim.control.eventTimestamp in the simulator
2017-01-13 16:46:52 -08:00
Sam El-Husseini
e15da5dee1 0.7.30 2017-01-13 15:47:16 -08:00
Sam El-Husseini
85dda4ea84 Bump pxt-core to 0.10.4 2017-01-13 15:47:15 -08:00
Guillaume Jenkins
a3ffe4e1cf Set latest Electron to 0.7.29 (#342) 2017-01-13 14:11:46 -08:00
Sam El-Husseini
90c4d4f73b 0.7.29 2017-01-13 13:55:44 -08:00
Sam El-Husseini
6484d559d6 Bump pxt-core to 0.10.2 2017-01-13 13:55:43 -08:00
Peli de Halleux
357436f14d refactored servostate (#341)
* refactored servostate

* Bump pxt-core to 0.10.1
2017-01-12 23:09:53 -08:00
Peli de Halleux
85fe96b3fd 0.7.28 2017-01-12 16:08:35 -08:00
Peli de Halleux
cdac932c42 Bump pxt-core to 0.9.5 2017-01-12 16:08:32 -08:00
Peli de Halleux
dcfc2a110d Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2017-01-12 16:07:19 -08:00
Peli de Halleux
e9561f54c3 removing custom loader logic 2017-01-12 16:07:10 -08:00
chmora
86f6b58d38 fix"string compare works differently in simulator/on target" (#340)
* fix for "string compare works differently in simulator/on target", fixes #901
2017-01-12 15:50:39 -08:00
Peli de Halleux
eee52a5c04 0.7.27 2017-01-12 15:27:07 -08:00
Peli de Halleux
1a0b0eac71 Bump pxt-core to 0.9.4 2017-01-12 15:27:04 -08:00
Peli de Halleux
5a98ae0bb8 0.7.26 2017-01-12 11:54:33 -08:00
Peli de Halleux
a9eea9a618 Bump pxt-core to 0.9.3 2017-01-12 11:54:30 -08:00
Peli de Halleux
3086c521e3 0.7.25 2017-01-12 11:33:08 -08:00
Peli de Halleux
6788f79650 Bump pxt-core to 0.9.2 2017-01-12 11:33:05 -08:00
Sam El-Husseini
5900239045 changing editor button colors 2017-01-12 10:45:39 -08:00
Peli de Halleux
248267ec2c 0.7.24 2017-01-10 17:47:09 -08:00
Peli de Halleux
9429075555 Bump pxt-core to 0.8.14 2017-01-10 17:47:07 -08:00
Peli de Halleux
1fa871f2e7 Support for serial events (#339)
* added "serial->on data received"

* updated info

* updated docs

* added readline to read entire buffer

* lazy initialize of serial buffers

* init async on event

* updated docs
2017-01-10 16:27:02 -08:00
chmora
04dab7df2c One letter showString shouldn't disappear (#338)
* Fix for "One letter showString shouldn't disappear", fixes #798

* miss semicolon
2017-01-10 16:25:40 -08:00
Guillaume Jenkins
b6474467bc Electron release (#333)
Set latest Electron app release to 0.7.23
2017-01-10 14:16:13 -08:00
Peli de Halleux
79ead74af4 0.7.23 2017-01-10 10:31:04 -08:00
Peli de Halleux
0f8ff95b72 Bump pxt-core to 0.8.13 2017-01-10 10:30:58 -08:00
Peli de Halleux
05028c4527 Serial events (#337)
* added "serial->on data received"

* updated info

* updated docs

* added readline to read entire buffer

* lazy initialize of serial buffers

* init async on event

* updated docs
2017-01-10 10:26:44 -08:00
Peli de Halleux
4054da3483 0.7.22 2017-01-09 21:33:47 -08:00
Peli de Halleux
7052d27d6d Bump pxt-core to 0.8.12 2017-01-09 21:33:44 -08:00
Abhijith Chatra
365af8d672 Merge pull request #335 from Microsoft/default
Default values for array
2017-01-09 20:35:56 -08:00
Sam El-Husseini
5086ca308c 0.7.21 2017-01-09 16:08:58 -08:00
Sam El-Husseini
c1af770afc Bump pxt-core to 0.8.11 2017-01-09 16:08:58 -08:00
Sam El-Husseini
e175e70d01 Merge branch 'master' into editortoolbox 2017-01-09 16:01:35 -08:00
Peli de Halleux
cbc228dca3 negative scroll fix
fix for Microsoft/pxt#813
2017-01-09 14:17:19 -08:00
Peli de Halleux
462127c661 Loader (#336)
* Custom microbit loader

* updated animation

* use standardized name

* moving loader support to pxt
2017-01-09 07:51:00 -08:00
Michal Moskal
487da05eca Fix for https://github.com/Microsoft/pxt/issues/1057 2017-01-09 10:58:24 +00:00
Brahma Giri Abhijith Chatra
c938618d29 adding default values for beyond the array.length access 2017-01-08 19:08:09 -08:00
Abhijith
91321dab83 Support for default values in array. 2017-01-08 18:43:14 -08:00
Sam El-Husseini
0cb3d6e44e Changes accompanying the editor toolbox. 2017-01-07 17:35:54 -08:00
Peli de Halleux
7a98b06424 Custom microbit loader (#334)
* Custom microbit loader

* updated animation

* use standardized name
2017-01-06 17:39:48 -08:00
Guillaume Jenkins
69c80d3aff Add css and default icon to NPM package for Electron app (#332) 2017-01-06 16:29:48 -08:00
Peli de Halleux
1d82f08668 update instructions to use inline buttons 2017-01-06 14:41:33 -08:00
Peli de Halleux
4681a68ffd added avatar image 2017-01-06 09:51:19 -08:00
Peli de Halleux
0a69b773de missing package annotation 2017-01-06 07:19:00 -08:00
Peli de Halleux
3f66a1c16d 0.7.20 2017-01-06 07:13:39 -08:00
Peli de Halleux
d78781ad5a Bump pxt-core to 0.8.8 2017-01-06 07:13:38 -08:00
Peli de Halleux
46281c3cd0 fixing broken links in docs 2017-01-06 06:12:39 -08:00
Peli de Halleux
a58f67064f 0.7.19 2017-01-06 06:03:43 -08:00
Peli de Halleux
efe784441f Bump pxt-core to 0.8.7 2017-01-06 06:03:41 -08:00
Peli de Halleux
05174f094a updated translations 2017-01-06 06:03:33 -08:00
Peli de Halleux
42773a1a0a updatd weights of radio 2017-01-06 05:43:50 -08:00
Peli de Halleux
32f96d09d4 removing "getting-started" link 2017-01-06 04:58:00 -08:00
Peli de Halleux
05d88cb4ba updated getting -started 2017-01-06 04:32:53 -08:00
Peli de Halleux
7fe8dad1f6 0.7.18 2017-01-05 22:39:36 -08:00
Peli de Halleux
858766ea3e Bump pxt-core to 0.8.6 2017-01-05 22:39:34 -08:00
Sam El-Husseini
81fe9afbb7 remove begin 2017-01-05 13:35:28 -08:00
Sam El-Husseini
65c615f256 Merge branch 'master' into tutorialmode 2017-01-05 13:33:41 -08:00
Peli de Halleux
9c5c699fe7 0.7.17 2017-01-05 13:31:30 -08:00
Peli de Halleux
dcede1703a fixing link 2017-01-05 13:31:05 -08:00
Peli de Halleux
5d33ab019d 0.7.16 2017-01-05 13:30:30 -08:00
Peli de Halleux
f7ec452ea0 updated steps 2017-01-05 13:30:14 -08:00
Peli de Halleux
20260e8933 fixes to docs 2017-01-05 13:28:06 -08:00
Peli de Halleux
d7704934e8 0.7.15 2017-01-05 13:17:24 -08:00
Peli de Halleux
f1eafb0a6e Bump pxt-core to 0.8.5 2017-01-05 13:17:21 -08:00
Peli de Halleux
27d6a8281a Inchworm (#331)
* images for inchworm project

* binding pictures

* updated inchworm lesson
2017-01-05 10:00:36 -08:00
Sam El-Husseini
c5128aa497 Merge branch 'master' into tutorialmode 2017-01-05 08:19:39 -08:00
Peli de Halleux
a59394646c fixed docs 2017-01-05 07:37:46 -08:00
Peli de Halleux
6851169dbe 0.7.14 2017-01-05 07:10:13 -08:00
Peli de Halleux
36b3486194 Bump pxt-core to 0.8.3 2017-01-05 07:10:12 -08:00
Peli de Halleux
5d8ccd1d6d adding namespace to api categories (#330)
* adding namespace to api categories

* add icon for led

* adding icons for control, game, images, pins and serial.
2017-01-05 07:01:50 -08:00
Abhijith Chatra
c713fe9bf4 0.7.13 2017-01-04 13:08:54 -08:00
Abhijith Chatra
f682e5e694 insertAt support for array (#328)
* Adding insertAt and setLength to array

* implemented review comments

* Bump pxt-core to 0.8.2
2017-01-04 13:07:58 -08:00
Sam El-Husseini
d2d776fd01 Updating getting started tutorial 2017-01-04 10:06:47 -08:00
Sam El-Husseini
641a5e9673 Merge branch 'master' into tutorialmode 2017-01-03 12:14:34 -08:00
Sam El-Husseini
93d90a2bde Few extra typing fixes. 2017-01-03 12:14:25 -08:00
Sam El-Husseini
a54504f31c Updating bluebird typings path 2017-01-03 11:38:21 -08:00
Sam El-Husseini
03111368e0 add more blocks 2017-01-02 22:14:40 -08:00
Sam El-Husseini
a973b2aec6 Merge branch 'master' into tutorialmode 2017-01-02 15:10:11 -08:00
Sam El-Husseini
a7adf0e6c6 minor ui fixes 2017-01-02 15:09:49 -08:00
Sam El-Husseini
c10761128e Tutorial mode changes 2017-01-01 18:52:22 -08:00
Peli de Halleux
9965f169b2 0.7.12 2016-12-31 07:28:12 -08:00
Peli de Halleux
8bf755c15c fixing eddystone uid encoding 2016-12-31 07:25:27 -08:00
Peli de Halleux
d0b2a7db62 0.7.11 2016-12-31 06:49:30 -08:00
Peli de Halleux
780192da3b Bump pxt-core to 0.7.13 2016-12-31 06:49:28 -08:00
Peli de Halleux
07c1f08d18 fix for Microsoft/pxt#1014 2016-12-31 06:36:05 -08:00
Sam El-Husseini
25ac847266 converging with other targets on blockly toolbox width 2016-12-31 02:51:24 -08:00
Sam El-Husseini
63c8342b86 ui changes accompanying pxt mobile ui fixes 2016-12-31 01:43:45 -08:00
Abhijith Chatra
ea2bd7ba10 Merge pull request #326 from Microsoft/array
Array enhancements
2016-12-30 15:09:16 -08:00
Peli de Halleux
cec2d1e8af 0.7.10 2016-12-30 15:05:31 -08:00
Peli de Halleux
1b289b688b Bump pxt-core to 0.7.12 2016-12-30 15:05:28 -08:00
Sam El-Husseini
0cf91580cb Merge pull request #327 from Microsoft/pr/toggletheming
Blocks / JS menu toggle theming
2016-12-30 15:00:32 -08:00
Peli de Halleux
392ebc8d07 0.7.9 2016-12-30 14:18:06 -08:00
Peli de Halleux
9068aab12b Bump pxt-core to 0.7.11 2016-12-30 14:18:03 -08:00
Peli de Halleux
85327a4e69 0.7.8 2016-12-30 13:50:03 -08:00
Peli de Halleux
021260b3a4 Bump pxt-core to 0.7.10 2016-12-30 13:50:00 -08:00
Sam El-Husseini
4def93d7c5 Blocks / JS menu toggle theming 2016-12-30 13:07:16 -08:00
Abhijith Chatra
9aca0c19fc Merge branch 'master' into array 2016-12-23 19:53:06 -08:00
Abhijith Chatra
3fcbdbdd82 Array reimplementation as single segment with support for missing values 2016-12-23 19:49:15 -08:00
Peli de Halleux
4b7b6eebca 0.7.7 2016-12-23 08:59:08 -08:00
Peli de Halleux
2da0cf1178 support for buffer signature (#325) 2016-12-23 08:58:38 -08:00
Peli de Halleux
141cb24e3d 0.7.6 2016-12-22 23:18:35 -08:00
Peli de Halleux
35483487af Bump pxt-core to 0.7.9 2016-12-22 23:18:32 -08:00
Peli de Halleux
ec3a805326 0.7.5 2016-12-22 11:35:58 -08:00
Peli de Halleux
780d8bcf8d Bump pxt-core to 0.7.6 2016-12-22 11:35:56 -08:00
Peli de Halleux
f9a12cac64 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-12-22 11:32:01 -08:00
Peli de Halleux
03c2df3277 fixed default projects 2016-12-22 11:31:50 -08:00
guillaumejenkins
a7e98ccb3d Change default product names for Electron app; Add release manifest 2016-12-21 12:31:00 -08:00
Peli de Halleux
1014d2f361 0.7.4 2016-12-20 16:30:14 -08:00
Peli de Halleux
89f20a64d5 Bump pxt-core to 0.7.5 2016-12-20 16:30:12 -08:00
Peli de Halleux
fae36a74af 0.7.3 2016-12-20 13:06:13 -08:00
Peli de Halleux
7e57c59b6f Bump pxt-core to 0.7.4 2016-12-20 13:06:09 -08:00
Peli de Halleux
3141e12f4c support for 8G gestures 2016-12-20 13:05:06 -08:00
Peli de Halleux
4ebe9f595a fix for Microsoft/pxt#961 2016-12-20 12:38:00 -08:00
Peli de Halleux
50f0e85884 docs updates 2016-12-20 12:31:25 -08:00
Peli de Halleux
e28b5d48d4 0.7.2 2016-12-19 16:08:31 -08:00
Peli de Halleux
562e96e09e Bump pxt-core to 0.7.2 2016-12-19 16:08:21 -08:00
Peli de Halleux
6c5088f811 update LESS variables 2016-12-19 16:08:01 -08:00
Peli de Halleux
d5ccb7ad02 0.7.1 2016-12-19 14:11:17 -08:00
Peli de Halleux
ade5176d21 upgraded to 0.7 2016-12-19 14:10:57 -08:00
Peli de Halleux
d2f6d51c19 0.6.46 2016-12-19 14:10:12 -08:00
Peli de Halleux
92b60a251d On start support (#324)
* annotating APIs to support onstart

* missed file

* updated templates

* adding new lines in main.ts

* fixing docs

* removing onstart

* updated docs

* updated various docs

* more docs

* adding upgrade policies for blocks

* updated pxt reference

* placing on start under "basic"
2016-12-19 14:09:35 -08:00
guillaumejenkins
de9f2d7e67 More appropriate Electron app bundle ID on Mac OS 2016-12-19 07:59:52 -08:00
Peli de Halleux
4de5e3bd11 0.6.45 2016-12-18 20:57:52 -08:00
Peli de Halleux
86a33e8f65 Bump pxt-core to 0.6.7 2016-12-18 20:57:50 -08:00
Peli de Halleux
89010b6a8a 0.6.44 2016-12-16 20:26:41 -08:00
Peli de Halleux
48d4668a7a Bump pxt-core to 0.6.6 2016-12-16 20:26:39 -08:00
Peli de Halleux
a2755dc4d2 annotate apis to support multiple forever blocks 2016-12-16 16:47:36 -08:00
Peli de Halleux
52e67c6bfc 0.6.43 2016-12-16 15:29:33 -08:00
Peli de Halleux
5a6f23a7d0 Bump pxt-core to 0.6.5 2016-12-16 15:29:26 -08:00
Peli de Halleux
d1b36f2022 0.6.42 2016-12-16 14:57:24 -08:00
Peli de Halleux
284579181b Bump pxt-core to 0.6.4 2016-12-16 14:57:09 -08:00
Peli de Halleux
20fcb05538 0.6.41 2016-12-16 14:40:12 -08:00
Peli de Halleux
e1a2074ef5 Bump pxt-core to 0.6.3 2016-12-16 14:39:58 -08:00
Guillaume Jenkins
fa3e33dab9 Default product.json for enabling Electron builds (#323) 2016-12-16 12:16:06 -08:00
Peli de Halleux
300a98b858 0.6.40 2016-12-13 21:58:35 -08:00
Peli de Halleux
5986671bcb Bump pxt-core to 0.6.1 2016-12-13 21:58:29 -08:00
Sam El-Husseini
efd5c46143 0.6.39 2016-12-14 09:16:58 +11:00
Sam El-Husseini
62c1a1da35 Bump pxt-core to 0.5.102 2016-12-14 09:16:57 +11:00
Peli de Halleux
ebbc7c983d 0.6.38 2016-12-13 12:49:06 -08:00
Peli de Halleux
173fc4bf7b Bump pxt-core to 0.5.101 2016-12-13 12:49:04 -08:00
Peli de Halleux
47f1eadd27 0.6.37 2016-12-13 12:33:39 -08:00
Peli de Halleux
8c06277a92 Bump pxt-core to 0.5.100 2016-12-13 12:33:37 -08:00
Peli de Halleux
395f482f11 Merge pull request #322 from Microsoft/pr/monacotoolbox
Pr/monacotoolbox
2016-12-13 12:29:42 -08:00
Peli de Halleux
bbd21a84d6 annotating apis to support toolbox 2016-12-13 12:14:32 -08:00
Peli de Halleux
fcf680e9bd automatically detect/add missing package references in project 2016-12-12 10:42:02 -08:00
Sam El-Husseini
8ac848c812 Merge branch 'master' into pr/monacotoolbox 2016-12-12 08:39:45 +11:00
Sam El-Husseini
dd591af224 Turning flag for monaco toolbox on 2016-12-11 09:01:08 +13:00
Sam El-Husseini
e5a7a81198 Better monaco flyout contrast 2016-12-11 08:52:02 +13:00
Sam El-Husseini
7a5228a5d0 Reverting toolbox color 2016-12-11 06:52:08 +13:00
Sam El-Husseini
fe5c8e520a monaco draggable block 2016-12-11 06:34:11 +13:00
Peli de Halleux
96d354a8a8 Merge pull request #316 from OwenBrotherwood/patch-1
Correction for max. length of advertised url to 17
2016-12-09 15:13:12 -08:00
Peli de Halleux
02480b1c54 updated master to 0.6.36 2016-12-09 13:51:23 -08:00
Peli de Halleux
4fd321cccf 0.6.36 2016-12-09 13:43:41 -08:00
Peli de Halleux
4641c9456f Bump pxt-core to 0.5.99 2016-12-09 13:43:37 -08:00
Peli de Halleux
498b5ec095 0.6.35 2016-12-09 11:57:34 -08:00
Peli de Halleux
912be2ddfd Bump pxt-core to 0.5.98 2016-12-09 11:57:32 -08:00
Peli de Halleux
6d7f8c5841 0.6.34 2016-12-09 11:15:51 -08:00
Peli de Halleux
a782f4731a Bump pxt-core to 0.5.97 2016-12-09 11:15:48 -08:00
Peli de Halleux
6e067bffd5 using built-deploy deployment features
deploy to drives has been migrated to PXT
2016-12-08 21:10:46 -08:00
Peli de Halleux
4a4007ba41 fixing uploader link 2016-12-08 12:33:31 -08:00
Peli de Halleux
c9db08a2c6 0.6.33 2016-12-08 12:18:56 -08:00
Peli de Halleux
5ec303b95c Bump pxt-core to 0.5.96 2016-12-08 12:18:53 -08:00
Peli de Halleux
3d0523a298 fix for roll/pitch in simulator.
fix for https://github.com/Microsoft/pxt/issues/893
2016-12-08 12:14:34 -08:00
Peli de Halleux
3469ad6f8d Added note about protocol encoding. 2016-12-08 12:01:35 -08:00
Peli de Halleux
d791738d84 fixing y values in accelerometer simulator
fix for https://github.com/Microsoft/pxt/issues/893
2016-12-08 11:57:17 -08:00
Peli de Halleux
355c341d36 0.6.32 2016-12-08 10:56:49 -08:00
Peli de Halleux
1adb4a2bac Bump pxt-core to 0.5.95 2016-12-08 10:56:46 -08:00
Peli de Halleux
03c0339e9a fixing docs snippets 2016-12-08 09:16:27 -08:00
Peli de Halleux
1649811015 expose "delete" in blocks.
fix for https://github.com/Microsoft/pxt/issues/870
2016-12-08 08:54:05 -08:00
Peli de Halleux
14f16f9b2c expose game.setScore in blocks
fix for https://github.com/Microsoft/pxt/issues/881
2016-12-08 08:51:18 -08:00
Peli de Halleux
66d3c6c7e8 fix for https://github.com/Microsoft/pxt/issues/549 2016-12-08 08:28:28 -08:00
Peli de Halleux
7f27432222 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-12-08 00:12:49 -08:00
Peli de Halleux
870b26a85a updated lessons to use radio 2016-12-08 00:10:00 -08:00
Abhijith Chatra
aa6cb58dca Merge pull request #320 from Microsoft/delete
Placement new occurances need explicit delete
2016-12-07 18:09:35 -08:00
Abhijith
6398a42dad Placement new occurances need explicit delete 2016-12-07 18:00:03 -08:00
Sam El-Husseini
cfc3eae77c adding monacotoolboxbuttons margin 2016-12-07 17:03:28 -08:00
Sam El-Husseini
438b745d32 Merge branch 'master' into pr/monacotoolbox 2016-12-07 17:02:07 -08:00
Richard Knoll
21473f5b9b Fixing array deallocation leak (#317)
* Fixing array deallocation leak

* Moving delete down to the individual destroy methods
2016-12-07 15:44:35 -08:00
Peli de Halleux
c85b6f9507 using calibrated powers for Eddystone 2016-12-07 11:37:33 -08:00
Peli de Halleux
019b00209e moving blocks to advanced 2016-12-07 09:49:19 -08:00
Peli de Halleux
6c11dbcdf4 added setTransmitPower in BLE 2016-12-07 09:05:03 -08:00
Peli de Halleux
91197c5cec updated BLE settings 2016-12-07 08:07:08 -08:00
Peli de Halleux
9e5d9787c7 linking to pxt issue tracker 2016-12-06 21:51:51 -08:00
Sam El-Husseini
1c11a4823b adjusting the blockly flyout opacity. 2016-12-06 21:48:21 -08:00
Peli de Halleux
d457c3e8d0 exposing delete in blocks 2016-12-06 16:19:35 -08:00
Sam El-Husseini
2ae21efb7b Moving blockly toolbox button margins to target. 2016-12-06 15:06:16 -08:00
Owen Brotherwood
30211aa006 Correction for max. length of advertised url to 17
https://github.com/google/eddystone/tree/master/eddystone-url#frame-specification states 1-17
When one makes a general google for the max length, some have written 18 and some 17 :(
The difference could lie in the https://github.com/google/eddystone/tree/master/eddystone-url#url-scheme-prefix which adds an extra byte but it's use is to in someway allow for more bytes in the 1-17.
The implementation in the micro:bit Lancaster is unknown as to how the url-scheme-prefix is or is not used: there does not seem to be a scheme for "Just take the 1-17" for the url.

At the moment, "play it safe" and write 17 ?
2016-12-06 20:51:44 +01:00
Peli de Halleux
485a42758c 0.6.31 2016-12-06 11:32:24 -08:00
Peli de Halleux
0da5a5a349 Bump pxt-core to 0.5.91 2016-12-06 11:32:22 -08:00
Sam El-Husseini
efca68672a Support for monaco toolbox 2016-12-06 00:34:42 -08:00
Sam El-Husseini
41ce2f66fa removing add package less variable 2016-12-05 23:55:46 -08:00
Sam El-Husseini
9393fc166e Styling add package and undo blockly buttons 2016-12-05 21:24:57 -08:00
Sam El-Husseini
cfb4382941 support for monaco toolbox 2016-12-05 19:01:14 -08:00
Sam El-Husseini
aaca24ff5b using add package color less variable 2016-12-05 18:09:23 -08:00
Sam El-Husseini
0ce9be1a2b removing toolbox right border. 2016-12-05 17:59:20 -08:00
Sam El-Husseini
a88eb7fe02 Changing main menu color, primary color and adding tiny borders around blockly toolbox 2016-12-05 17:30:04 -08:00
Peli de Halleux
06e4f7fb5c Updated BLE project settings 2016-12-05 15:33:40 -08:00
Peli de Halleux
1b36485208 0.6.30 2016-12-05 15:10:13 -08:00
Peli de Halleux
3b54cefa95 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-12-05 15:02:51 -08:00
Peli de Halleux
52857c9541 added beacon configuration 2016-12-05 15:02:39 -08:00
Sam El-Husseini
d10c2a20bd More IE fixes. Using important to override blocky related CSS. 2016-12-05 13:43:57 -08:00
Peli de Halleux
e2482cdf91 0.6.29 2016-12-05 13:22:06 -08:00
Peli de Halleux
c045d87e4c Bump pxt-core to 0.5.90 2016-12-05 13:22:03 -08:00
Peli de Halleux
34e23934b0 better bluetooth settings 2016-12-05 13:02:11 -08:00
Peli de Halleux
354196e01e missing block annotation on led.enable 2016-12-05 09:17:42 -08:00
Peli de Halleux
bb2e8d0aef 'devices' depends on 'bluetooth' 2016-12-05 09:05:54 -08:00
Peli de Halleux
90f4e895d4 0.6.28 2016-12-03 23:22:42 -08:00
Peli de Halleux
58c554caa6 Bump pxt-core to 0.5.88 2016-12-03 23:22:40 -08:00
Sam El-Husseini
6c688a7e59 Fix Edge / IE issue where the blockly toolbox background isn't respected. 2016-12-02 18:33:42 -08:00
Abhijith
71244065bb 0.6.27 2016-12-02 13:20:00 -08:00
Abhijith Chatra
bbb1bc3dd7 Merge pull request #314 from Microsoft/pr/theming
Theming the microbit target
2016-12-02 13:18:10 -08:00
Peli de Halleux
806d0e2cff 0.6.26 2016-12-02 12:58:15 -08:00
Peli de Halleux
e0c4af1cae Bump pxt-core to 0.5.87 2016-12-02 12:58:13 -08:00
Peli de Halleux
475821564e fixing justworks support 2016-12-02 09:45:59 -08:00
Sam El-Husseini
9d65dd605b Monaco editor theming. 2016-12-01 22:05:37 -08:00
Sam El-Husseini
67eec44411 Minor fixes. 2016-12-01 21:58:16 -08:00
Sam El-Husseini
280b555f86 Theming the microbit target 2016-12-01 18:35:10 -08:00
Peli de Halleux
2fcd32de0d 0.6.25 2016-11-30 23:36:40 -08:00
Peli de Halleux
78694e86a2 0.6.24 2016-11-30 16:07:34 -08:00
Peli de Halleux
aeaa3d7bc1 updated localization files 2016-11-30 16:07:04 -08:00
Peli de Halleux
af8ce3fccf allow for double, breve note durations 2016-11-30 16:06:17 -08:00
Peli de Halleux
47ef096b0f 0.6.23 2016-11-30 11:05:33 -08:00
Peli de Halleux
86c5c27b12 Bump pxt-core to 0.5.85 2016-11-30 11:05:31 -08:00
Peli de Halleux
520c9217a5 Merge pull request #313 from Microsoft/packageconfigs
support for specifying different pairings
2016-11-30 10:54:14 -08:00
Peli de Halleux
4a34f2b932 support for specifying different pairings 2016-11-30 10:35:42 -08:00
Peli de Halleux
034897b0a6 fixing docs issues 2016-11-30 05:00:34 -08:00
Peli de Halleux
b504abc6da 0.6.22 2016-11-30 04:55:33 -08:00
Peli de Halleux
6dbfb9e96e Bump pxt-core to 0.5.84 2016-11-30 04:55:31 -08:00
Peli de Halleux
d1021a30ca Merge pull request #312 from Microsoft/eddystone
Eddystone
2016-11-30 04:55:08 -08:00
Peli de Halleux
8d37be7cbe use optional config to allow override flags in referenced project 2016-11-30 04:35:24 -08:00
Peli de Halleux
97066e1ba4 enabling justworks pairing mode for bluetooth 2016-11-30 04:30:53 -08:00
Peli de Halleux
097564748c fixing simulator 2016-11-30 04:27:08 -08:00
Peli de Halleux
d873cbb6c3 updated api definitions 2016-11-30 04:24:52 -08:00
Peli de Halleux
adef3a6487 updated docs 2016-11-30 04:19:17 -08:00
Peli de Halleux
be0984cc4a integrating eddystone into bluetooth package 2016-11-30 04:06:15 -08:00
Peli de Halleux
f0947cddaa updated signatures 2016-11-29 23:39:52 -08:00
Peli de Halleux
c5c5362b5d Merge branch 'master' into eddystone 2016-11-29 23:27:49 -08:00
Peli de Halleux
bcbbb1366a Merge pull request #311 from Microsoft/coregone
merging ksbit.h into pxt.h
2016-11-29 23:26:24 -08:00
Peli de Halleux
19fb5ecf01 merging ksbit.h into pxt.h 2016-11-29 21:35:26 -08:00
Peli de Halleux
0401aa60d2 Merge pull request #310 from Microsoft/coregone
merging pxt-microbit-core into the target
2016-11-29 15:23:02 -08:00
Peli de Halleux
e0c016fbf4 moving definition out of ksbit.h 2016-11-29 15:15:22 -08:00
Peli de Halleux
f046f0e50c merging pxt-microbit-core into the target 2016-11-29 15:06:34 -08:00
Sam El-Husseini
90f48ac77a Enable reference help switch in javascript editor. 2016-11-29 14:53:26 -08:00
Peli de Halleux
23f83df6df Merge pull request #309 from Microsoft/musicpin
support for setting music pin using analogSetPitchPin
2016-11-29 13:41:16 -08:00
Peli de Halleux
98e4f80399 updated crowdin info 2016-11-29 13:12:32 -08:00
Peli de Halleux
b1fcc51bc8 preparing support for eddystone 2016-11-29 09:21:23 -08:00
Peli de Halleux
63e24ce90a support for setting music pin using analogSetPitchPin 2016-11-29 08:59:54 -08:00
Peli de Halleux
63d0b86508 0.6.21 2016-11-29 00:04:43 -08:00
Peli de Halleux
672f3b94ca Bump pxt-core to 0.5.81 2016-11-29 00:04:41 -08:00
Peli de Halleux
f0b91b07c1 fix typo 2016-11-29 00:04:21 -08:00
Peli de Halleux
2923d045b1 0.6.20 2016-11-28 22:59:39 -08:00
Peli de Halleux
3cf36b4549 Bump pxt-core to 0.5.80 2016-11-28 22:59:38 -08:00
Peli de Halleux
a42aa553e6 Merge pull request #308 from Microsoft/cmdsbuild
fixing imports in cmds.ts
2016-11-28 22:50:05 -08:00
Peli de Halleux
b12598e421 working around import issue 2016-11-28 22:07:40 -08:00
Peli de Halleux
9a85075456 0.6.19 2016-11-28 21:24:44 -08:00
Peli de Halleux
ce7b630870 Bump pxt-core to 0.5.79 2016-11-28 21:24:41 -08:00
Peli de Halleux
9ac308da92 0.6.18 2016-11-28 21:11:21 -08:00
Peli de Halleux
6315ca90e5 Bump pxt-core to 0.5.78 2016-11-28 21:11:19 -08:00
Peli de Halleux
ecfe0a7f16 0.6.17 2016-11-28 20:44:04 -08:00
Peli de Halleux
f701bca23f Bump pxt-core to 0.5.77 2016-11-28 20:44:02 -08:00
Brahma Giri Abhijith Chatra
7313c76e8b Updating with the MIT license text and contributing guideline 2016-11-28 17:11:45 -08:00
Peli de Halleux
77003b30f2 fixed scroll-image reference 2016-11-28 11:38:37 -08:00
Peli de Halleux
274bb9e042 0.6.16 2016-11-17 05:47:13 -08:00
Peli de Halleux
e316f068e2 Bump pxt-core to 0.5.76 2016-11-17 05:47:11 -08:00
Peli de Halleux
c75e77593a adding loc annotations 2016-11-17 05:30:10 -08:00
Peli de Halleux
ecbf8409ea Merge pull request #307 from Microsoft/scrollimage
Fixing scrollImage to actually scroll
2016-11-17 04:44:44 -08:00
Abhijith
411fe52813 Fixing scrollimage to actually scroll. 2016-11-16 18:16:49 -08:00
Peli de Halleux
0d04376413 0.6.15 2016-11-15 20:10:08 -08:00
Peli de Halleux
5deffe832c Bump pxt-core to 0.5.75 2016-11-15 20:10:07 -08:00
Sam El-Husseini
528f696b8c Removing gettingStarted property from pxtarget.json. Using sideDoc instead. 2016-11-14 14:24:21 -08:00
Peli de Halleux
dfb5f7dd11 0.6.14 2016-11-14 07:13:33 -08:00
Peli de Halleux
a4fb934a18 Bump pxt-core to 0.5.73 2016-11-14 07:13:31 -08:00
Peli de Halleux
59b11ec2a9 Updating the mutate attribute of radio block (#306) 2016-11-14 07:12:24 -08:00
Peli de Halleux
d961e14e5c bumped to 0.6.13 2016-11-11 15:14:54 -08:00
Peli de Halleux
83c8c07b94 0.6.13 2016-11-11 15:07:50 -08:00
Peli de Halleux
152f84cd79 Bump pxt-core to 0.5.72 2016-11-11 15:07:47 -08:00
Peli de Halleux
ef58b54fdb adding projects menu 2016-11-11 15:06:41 -08:00
Peli de Halleux
50e2f3fa94 0.6.12 2016-11-11 14:05:00 -08:00
Peli de Halleux
14f4e6092a Bump pxt-core to 0.5.71 2016-11-11 14:04:56 -08:00
Peli de Halleux
f7a005c656 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-11 13:37:51 -08:00
Peli de Halleux
7e19fbb3ca updated translations 2016-11-11 13:37:29 -08:00
Sam El-Husseini
e706809037 Adding getting-started option 2016-11-11 13:36:40 -08:00
Peli de Halleux
5d6bc2f5df updated loc files 2016-11-11 10:44:21 -08:00
Richard Knoll
22433317b9 Updating the mutate attribute of radio block 2016-11-11 08:16:27 -08:00
Peli de Halleux
fabf09477c fixing broken link 2016-11-11 06:54:17 -08:00
Peli de Halleux
f9e0fe1b8d 0.6.11 2016-11-11 06:48:59 -08:00
Peli de Halleux
c49fb27d4c Bump pxt-core to 0.5.68 2016-11-11 06:48:58 -08:00
Peli de Halleux
24b20543c5 moving less, semantic to dev dependencies 2016-11-10 22:56:33 -08:00
Peli de Halleux
be97665ea2 0.6.10 2016-11-10 14:53:50 -08:00
Peli de Halleux
657cdeb53e Bump pxt-core to 0.5.66 2016-11-10 14:53:48 -08:00
Guillaume Jenkins
08575d352b pxt-microbit can now be required and exports useful information about its bundled pxt-core (#305) 2016-11-10 12:12:57 -08:00
Peli de Halleux
c9ba7af3f3 0.6.9 2016-11-10 08:53:57 -08:00
Peli de Halleux
917072a336 Bump pxt-core to 0.5.64 2016-11-10 08:53:54 -08:00
Peli de Halleux
fd5357b273 simplify projects 2016-11-10 08:37:13 -08:00
Peli de Halleux
3a8bbfbd91 0.6.8 2016-11-09 05:32:09 -08:00
Peli de Halleux
0b457d6a50 Bump pxt-core to 0.5.62 2016-11-09 05:32:08 -08:00
Peli de Halleux
4f960f5585 0.6.7 2016-11-09 05:11:13 -08:00
Peli de Halleux
5e62d5c30d Bump pxt-core to 0.5.61 2016-11-09 05:11:11 -08:00
Peli de Halleux
4aa2d129e9 Adding list of domains that need to be allowed for editor 2016-11-08 15:44:51 -08:00
Peli de Halleux
09f4001c7a exposing programSize function 2016-11-08 10:17:25 -08:00
Peli de Halleux
eae2f0436d 0.6.6 2016-11-08 08:57:34 -08:00
Peli de Halleux
287c9da3bd Bump pxt-core to 0.5.59 2016-11-08 08:57:31 -08:00
Peli de Halleux
056ec1bc96 0.6.5 2016-11-07 22:25:49 -08:00
Peli de Halleux
16439bfca3 Bump pxt-core to 0.5.58 2016-11-07 22:25:45 -08:00
Peli de Halleux
7117ba771e support for multiple simulated servos 2016-11-07 22:25:19 -08:00
Peli de Halleux
633522c800 removing dangling file 2016-11-07 13:31:24 -08:00
Peli de Halleux
3f94033c7d Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-07 13:30:53 -08:00
Owen Brotherwood
1bc00f476c Requirement for node version used is not correct (#304)
Consider referring to requirements for pxt to reduce time on updating all pxt dependants.
2016-11-07 13:26:19 -08:00
Peli de Halleux
0269ffa5ae support for filesystem in simulator 2016-11-07 11:11:38 -08:00
Sam El-Husseini
c64225982e Merge pull request #302 from Microsoft/pr/firefoxtiltfix
Fix for accelerometer simulator not working in firefox.
2016-11-07 10:43:49 -08:00
Sam El-Husseini
29eef560b0 whitespace 2016-11-07 10:33:22 -08:00
Peli de Halleux
90e191c4ca 0.6.4 2016-11-07 10:17:20 -08:00
Peli de Halleux
efd310f0b4 added afterProgramPage to C++ declarations 2016-11-07 10:17:03 -08:00
Peli de Halleux
0a5c2e4df9 0.6.3 2016-11-07 09:52:34 -08:00
Peli de Halleux
1d6eaf0370 Bump pxt-core to 0.5.54 2016-11-07 09:52:30 -08:00
Michal Moskal
b4b789422e Add afterProgramPage() for filesystem support 2016-11-07 16:04:15 +00:00
Peli de Halleux
cf982d7c52 removing upload step 2016-11-06 20:38:53 -08:00
Peli de Halleux
2dafe5d253 0.6.2 2016-11-06 20:30:31 -08:00
Peli de Halleux
63422bf696 Bump pxt-core to 0.5.53 2016-11-06 20:30:27 -08:00
Peli de Halleux
56dc8571b7 0.6.1 2016-11-06 19:54:26 -08:00
Peli de Halleux
d9190369b7 bumped to 0.6 to reflect move to DAL rc5. 2016-11-06 19:53:44 -08:00
Peli de Halleux
ea4bc7f4e8 0.5.35 2016-11-05 06:18:11 -07:00
Peli de Halleux
7aa136d01c Bump pxt-core to 0.5.51 2016-11-05 06:18:08 -07:00
Peli de Halleux
4eeae7e239 0.5.34 2016-11-04 21:51:14 -07:00
Peli de Halleux
11b6ba0862 Bump pxt-core to 0.5.50 2016-11-04 21:51:12 -07:00
Guillaume Jenkins
349a385f97 Move templates to directly under libs/ (#303) 2016-11-04 18:32:13 -07:00
Sam El-Husseini
48afb52ef1 Fix for accelerometer simulator not working in firefox. Fixes Microsoft/pxt/#679 2016-11-04 15:39:57 -07:00
Peli de Halleux
e5dc046fcc moving live to 0.5.33 2016-11-04 13:38:01 -07:00
Peli de Halleux
7f7aa1c60b updated fr translations 2016-11-04 12:59:11 -07:00
Peli de Halleux
584aaf8c6d updated translations 2016-11-04 12:54:39 -07:00
Peli de Halleux
029b5cda2b 0.5.33 2016-11-04 11:42:16 -07:00
Peli de Halleux
ed2f6d05ad Bump pxt-core to 0.5.49 2016-11-04 11:42:14 -07:00
Peli de Halleux
26e20d75a4 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-04 11:41:43 -07:00
Guillaume Jenkins
31f5db32d1 Move hex cache (#291)
* hexcache is no longer generated at repo root, so remove it from package.json

* Modified templates to depend on local packages

* Adding bluetooth template for offline HEX cache

* Fix wrong package name in dependencies of bluetooth template

* Change package versions to * in templates
2016-11-04 11:38:00 -07:00
Peli de Halleux
107fe2aefa enable package search 2016-11-04 11:25:05 -07:00
Peli de Halleux
171f578b0b added coderdojo package 2016-11-04 11:07:07 -07:00
Peli de Halleux
90756557f2 updated config 2016-11-04 10:32:29 -07:00
Peli de Halleux
1e89d142ec updated packages config. 2016-11-04 10:14:28 -07:00
Peli de Halleux
002f08ca37 adding empty target config 2016-11-04 10:12:21 -07:00
Peli de Halleux
054501ace0 added reference 2016-11-04 08:18:43 -07:00
Peli de Halleux
980fbc9c1e 0.5.32 2016-11-03 15:56:38 -07:00
Peli de Halleux
dab48cf42d Bump pxt-core to 0.5.48 2016-11-03 15:56:36 -07:00
Peli de Halleux
652abe0892 Wallet (#301)
* adding images

* fixed image path

* half way through instructions

* updating maker instructions

* adding protection section

* renaming making -> make

* fixed link

* added coding section

* updated lessons

* fix broken links
2016-11-03 15:49:29 -07:00
Peli de Halleux
781472e7ce 0.5.31 2016-11-03 09:51:14 -07:00
Peli de Halleux
1e4197b4fa Bump pxt-core to 0.5.47 2016-11-03 09:51:12 -07:00
Peli de Halleux
8ec20b87d7 exposing locs for all apis with jsdoc 2016-11-03 09:43:20 -07:00
Peli de Halleux
3a6e132c7f updatd DAL file 2016-11-03 09:20:30 -07:00
Peli de Halleux
41c7e88928 adding reference to files package 2016-11-02 16:48:59 -07:00
Peli de Halleux
19f757e159 Upgrading to DAL 2.0rc5 (#300)
* basic skeleton for filesystem project

* updated to DAL rc5

* basic file operations

* support for basic file operations (append, remove)

* removing files project
2016-11-02 16:11:08 -07:00
Peli de Halleux
fb222fd732 removing target specific meta (#299)
* updating favicon manifests

* use meta generated from target
2016-11-02 15:14:06 -07:00
Peli de Halleux
937bcc61ad 0.5.30 2016-11-02 15:07:50 -07:00
Peli de Halleux
7d61e5fe7c Bump pxt-core to 0.5.44 2016-11-02 15:07:47 -07:00
Peli de Halleux
773dae8fc8 0.5.29 2016-11-02 14:53:56 -07:00
Peli de Halleux
511f399d90 Bump pxt-core to 0.5.43 2016-11-02 14:53:53 -07:00
Peli de Halleux
633ce491af 0.5.28 2016-11-02 14:41:45 -07:00
Peli de Halleux
8193c4790f Bump pxt-core to 0.5.42 2016-11-02 14:41:41 -07:00
Peli de Halleux
21e64d01e3 updated addon for pxt.microbit.org 2016-11-02 14:23:08 -07:00
Peli de Halleux
641d8fcb9b 0.5.27 2016-11-02 13:09:14 -07:00
Peli de Halleux
84736554b9 0.5.26 2016-11-02 12:54:10 -07:00
Peli de Halleux
e2c7579dd4 Bump pxt-core to 0.5.41 2016-11-02 12:53:53 -07:00
Peli de Halleux
e0cf776591 0.5.25 2016-11-01 21:48:42 -07:00
Peli de Halleux
da38ca2234 Bump pxt-core to 0.5.37 2016-11-01 21:48:40 -07:00
Peli de Halleux
682ae92a08 updated docs with @homeurl@ 2016-11-01 21:48:11 -07:00
Sam El-Husseini
f5f36d9cca Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-11-01 17:48:34 -07:00
Sam El-Husseini
19775e307a Updating to use pxt.less 2016-11-01 17:48:29 -07:00
Peli de Halleux
89406330cf rename micro:bit to @boardname@ 2016-11-01 17:44:37 -07:00
Peli de Halleux
9bc1e38345 0.5.24 2016-11-01 10:42:57 -07:00
Peli de Halleux
85d5073fbb Bump pxt-core to 0.5.35 2016-11-01 10:42:53 -07:00
Peli de Halleux
d76d92e041 inserting macros instead of hard coded board names 2016-11-01 10:42:42 -07:00
Peli de Halleux
6799721c9b 0.5.23 2016-11-01 09:27:43 -07:00
Peli de Halleux
16cf45aa7c updated localization files 2016-11-01 09:23:04 -07:00
Peli de Halleux
4963bf776a basic servo simulation (#297) 2016-11-01 08:16:03 -07:00
Peli de Halleux
237c5c019b 0.5.22 2016-11-01 07:41:40 -07:00
Peli de Halleux
cf37baa337 Bump pxt-core to 0.5.34 2016-11-01 07:41:36 -07:00
Peli de Halleux
7303a1235f bumped to v0.5.21 2016-10-28 15:51:26 -07:00
Peli de Halleux
38ee5efdd4 0.5.21 2016-10-28 15:44:02 -07:00
Peli de Halleux
474d5bb762 turning off streams 2016-10-28 15:43:43 -07:00
Guillaume Jenkins
f045942297 Project templates (#295)
Moved default projects from pxtarget.json to libs/templates/
2016-10-28 14:12:25 -07:00
Sam El-Husseini
7936517a03 0.5.20 2016-10-28 14:05:18 -07:00
Sam El-Husseini
ee60396e35 Bump pxt-core to 0.5.28 2016-10-28 14:05:17 -07:00
Peli de Halleux
307d25ce7d 0.5.19 2016-10-28 13:21:39 -07:00
Peli de Halleux
ec48474231 Bump pxt-core to 0.5.26 2016-10-28 13:21:38 -07:00
Peli de Halleux
524bcee5ed cleanup bundled locals in core package 2016-10-28 11:20:41 -07:00
Peli de Halleux
83cfd5738f 0.5.18 2016-10-28 10:41:21 -07:00
Peli de Halleux
83b8ba1102 Bump pxt-core to 0.5.24 2016-10-28 10:41:19 -07:00
Peli de Halleux
2169cb044c 0.5.17 2016-10-28 08:53:05 -07:00
Peli de Halleux
76adc3c00a added led.enable (#294)
* added led.enable

* fixed simulator support for led.enable
2016-10-28 08:34:04 -07:00
Peli de Halleux
c6e38bd7a9 0.5.16 2016-10-28 00:19:09 -07:00
Peli de Halleux
c60a4cb359 Bump pxt-core to 0.5.23 2016-10-28 00:19:07 -07:00
Sam El-Husseini
298382c19f UI theming changes. 2016-10-27 16:12:53 -07:00
Peli de Halleux
ef849b645b 0.5.15 2016-10-27 16:06:07 -07:00
Peli de Halleux
78e8c9f176 Bump pxt-core to 0.5.20 2016-10-27 16:06:05 -07:00
Peli de Halleux
57aadd0b27 0.5.14 2016-10-27 15:54:16 -07:00
Peli de Halleux
e60c163b08 Bump pxt-core to 0.5.19 2016-10-27 15:54:11 -07:00
Richard Knoll
95e4c609a4 Rename the parameters for the sendValue block (#293) 2016-10-27 14:48:22 -07:00
Peli de Halleux
f2e1bc0168 0.5.13 2016-10-27 11:20:53 -07:00
Peli de Halleux
5c818980ed Bump pxt-core to 0.5.17 2016-10-27 11:20:51 -07:00
Peli de Halleux
172aa6a4d7 updated translated docs 2016-10-27 11:15:35 -07:00
Peli de Halleux
c5b9d0876a 0.5.12 2016-10-26 21:48:17 -07:00
Peli de Halleux
4716d06fe6 Bump pxt-core to 0.5.16 2016-10-26 21:48:14 -07:00
Peli de Halleux
a2aaed2923 0.5.11 2016-10-26 18:18:20 -07:00
Peli de Halleux
38aa6439a2 Bump pxt-core to 0.5.15 2016-10-26 18:18:18 -07:00
Michal Moskal
f078d59bb5 Remove testing file 2016-10-26 11:45:15 +01:00
Michal Moskal
dffbe5dcb4 Testing cdn fixes 2016-10-26 10:15:05 +01:00
Peli de Halleux
d0821710f6 0.5.10 2016-10-25 16:46:14 -07:00
Peli de Halleux
2291f8b899 Bump pxt-core to 0.5.12 2016-10-25 16:46:12 -07:00
Richard Knoll
2bc5db517e Renaming the string in onDataPacketReceived and updating docs (#292) 2016-10-25 16:39:13 -07:00
Richard Knoll
f191d9033d Updating radio JSON writing API (#290) 2016-10-25 16:38:01 -07:00
Michal Moskal
7d912110f4 Bumping main version to 0.5.9 with fixed icons 2016-10-25 19:53:11 +01:00
Michal Moskal
ae882a0107 0.5.9 2016-10-25 18:55:10 +01:00
Michal Moskal
367e80cb77 Bump pxt-core to 0.5.11 2016-10-25 18:55:09 +01:00
Peli de Halleux
c3865afe8c removing references to older gesture events 2016-10-25 09:46:20 -07:00
Peli de Halleux
6b9b636ae6 moving master to v.0.5.8 2016-10-25 08:19:19 -07:00
Peli de Halleux
9a20841c6e 0.5.8 2016-10-25 06:42:40 -07:00
Peli de Halleux
9e95f1a442 Bump pxt-core to 0.5.10 2016-10-25 06:42:39 -07:00
Peli de Halleux
c6ce36065e added blocks / TouchDevelop .hex files 2016-10-25 06:42:20 -07:00
Peli de Halleux
27f28032fb 0.5.7 2016-10-24 23:12:26 -07:00
Peli de Halleux
2dc9cffa99 Bump pxt-core to 0.5.9 2016-10-24 23:12:24 -07:00
Peli de Halleux
376512f704 0.5.6 2016-10-24 22:47:12 -07:00
Peli de Halleux
3813fba899 Bump pxt-core to 0.5.8 2016-10-24 22:47:10 -07:00
Peli de Halleux
84816f4f39 0.5.5 2016-10-24 16:39:21 -07:00
Peli de Halleux
2b095dfe21 Bump pxt-core to 0.5.7 2016-10-24 16:39:18 -07:00
Peli de Halleux
2e3cdee2a2 added deprecated radio api test 2016-10-24 16:34:33 -07:00
Richard Knoll
ec404e5887 Deprecating old radio APIs and fixing docs (#289) 2016-10-24 16:30:21 -07:00
Sam El-Husseini
ba69563bf4 Adding theming support to pxt-microbit. (#288) 2016-10-24 14:55:21 -07:00
Peli de Halleux
cc6594921f 0.5.4 2016-10-24 13:50:41 -07:00
Peli de Halleux
bf1269b82e Bump pxt-core to 0.5.4 2016-10-24 13:50:39 -07:00
Richard Knoll
79c89b832a New Radio API (#287)
* Adding radio API for receiving a packet

* More new radio API changes

* renaming some properties

* Redoing radio packet parsing and updating new callback api
2016-10-24 12:55:44 -07:00
Peli de Halleux
3ccc8b7db3 0.5.3 2016-10-24 12:52:33 -07:00
Michal Moskal
7c8bae3cf0 0.5.2 2016-10-24 20:51:33 +01:00
Michal Moskal
000f784011 Bump pxt-core to 0.5.3 2016-10-24 20:51:33 +01:00
Guillaume Jenkins
d85446d34d Support for offline hex cache (#282) 2016-10-24 12:32:05 -07:00
Michal Moskal
06641d4e5c Beta is latest tagged releases 2016-10-24 16:58:12 +01:00
Michal Moskal
a705c4882b Add initial release pointers 2016-10-24 16:48:03 +01:00
Michal Moskal
784565b24e 0.5.1 2016-10-24 16:31:48 +01:00
Michal Moskal
b59e4effff Bump pxt-core to 0.5.1 2016-10-24 16:31:48 +01:00
Michal Moskal
2db2741b08 Bumping to 0.5 (to ~sync with pxt) 2016-10-24 16:30:56 +01:00
Peli de Halleux
66a46e4046 fixing links in docs 2016-10-22 23:04:08 -07:00
David Whale
2f11d603e7 Added a range of original TouchDevelop scripts converted to .ts for tests (#283) 2016-10-22 21:32:57 -07:00
Peli de Halleux
8089fe262e 0.4.64 2016-10-22 21:29:43 -07:00
Peli de Halleux
7d7d13f3ab Bump pxt-core to 0.4.74 2016-10-22 21:29:41 -07:00
Peli de Halleux
bd1536132d fixing references / snippets
cleanup "snippets" compilation state
2016-10-22 21:29:31 -07:00
Peli de Halleux
fcefe1ed36 Fixing a few typos 2016-10-22 20:34:18 -07:00
Peli de Halleux
748581d76d 0.4.63 2016-10-22 20:31:17 -07:00
Peli de Halleux
f21f9e6e88 Bump pxt-core to 0.4.73 2016-10-22 20:31:15 -07:00
gingemonster
3f1817037e Added a new project, the magic button trick (#284)
* adding the 'magic button trick' project

* tweaking text and fixing spelling mistakes

* adding vscode temp files to gitignore

* updated after feedback

* removing vscode temp files

* missed two vars

* deleting vscode temp file
2016-10-22 19:53:48 -07:00
Peli de Halleux
4bcba9b9e5 0.4.62 2016-10-21 14:51:39 -07:00
Peli de Halleux
b3b836d77c Bump pxt-core to 0.4.72 2016-10-21 14:50:55 -07:00
Peli de Halleux
a2cb2c2ed0 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-10-21 14:46:23 -07:00
Abhijith Chatra
44e2ffc874 Merge pull request #281 from Microsoft/musicfix
Fixing music doc issues
2016-10-21 14:21:19 -07:00
Peli de Halleux
64b68c7439 updated faq to point to support 2016-10-21 11:45:29 -07:00
Peli de Halleux
198b24c6a4 use secure support link 2016-10-21 11:42:29 -07:00
Peli de Halleux
a90a43d719 updated logo 2016-10-21 11:12:03 -07:00
Peli de Halleux
f9d138cb42 migrating to pxt.microbit.org settings 2016-10-21 10:49:04 -07:00
Peli de Halleux
13089f92a8 using default tracking settings 2016-10-21 09:56:28 -07:00
Abhijith
0b1b312e76 Fixing music doc issues 2016-10-21 08:48:43 -07:00
Peli de Halleux
958ff2ef40 0.4.61 2016-10-20 22:45:57 -07:00
Peli de Halleux
eaf982903f Bump pxt-core to 0.4.71 2016-10-20 22:45:50 -07:00
Peli de Halleux
cbfbcd080a 0.4.60 2016-10-20 15:09:13 -07:00
Peli de Halleux
9c389e290e Bump pxt-core to 0.4.70 2016-10-20 15:09:11 -07:00
Peli de Halleux
4dd26f854c 0.4.59 2016-10-20 12:18:39 -07:00
Peli de Halleux
66444b886c Bump pxt-core to 0.4.69 2016-10-20 12:18:37 -07:00
Peli de Halleux
0c01fdb30b adding favicon configuration file 2016-10-20 11:09:34 -07:00
Peli de Halleux
75c2ccdea9 0.4.58 2016-10-20 10:12:33 -07:00
Peli de Halleux
2dff5c1140 Bump pxt-core to 0.4.68 2016-10-20 10:12:31 -07:00
Peli de Halleux
0ab28076f3 removing windows 10 client, updated urls in chrome/macos/uploaders 2016-10-20 10:01:02 -07:00
760 changed files with 39450 additions and 3670 deletions

5
.gitignore vendored
View File

@@ -15,7 +15,8 @@ clients/win10/app/bld
clients/win10/*.opendb
clients/**/bin/**
clients/**/obj/**
clients/electron/projects
electron-out
hexcache
*.user
*.sw?
@@ -24,3 +25,5 @@ clients/electron/projects
*.db
*.suo
*.log
.vscode/.BROWSE.VC.DB-shm
.vscode/.BROWSE.VC.DB-wal

View File

@@ -8,7 +8,6 @@ script:
- "(cd libs/lang-test0; node ../../node_modules/pxt-core/built/pxt.js test)"
- "(cd libs/lang-test1; node ../../node_modules/pxt-core/built/pxt.js test)"
- "node node_modules/pxt-core/built/pxt.js testdir tests"
- "node node_modules/pxt-core/built/pxt.js uploaddoc"
- "(cd libs/hello; node ../../node_modules/pxt-core/built/pxt.js testconv https://az851932.vo.msecnd.net/files/td-converter-tests-v1.json)"
sudo: false
notifications:

View File

@@ -1,6 +1,6 @@
// Place your settings in this file to overwrite default and user settings.
{
"file.autoSave": "afterDelay",
"files.autoSave": "afterDelay",
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/built/**": true,

26
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,26 @@
# Contributing Code
PXT accepts bug fix pull requests. For a bug fix PR to be accepted, it must first have a tracking issue that has been marked approved. Your PR should link to the bug you are fixing. If you've submitted a PR for a bug, please post a comment in the bug to avoid duplication of effort.
PXT also accepts new feature pull requests. For a feature-level PR to be accepted, it first needs to have design discussion. Design discussion can take one of two forms a) a feature request in the issue tracker that has been marked as approved or b) the PR must be accompanied by a full design spec and this spec is later approved in the open design discussion. Features are evaluated against their complexity, impact on other features, roadmap alignment, and maintainability.
These two blogs posts on contributing code to open source projects are a good reference: [Open Source Contribution Etiquette](http://tirania.org/blog/archive/2010/Dec-31.html) by Miguel de Icaza and [Don't "Push" Your Pull Requests](https://www.igvita.com/2011/12/19/dont-push-your-pull-requests/) by Ilya Grigorik.
## Security
If you believe you have found a security issue in PXT, please share it with us privately following the guidance at the Microsoft [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094). Reporting it via this channel helps minimize risk to projects built with PXT.
## Legal
You will need to complete a Contributor License Agreement (CLA) before your pull request can be accepted. This agreement testifies that you are granting us permission to use the source code you are submitting, and that this work is being submitted under appropriate license that we can use it.
You can complete the CLA by going through the steps at https://cla.microsoft.com. Once we have received the signed CLA, we'll review the request. You will only need to do this once.
## Housekeeping
Your pull request should:
* Include a description of what your change intends to do
* Be a child commit of a reasonably recent commit in the master branch
* Pass all unit tests
* Have a clear commit message
* Include adequate tests

25
LICENSE.txt Normal file
View File

@@ -0,0 +1,25 @@
PXT - Programming Experience Toolkit
The MIT License (MIT)
Copyright (c) Microsoft Corporation
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -7,6 +7,10 @@ PXT ([Microsoft Programming Experience Toolkit](https://github.com/Microsoft/pxt
[![Build Status](https://travis-ci.org/Microsoft/pxt-microbit.svg?branch=master)](https://travis-ci.org/Microsoft/pxt-microbit)
## Issue tracking
All issue tracking for this repo happens at https://github.com/Microsoft/pxt, see you there!
## Local server
The local server allows to run the editor and the documentation from your computer.
@@ -15,7 +19,7 @@ The local server allows to run the editor and the documentation from your comput
The following commands are a 1-time setup after synching the repo on your machine.
* if not yet installed, install [Node.js 4.4.5 or higher](https://nodejs.org/en/download/)
* See requirements for [pxt](https://github.com/Microsoft/pxt)
* [clone this repo](https://help.github.com/articles/cloning-a-repository/) to your computer and go in the project folder
```
git clone https://github.com/microsoft/pxt-microbit

43
THIRD-PARTY-NOTICES.txt Normal file
View File

@@ -0,0 +1,43 @@
/*!----------------- PXT ThirdPartyNotices -------------------------------------------------------
PXT uses third party material from the projects listed below.
The original copyright notice and the license under which Microsoft
received such third party material are set forth below. Microsoft
reserves all other rights not expressly granted, whether by
implication, estoppel or otherwise.
In the event that we accidentally failed to list a required notice, please
bring it to our attention. Post an issue or email us:
abchatra@microsoft.com
---------------------------------------------
Third Party Code Components
---------------------------------------------
Some code derived (as noted) from
https://github.com/bbcmicrobit/micropython
The MIT License (MIT)
Copyright (c) 2013-2016 The MicroPython-on-micro:bit Developers, as listed
in the accompanying AUTHORS file
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -1,5 +1,5 @@
# microbit-chrome
Prototype chrome addon that exposes the micro:bit's serial output to webpages.
Prototype chrome addon that exposes the @boardname@'s serial output to webpages.
* watch the [demo video](https://vimeo.com/146207766)
# Installation

View File

@@ -1,4 +1,3 @@
///<reference path='typings/browser.d.ts'/>
var connections = [];
// A list of "ports", i.e. connected clients (such as web pages). Multiple web
// pages can connect to our service: they all receive the same data.
@@ -41,7 +40,7 @@ function findNewDevices() {
function main() {
// Register new clients in the [ports] global variable.
chrome.runtime.onConnectExternal.addListener(function (port) {
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit)$/.test(port.name)) {
if (/^(micro:bit|touchdevelop|yelm|pxt|codemicrobit|codethemicrobit|pxt.microbit.org)$/.test(port.name)) {
ports.push(port);
port.onDisconnect.addListener(function () {
ports = ports.filter(function (x) { return x != port; });

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -6,13 +6,13 @@
},
"manifest_version": 2,
"name": "code the micro:bit",
"version": "0.6.0",
"name": "pxt.microbit.org",
"version": "0.7.0",
"author": "Microsoft Corporation",
"short_name": "code the micro:bit",
"short_name": "pxt.microbit.org",
"description": "Extension for https://codethemicrobit.com.",
"homepage_url": "https://codethemicrobit.com",
"description": "Extension for https://pxt.microbit.org.",
"homepage_url": "https://pxt.microbit.org",
"offline_enabled": "true",
"icons": {
"48": "logo48.png",
@@ -25,6 +25,6 @@
],
"externally_connectable": {
"matches": [ "*://localhost/*", "https://codethemicrobit.com/*", "https://*.codethemicrobit.com/*" ]
"matches": [ "*://localhost/*", "https://pxt.microbit.org/*", "https://*.microbit.org/*" ]
}
}

View File

@@ -1,2 +0,0 @@
node_modules
projects

View File

@@ -1,5 +0,0 @@
# PXT micro:bit Electron app
A very basic wrapper around the web app. To install, copy the contents of this
directory to somewhere outside the main `pxt-microbit` repository. Then run `npm
install && npm start`.

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>code the micro:bit</title>
</head>
<body>
<webview id="webview" style="position:absolute; left:0; top:0; right:0; bottom:0"/>
<script>
const webview = document.getElementById("webview")
const url = `http://localhost:3232/${window.location.hash}`
webview.src = url
</script>
</body>
</html>

View File

@@ -1,39 +0,0 @@
const {app, BrowserWindow, Menu} = require('electron')
const pxt = require('pxt-core')
const path = require('path')
let win
const cliPath = path.join(process.cwd(), "node_modules/pxt-microbit")
function startServerAndCreateWindow() {
pxt.mainCli(cliPath, ["serve", "-no-browser"])
createWindow()
}
function createWindow () {
win = new BrowserWindow({
width: 800,
height: 600,
title: "code the micro:bit"
})
Menu.setApplicationMenu(null)
win.loadURL(`file://${__dirname}/index.html#local_token=${pxt.globalConfig.localToken}`)
win.on('closed', () => {
win = null
})
}
app.on('ready', startServerAndCreateWindow)
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
})
app.on('activate', () => {
if (win === null) {
createWindow()
}
})

View File

@@ -1,14 +0,0 @@
{
"name" : "code-the-microbit",
"version" : "1.0.0",
"description": "Blocks / Javascript editor",
"author": "Microsoft",
"main" : "main.js",
"scripts": {
"start": "node_modules/.bin/electron ."
},
"devDependencies": {
"electron": "*",
"pxt-microbit": "*"
}
}

View File

@@ -124,7 +124,7 @@
}
- (void)launchEditor:(id)sender {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://codethemicrobit.com/"]];
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://pxt.microbit.org/"]];
}
@end

View File

@@ -1,48 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "m.pxt.io", "app\m.pxt.io.jsproj", "{39122940-AB16-4CD4-A0CE-79A3EB863ECF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.ActiveCfg = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Build.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Deploy.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.ActiveCfg = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Build.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Deploy.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.ActiveCfg = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Build.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Deploy.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Build.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Deploy.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.ActiveCfg = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Build.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Deploy.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.ActiveCfg = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Build.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Deploy.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.ActiveCfg = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Build.0 = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -1 +0,0 @@
MainPackage=C:\gh\pxt-microbit\win10\app\bin\Debug\m.pxt.io_0.1.4.0_AnyCPU_Debug.appx

View File

@@ -1,85 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|AnyCPU">
<Configuration>Debug</Configuration>
<Platform>AnyCPU</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|AnyCPU">
<Configuration>Release</Configuration>
<Platform>AnyCPU</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>39122940-ab16-4cd4-a0ce-79a3eb863ecf</ProjectGuid>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0'">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).props" />
<PropertyGroup>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>$(VersionNumberMajor).$(VersionNumberMinor)</MinimumVisualStudioVersion>
<DefaultLanguage>en-US</DefaultLanguage>
<PackageCertificateKeyFile>pxtwinapp_TemporaryKey.pfx</PackageCertificateKeyFile>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>neutral</AppxBundlePlatforms>
</PropertyGroup>
<ItemGroup>
<AppxManifest Include="package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<Content Include="msapp-error.js" />
<Content Include="msapp-error.css" />
<Content Include="msapp-error.html" />
<Content Include="images\LockScreenLogo.scale-200.png" />
<Content Include="images\SplashScreen.scale-200.png" />
<Content Include="images\Square150x150Logo.scale-200.png" />
<Content Include="images\Square44x44Logo.scale-200.png" />
<Content Include="images\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="images\StoreLogo.png" />
<Content Include="images\Wide310x150Logo.scale-200.png" />
<None Include="pxtwinapp_TemporaryKey.pfx" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\$(WMSJSProjectDirectory)\Microsoft.VisualStudio.$(WMSJSProject).targets" />
<!-- To modify your build process, add your task inside one of the targets below then uncomment
that target and the DisableFastUpToDateCheck PropertyGroup.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<PropertyGroup>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>
-->
</Project>

View File

@@ -1,48 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{262852C6-CD72-467D-83FE-5EEB1973A190}") = "codethemicrobitapp", "codethemicrobitapp.jsproj", "{39122940-AB16-4CD4-A0CE-79A3EB863ECF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.ActiveCfg = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Build.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|ARM.Deploy.0 = Debug|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.ActiveCfg = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Build.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x64.Deploy.0 = Debug|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.ActiveCfg = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Build.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Debug|x86.Deploy.0 = Debug|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Build.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|Any CPU.Deploy.0 = Release|Any CPU
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.ActiveCfg = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Build.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|ARM.Deploy.0 = Release|ARM
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.ActiveCfg = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Build.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x64.Deploy.0 = Release|x64
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.ActiveCfg = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Build.0 = Release|x86
{39122940-AB16-4CD4-A0CE-79A3EB863ECF}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -1,17 +0,0 @@
body {
margin: 10px;
}
.tip {
font-size: 90%;
padding-left: 20px;
}
.paramName {
font-size: 100%;
color: black;
}
.paramValue {
color: black;
}

View File

@@ -1,26 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Navigation Error</title>
<link href="msapp-error.css" rel="stylesheet" type="text/css"/>
<script src="msapp-error.js" type="text/javascript"></script>
</head>
<body>
<h1>Navigation Error</h1>
<div id="failureUrl" class="param">
<span>-</span><span class="paramName">failureUrl</span><span>=</span>
<span id="failureUrlValue" class="paramValue"></span>
<span class="tip">(indicates the url where the error occurred)</span><br/>
</div><br/>
<div id="httpStatus" class="param">
<span>-</span><span class="paramName">httpStatus</span><span>=</span>
<span id="httpStatusValue" class="paramValue"></span>
<span class="tip">(available when the error has an http status code)</span><br/>
</div><br/>
<div id="failureName">
<span>-</span><span class="paramName">failureName</span><span>=</span>
<span id="failureNameValue" class="paramValue"></span>
<span class="tip">(available only when the error does not have a http status code)</span><br/>
</div>
</body>
</html>

View File

@@ -1,22 +0,0 @@
(function () {
var validParameterNames = [ "httpStatus", "failureName", "failureUrl" ];
function parseQueryParameters() {
var query = location.search.slice(1);
return query.split("&").reduce(function (queryParameters, rawPair) {
var pair = rawPair.split("=").map(decodeURIComponent);
queryParameters[pair[0]] = pair[1];
return queryParameters;
}, {});
}
function initialize() {
var queryParameters = parseQueryParameters();
validParameterNames.forEach(function (parameterName) {
var parameterValue = queryParameters[parameterName] || "N/A";
document.getElementById(parameterName + "Value").textContent = parameterValue;
});
}
document.addEventListener("DOMContentLoaded", initialize);
}());

View File

@@ -1,50 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="39122940-ab16-4cd4-a0ce-79a3eb863ecf" Version="0.1.5.0" Publisher="CN=jhalleux" />
<mp:PhoneIdentity PhoneProductId="39122940-ab16-4cd4-a0ce-79a3eb863ecf" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>codethemicrobit</DisplayName>
<PublisherDisplayName>Microsoft</PublisherDisplayName>
<Logo>images\storelogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate" />
</Resources>
<Applications>
<Application Id="App" StartPage="https://codethemicrobit.com">
<uap:ApplicationContentUriRules>
<uap:Rule Match="https://m.pxt.io/" Type="include" WindowsRuntimeAccess="all" />
<uap:Rule Match="https://codemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
<uap:Rule Match="https://codethemicrobit.com/" Type="include" WindowsRuntimeAccess="all" />
</uap:ApplicationContentUriRules>
<uap:VisualElements DisplayName="code the micro:bit" Description="A code editor for the BBC micro:bit with Blocks or Javascript." BackgroundColor="white" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="images\Wide310x150Logo.png" ShortName="code the micro:bit">
</uap:DefaultTile>
<uap:SplashScreen Image="images\splashscreen.png" />
</uap:VisualElements>
<Extensions>
<uap:Extension Category="windows.fileTypeAssociation">
<uap:FileTypeAssociation Name="microbithex">
<uap:DisplayName>BBC micro:bit binary file</uap:DisplayName>
<uap:SupportedFileTypes>
<uap:FileType ContentType="application/x-microbit-hex">.hex</uap:FileType>
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<uap:Capability Name="removableStorage" />
<DeviceCapability Name="bluetooth" />
<DeviceCapability Name="serialcommunication">
<Device Id="any">
<Function Type="name:serialPort" />
</Device>
</DeviceCapability>
</Capabilities>
</Package>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -32,7 +32,7 @@ namespace Microsoft.MicroBit
private void openEditor()
{
// lanch editor
try { Process.Start("https://codethemicrobit.com#uploader"); } catch (Exception) { }
try { Process.Start("https://pxt.microbit.org#uploader"); } catch (Exception) { }
}
private void initializeFileWatch()
@@ -236,7 +236,7 @@ namespace Microsoft.MicroBit
{
try
{
Process.Start("https://codethemicrobit.com/uploader");
Process.Start("https://pxt.microbit.org/uploader");
}
catch (IOException) { }
}

View File

@@ -1,59 +0,0 @@
/// <reference path="../node_modules/pxt-core/built/pxt.d.ts"/>
import * as fs from "fs";
import * as path from "path";
import * as child_process from "child_process";
let writeFileAsync: any = Promise.promisify(fs.writeFile)
let execAsync: (cmd: string, options?: { cwd?: string }) => Promise<Buffer> = Promise.promisify(child_process.exec)
let readDirAsync = Promise.promisify(fs.readdir)
export function deployCoreAsync(res: ts.pxtc.CompileResult) {
return getBitDrivesAsync()
.then(drives => {
if (drives.length == 0) {
console.log("cannot find any drives to deploy to");
return Promise.resolve(0);
}
console.log(`copy ${ts.pxtc.BINARY_HEX} to ` + drives.join(", "));
let writeHexFile = (filename: string) => {
return writeFileAsync(filename + ts.pxtc.BINARY_HEX, res.outfiles[ts.pxtc.BINARY_HEX])
.then(() => console.log("wrote hex file to " + filename));
};
return Promise.map(drives, d => writeHexFile(d))
.then(() => drives.length);
});
}
function getBitDrivesAsync(): Promise<string[]> {
if (process.platform == "win32") {
const rx = new RegExp("^([A-Z]:).* " + pxt.appTarget.compile.deployDrives)
return execAsync("wmic PATH Win32_LogicalDisk get DeviceID, VolumeName, FileSystem")
.then(buf => {
let res: string[] = []
buf.toString("utf8").split(/\n/).forEach(ln => {
let m = rx.exec(ln)
if (m) {
res.push(m[1] + "/")
}
})
return res
})
}
else if (process.platform == "darwin") {
const rx = new RegExp(pxt.appTarget.compile.deployDrives)
return readDirAsync("/Volumes")
.then(lst => lst.filter(s => rx.test(s)).map(s => "/Volumes/" + s + "/"))
} else if (process.platform == "linux") {
const rx = new RegExp(pxt.appTarget.compile.deployDrives)
const user = process.env["USER"]
return readDirAsync(`/media/${user}`)
.then(lst => lst.filter(s => rx.test(s)).map(s => `/media/${user}/${s}/`))
} else {
return Promise.resolve([])
}
}

7
cmds/pxtrequire.ts Normal file
View File

@@ -0,0 +1,7 @@
/// <reference path="../node_modules/pxt-core/typings/globals/node/index.d.ts"/>
/// <reference path="../node_modules/pxt-core/built/pxtlib.d.ts" />
import * as path from "path";
export let pxtCore = require("pxt-core");
// require.resolve() gives path to [pxt dir]/built/pxt.js, so move up twice to get pxt root dir
export let pxtCoreDir = path.resolve(require.resolve("pxt-core"), "..", "..");

View File

@@ -1,16 +0,0 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@codethemicrobit" />
<meta name="twitter:title" content="code the micro:bit" />
<meta name="twitter:description" content="Blocks+JavaScript for programming your micro:bit" />
<meta name="twitter:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />
<meta property="og:title" content="micro:bit editor" />
<meta property="og:description" content="Blocks+JavaScript for programming your micro:bit" />
<meta property="og:site_name" content="code the micro:bit" />
<meta property="og:image" content="https://az851932.vo.msecnd.net/pub/drbwxcth" />
<!--
Canonical URL needs to wait until main release is updated.
<meta property="og:url" content="https://codethemicrobit.com" />
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="" />
-->

View File

@@ -1,6 +0,0 @@
<script type="text/javascript">
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f)}})(document,window.mixpanel||[]);
mixpanel.init("762fef19c053a0ea4cec43d2fecae76e", { disable_persistence: true });
if (typeof pxtConfig !== "undefined") mixpanel.register({ target: pxtConfig.targetId, version: pxtConfig.targetVersion, targetVersion: pxtConfig.targetId + '/' + pxtConfig.targetVersion });
</script>

View File

@@ -1,21 +0,0 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@codethemicrobit" />
<meta name="twitter:title" content="@name@" />
<meta name="twitter:description" content="@description@" />
<meta name="twitter:image" content="@cardLogo@" />
<meta property="og:title" content="@name@" />
<meta property="og:site_name" content="code the micro:bit" />
<meta property="og:description" content="@description@" />
<meta property="og:image" content="@cardLogo@" />
<!--
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="" />
-->
<link rel="apple-touch-icon" href="@appLogo@">
<link rel="icon" type="image/png" href="@appLogo@">
<link rel="mask-icon" href="https://az851932.vo.msecnd.net/pub/zwxazere/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="@appLogo@">
<meta name="theme-color" content="@accentColor@">

View File

@@ -1,5 +0,0 @@
#root .avatar .avatar-image {
background-image: url(https://az851932.vo.msecnd.net/pub/jovrytni/microbit.simplified.svg);
background-size: contain;
background-repeat: no-repeat;
}

View File

@@ -1,6 +0,0 @@
<script type="text/javascript">
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");
for(g=0;g<i.length;g++)f(c,i[g]);b._i.push([a,e,d])};b.__SV=1.2;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//)?"https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js":"//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js";f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f)}})(document,window.mixpanel||[]);
mixpanel.init("762fef19c053a0ea4cec43d2fecae76e", { disable_persistence: true });
if (typeof pxtConfig !== "undefined") mixpanel.register({ target: pxtConfig.targetId, version: pxtConfig.targetVersion, targetVersion: pxtConfig.targetId + '/' + pxtConfig.targetVersion });
</script>

View File

@@ -1,22 +0,0 @@
{
"name": "koduj z micro:bit",
"title": "koduj z micro:bit",
"docMenu": [
{
"name": "O nas",
"path": "/about"
},
{
"name": "Lekcje",
"path": "/lessons"
},
{
"name": "Instrukcja obsługi",
"path": "/reference"
},
{
"name": "Urządzenie",
"path": "/device"
}
]
}

View File

@@ -1,7 +0,0 @@
# Dokumentacja
Witamy na stronach dokumentacji!
* Przeglądnij [instrukcje obsługi](/reference)
* Dowiedz się więcej o [urządzeniu](/device)
* Wystartuj z [lekcjami](/lessons)

3
docs/beta-ref.json Normal file
View File

@@ -0,0 +1,3 @@
{
"appref": "v"
}

View File

@@ -1,6 +1,10 @@
# Blocks language
### @description Langugage constructs for the Block editor.
### @description Language constructs for the Block editor.
Blocks snap into each other to define the program that your @boardname@ will run.
Blocks can be event (buttons, shake, ...) or need to be snapped into an event to run.
The [on-start](/blocks/on-start) event runs first.
```namespaces
for (let i = 0;i<5;++i) {}
@@ -11,4 +15,4 @@ Math.random(5);
## See Also
[logic](/blocks/logic), [loops](/blocks/loops), [math](/blocks/math), [variables](/blocks/variables)
[logic](/blocks/logic), [loops](/blocks/loops), [math](/blocks/math), [variables](/blocks/variables), [on-start](/blocks/on-start)

View File

@@ -86,12 +86,14 @@ if (led.point(1,1) && led.point(2,2)) {
When you compare two Numbers, you get a Boolean value, such as the comparison `x < 5` in the code below:
```blocks
let x = Math.random(5)
if(x < 5) {
basic.showString("low");
} else {
basic.showString("high");
}
input.onButtonPressed(Button.A, () => {
let x = Math.random(5)
if(x < 5) {
basic.showString("low");
} else {
basic.showString("high");
}
})
```
See the documentation on [Numbers](/reference/types/number) for more information on comparing two Numbers. You can also [compare strings](/reference/types/string-functions) using the `equals` function.

View File

@@ -14,13 +14,15 @@ Click on the dark blue gear icon (see above) to add an *else* or *if* to the cur
### Example: adjusting screen brightness
```blocks
if(input.lightLevel()<100){
led.setBrightness(255);
}
```
If the [light level](/reference/input/light-level) is `< 100`, this code sets the brightness to `255` when the button A is pressed:
If the [light level](/reference/input/light-level) is `< 100`, this code sets the brightness to `255`:
```blocks
input.onButtonPressed(Button.A, () => {
if(input.lightLevel()<100){
led.setBrightness(255);
}
})
```
### See also

View File

@@ -4,14 +4,21 @@
Run part of the program the number of times you say.
```block
for(let i = 0; i <= 4; ++i) {
}
```
### Example: Count to 4
This program will show the numbers 0, 1, 2, 3, and 4 one after another on the LED screen.
```blocks
for(let i = 0; i < 5; ++i) {
basic.showNumber(i)
}
input.onButtonPressed(Button.A, () => {
for(let i = 0; i < 5; ++i) {
basic.showNumber(i)
}
})
```
### See also

View File

@@ -2,7 +2,7 @@
Repeat code while a [Boolean](/blocks/logic/boolean) `condition` is true.
```blocks
```block
while(true) {
}
```
@@ -16,11 +16,13 @@ The condition is tested before any code runs. Which means that if the condition
The following example uses a while loop to make a diagonal line on the LED screen (points `0, 0`, `1, 1`, `2, 2`, `3, 3`, `4, 4`).
```blocks
let index = 4;
while(index >= 0) {
led.plot(index, index);
index--;
}
input.onButtonPressed(Button.A, () => {
let index = 4;
while(index >= 0) {
led.plot(index, index);
index--;
}
})
```
### See also

28
docs/blocks/on-start.md Normal file
View File

@@ -0,0 +1,28 @@
# On Start
An event that runs when the program starts.
The ``on start`` is a special event that runs when the program starts, before any other event.
Use this event to initialize your program.
## Example
In this example, ``on start`` sets a dimmer brightness on the screen and the button handler shows a string.
```blocks
input.onButtonPressed(Button.A, () => {
basic.showString("Hello!")
})
led.setBrightness(50)
```
## What about JavaScript?
``on-start`` only exists in the block editor. In JavaScript, all code executes sequentially from the first line.
## Hey, my events moved!
When we transform the blocks into JavaScript, we always place all the event registrations (buttons, shake, ...)
before launching the ``on start`` code.
If a block from ``on start`` pauses, other registered events will have the opportunity to run as well.

View File

@@ -1,7 +1,6 @@
# Unsupported configuration
[pxt.microbit.org](https://pxt.microbit.org) doesn't currently support
your browser or operating system. The following configurations are supported:
Your browser is currently not supported. The following configurations are supported:
## Windows

View File

@@ -91,3 +91,10 @@ basic.showString("d", 150)
You will not see the LED at position `0,0` lit up because the `show string` function overwrites the whole display buffer.
### Pins: P3, P4, P6, P7, P9, P10
These pins are coupled to the LED matrix display, and also its associated ambient light sensing mode.
To disable the display driver feature (which will automatically disable the light sensing feature) use the function [led.enable](/reference/led/enable).
More information at http://tech.microbit.org/hardware/edgeconnector_ds/ .

116
docs/device/servo.md Normal file
View File

@@ -0,0 +1,116 @@
# Equipping a microservo with Crocodile clips
## Materials
* Cutting pliers or wire cutter
* Tape (masking, duct tape, and/or packing tape)
* 3 crocodile clips, yellow, red and black.
* 1 micro servo 9g (SG90)
## Using a microservo with the @boardname@
The @boardname@ provides just enough current to operate the SG90 microservo.
The servo requires 3 connections: GND, 3V and a logic pin.
In this tutorial, we will equip the servo with crocodile clips to make it easier to use.
However, you could also use a shield or female to crocodile clips to acheive the same effect.
If you are running a class or activity, you should consider preparing all servos before hand.
### ~ hint
Kitronik wrote an excellent in-depth guide about using servos with the @boardname@.
Check it out at https://www.kitronik.co.uk/blog/using-bbc-microbit-control-servo/ .
### ~
## Step 1: cutout the connector
Using the cutting pliers, cut out the dark plastic connector.
![](/static/mb/projects/inchworm/servo1.jpg)
## Step 2: strip out cables
Using the plier or a wire stripper, strip the plastic from the cables.
![](/static/mb/projects/inchworm/servotrim.jpg)
## Step 3: threading the servo cablers
Thread the servo cables.
![](/static/mb/projects/inchworm/servo3.jpg)
## Step 4: crocobile clip claps
Cut a crocodile cable in two and strip out the casing.
If possible try to use the same cable colors as the servo!
![](/static/mb/projects/inchworm/servo4.jpg)
## Step 5: thread cables together
Place the cables next to each other
![](/static/mb/projects/inchworm/servo5.jpg)
... and thread them together.
![](/static/mb/projects/inchworm/servo6.jpg)
### ~ hint
It is very **important** to ensure that there is a good connection between the 2 cables.
If the connection is weak, the microservo will not receive enough current and it will not work.
**If you have access to a soldering iron, we strongly recommend to solder this connection.**
### ~
## Step 4: protect the connection
Protect the connection with electrical or duct tape.
![](/static/mb/projects/inchworm/servo7.jpg)
## Step 5: repeat for all cables
Repeat the same process until all cables are connected.
![](/static/mb/projects/inchworm/servo8.jpg)
## Step 6: testing!
It's time to test that your connection are all proper and that the servo will function **when the @boardname@ is powered by battery**.
* Connect the microservo to the @boardname@. Black cable on ``GND``, red cable on ``3V`` and remaining cable on ``P0``.
![](/static/mb/projects/inchworm/circuit1.jpg)
### ~ hint
When attaching the crocodile clips to the pins, don't hesitate to grab the side of the board with the jaws.
![](/static/mb/projects/inchworm/circuit2.jpg)
### ~
* Download the following code to your @boardname@
```blocks
basic.forever(() => {
pins.servoWritePin(AnalogPin.P0, pins.map(
input.acceleration(Dimension.X),
-512,
512,
0,
180
))
})
```
* When powered by USB, make sure that the servo moves when you tilt the board.
* When powered by batteries **only**, make sure that the servo moves when you tilt the board.
## Troubleshooting
If your servo seems to sutter and stay stuck at a particular position, it means that it is not receiving enough power.
This is probably due to a weak connection or low battery level. Check each connection and check your batteries.

View File

@@ -6,12 +6,13 @@
* **[Getting Started](/getting-started)**
* [Projects](/projects)
* [Examples](/examples)
* [Lessons](/lessons)
### Micro:bit reference
### @boardname@ reference
* [The micro:bit APIs](/reference)
* [The micro:bit device](/device)
* [The @boardname@ APIs](/reference)
* [The @boardname@ device](/device)
### Language and data reference
@@ -28,4 +29,4 @@
* [Command Line Interface](/cli)
* Learn about [packages](/packages)
* [Release notes](/release-notes)

41
docs/examples.md Normal file
View File

@@ -0,0 +1,41 @@
# Examples
Here are some fun programs for your @boardname@!
## Fun stuff
```codecard
[{
"name": "Blinky",
"description": "A blinking LED",
"url":"/examples/blinky"
},
{
"name": "Name Tag",
"description": "Scroll your name on the screen",
"url":"/examples/name-tag"
},
{
"name": "Rando",
"description": "Randomly blinking LEDs",
"url":"/examples/rando"
}]
```
## Sensors
```codecard
[{
"name": "Plot Acceleration",
"description": "chart acceleration on the LED screen",
"url":"/examples/plot-acceleration"
}, {
"name": "Plot Light Level",
"description": "chart light level on the LED screen",
"url":"/examples/plot-light-level"
}, {
"name": "Plot Analog Pin",
"description": "chart analog input on the LED screen",
"url":"/examples/plot-analog-pin"
}]
```

20
docs/examples/blinky.md Normal file
View File

@@ -0,0 +1,20 @@
# Blinky
```blocks
basic.forever(() => {
basic.showLeds(`
. # . # .
# # # # #
# # # # #
. # # # .
. . # . .`
);
basic.showLeds(`
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .`
);
})
```

View File

@@ -0,0 +1,7 @@
# Name Tag
```blocks
basic.forever(() => {
basic.showString("JAMES")
})
```

View File

@@ -0,0 +1,10 @@
# Plot Acceleration
```blocks
basic.forever(() => {
led.plotBarGraph(
input.acceleration(Dimension.X),
1023
)
})
```

View File

@@ -0,0 +1,10 @@
# Plot Analog Pin
```blocks
basic.forever(() => {
led.plotBarGraph(
pins.analogReadPin(AnalogPin.P0),
1023
)
})
```

View File

@@ -0,0 +1,10 @@
# Plot Light level
```blocks
basic.forever(() => {
led.plotBarGraph(
input.lightLevel(),
255
)
})
```

7
docs/examples/rando.md Normal file
View File

@@ -0,0 +1,7 @@
# Rando
```blocks
basic.forever(() => {
led.toggle(Math.random(5), Math.random(5))
})
```

View File

@@ -2,33 +2,13 @@
### @description Frequently asked questions and answers from our users.
### Where can I get a BBC micro:bit?
## Which web sites do I need to unblock for pxt.microbit.org?
More information at [http://uk.farnell.com/bbc-microbit](http://uk.farnell.com/bbc-microbit).
This is the list of domains that need to be unblocked to allow the web editor to load:
### How do I send feedback?
* https://pxt.microbit.org
* https://www.pxt.io
* https://trg-microbit.userpxt.io
* https://pxt.azureedge.net
Find the small bubble icon on the bottom of the editor and
post your feedback from there!
### How do I save my code?
The web editor automatically saves your code in the browser cache. Simply reopen the browser and navigate to the web editor
to reopen your latest project. You can also open previous project stored locally through **More -> Open Project**.
The project source is also stored in each compiled ``.hex`` file. Drag and drop the ``.hex`` file into the web editor to load the project.
To share your project with others, you can use the [Embed Project...](/share).
It stores your project in the cloud and creates a URL that you can share with others.
If you are using [Visual Studio Code](/code), all your programs are stored as files on your computer and you can use your favorite source control system as needed.
## Is the web site available in other languages?
You can [help us translate](/translate) the web site, documentation and blocks via our crowd-source translations!
## Troubleshooting
### My micro:bit does not show up as a drive when I connect it to my computer.
A common cause for this is a broken cable. Pick another USB cable and try it. Otherwise, try another computer as well.
Can't find your question? Please search for solutions or open a ticket at [support.microbit.org](https://support.microbit.org)!

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -1,6 +1,6 @@
# Getting started
### @description An activity for beginners to get started with the micro:bit
### @description An activity for beginners to get started with the @boardname@
## ~avatar
@@ -33,9 +33,9 @@ basic.forever(() => {
When this program runs, you will see a smiley face, then a blank
screen, then a smiley again -- it never stops! (That's because of the
``forever`` block.)
`[basic.forever(() => {})]` block.)
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
Make sure to follow the instructions.
### ~button /getting-started/screen

View File

@@ -17,12 +17,12 @@ input.onButtonPressed(Button.A, () => {
#### ~hint
The ``showString`` block can show letters, numbers, and punctuation
on the micro:bit screen.
The `[basic.showString("HI")]` block can show letters, numbers, and punctuation
on the @boardname@ screen.
#### ~
Now try to unscramble these blocks in the editor so that the micro:bit
Now try to unscramble these blocks in the editor so that the @boardname@
shows **BANANA** when you press button `B`.
```shuffle
@@ -33,11 +33,11 @@ input.onButtonPressed(Button.B, () => {
#### ~hint
You can find the letter `B` by clicking the letter `A` on the
``onButtonPressed`` block.
`[input.onButtonPressed(Button.A, () => {})]` block.
#### ~
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
#### Your turn!
@@ -48,9 +48,9 @@ name_ instead of **BANANA** when you press `B`?
### Pins
You can also use the pins as buttons. (The pins are the holes in the
metal stripe at the bottom of the micro:bit board.) For example, hold
metal stripe at the bottom of the @boardname@ board.) For example, hold
the ``GND`` button with one hand and touch the ``0`` pin (called
``P0``) with your other hand to tell the micro:bit you're pressing it.
``P0``) with your other hand to tell the @boardname@ you're pressing it.
Unscramble the blocks in the editor to show a heart when you touch
pin ``P0``.
@@ -65,7 +65,7 @@ input.onPinPressed(TouchPin.P0, () => {
. . # . .`);
});
```
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
## ~hint

View File

@@ -4,7 +4,7 @@
Are you trying to choose whether to play soccer or go to the movies
instead, or which toppings to have on your pizza? Build a coin
flipping machine with the BBC micro:bit to choose for you!
flipping machine with the @boardname@ to choose for you!
### ~
@@ -23,8 +23,8 @@ input.onButtonPressed(Button.B, () => {
```
### ~hint
The ``pick random true or false`` block randomly tells the ``if``
block `true` or `false`. If the ``pick`` block picked `true`, the
The `[Math.randomBoolean()]` block randomly tells the ``if``
block `true` or `false`. If value picked is `true`, the
``if`` block shows the letter `H`. Otherwise, it shows the letter `T`.
That's it!
@@ -50,7 +50,7 @@ input.onButtonPressed(Button.AB, () => {
```
These blocks mean that if you press button `A`, you will add `1` to
your score, and if you press `A` and `B` together, the micro:bit will
your score, and if you press `A` and `B` together, the @boardname@ will
show your score.
When you're done, your coin flipping program should look like this:

View File

@@ -2,8 +2,8 @@
### ~avatar avatar
Build a Rock Paper Scissors game with the BBC micro:bit! You can play
the game with a friend who has it on a micro:bit. You can also play
Build a Rock Paper Scissors game with the @boardname@! You can play
the game with a friend who has it on a @boardname@. You can also play
it with friends who are just using their hands. (The game is built
like a coin flipper, but with three choices instead of two.)
@@ -11,9 +11,9 @@ like a coin flipper, but with three choices instead of two.)
## Step 1: Getting started
We want the micro:bit to choose rock, paper, or scissors when you
We want the @boardname@ to choose rock, paper, or scissors when you
shake it. Try creating an ``on shake`` block so when you shake the
micro:bit, it will run part of a program.
@boardname@, it will run part of a program.
Clear up the blocks and add the blocks below.
@@ -23,7 +23,7 @@ input.onGesture(Gesture.Shake, () => {
})
```
Next, when you shake the micro:bit, it should pick a random number from `0` to `2`
Next, when you shake the @boardname@, it should pick a random number from `0` to `2`
and store it in the variable `item`.
Add a ``set`` block with a variable. Then add a ``pick random`` block,
@@ -75,7 +75,7 @@ input.onGesture(Gesture.Shake, () => {
## Step 3: A random rock
Now we are going to add a new picture for the micro:bit to show
Now we are going to add a new picture for the @boardname@ to show
when another random number comes up.
Make the ``else if`` part check if the variable `item` is `1`.
@@ -152,7 +152,7 @@ That's why you can use an ``else`` instead of an ``else if``.
Your game is ready!
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
Have fun!
@@ -160,7 +160,7 @@ Have fun!
Here is a way you can make your Rock Paper Scissors game better.
When button ``A`` is pressed,
the micro:bit will add `1` to your score.
the @boardname@ will add `1` to your score.
Open the ``Game`` drawer, and then add the block ``change score by 1`` to your program,
like this:
@@ -174,7 +174,7 @@ input.onButtonPressed(Button.A, () => {
## Step 6: Prove you're the greatest!
After your micro:bit can add `1` to the score, show how many wins you have.
After your @boardname@ can add `1` to the score, show how many wins you have.
```blocks
input.onButtonPressed(Button.A, () => {
@@ -185,7 +185,7 @@ input.onButtonPressed(Button.A, () => {
```
## Step 7: Staying honest
Success! Your micro:bit can track wins!
Success! Your @boardname@ can track wins!
But what about losses?
Use the ``Game`` drawer to subtract `1` from your score when you press button `B`.
@@ -198,7 +198,7 @@ input.onButtonPressed(Button.B, () => {
basic.showNumber(game.score())
})
```
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
### ~button /projects
NEXT: PROJECTS!

View File

@@ -2,17 +2,17 @@
### ~avatar avatar
There are 25 bright LEDs on the micro:bit screen. Let's use them to create some cool animations!
There are 25 bright LEDs on the @boardname@ screen. Let's use them to create some cool animations!
### ~
### Happy unhappy face
Draw an unhappy face instead of the blank screen. Click on the dots
in the second ``show leds`` block until it matches the blocks below.
in the second `[basic.showLeds("")]` block until it matches the blocks below.
Now you have an **animation** (cartoon) that shows a happy face,
then an unhappy one, then a happy one again, forever (or until
you turn off your micro:bit)!
you turn off your @boardname@)!
```blocks
basic.forever(() => {
@@ -32,11 +32,11 @@ basic.forever(() => {
`)
});
```
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
### Your turn!
Pile up more ``show leds`` blocks to create an animation! Create an
Pile up more `[basic.showLeds("")]` blocks to create an animation! Create an
animation with at least 5 pictures. What does this animation show?
```blocks
@@ -85,13 +85,7 @@ basic.forever(() => {
`)
});
```
Click **Download** to move your program to the BBC micro:bit!
#### ~hint
You can find the ``show leds`` block in the **Basic** part of the editor.
#### ~
Click **Download** to move your program to the @boardname@!
### ~button /getting-started/buttons
NEXT: BUTTONS

View File

@@ -1,11 +1,11 @@
# Shake
You can find when someone is shaking the BBC micro:bit by checking its
**accelerometer** (it finds whether the micro:bit is speeding up or
You can find when someone is shaking the @boardname@ by checking its
**accelerometer** (it finds whether the @boardname@ is speeding up or
slowing down).
Unscramble these blocks in the editor to show a frownie when someone
shakes the micro:bit. (Ouch!)
shakes the @boardname@. (Ouch!)
```shuffle
input.onGesture(Gesture.Shake, () => {
@@ -17,7 +17,7 @@ input.onGesture(Gesture.Shake, () => {
# . . . #`);
});
```
Click **Download** to move your program to the BBC micro:bit!
Click **Download** to move your program to the @boardname@!
### ~button /getting-started/coin-flipper
NEXT: COIN FLIPPER GAME

3
docs/index-ref.json Normal file
View File

@@ -0,0 +1,3 @@
{
"appref": "v0.9.23"
}

View File

@@ -1,6 +1,7 @@
# JavaScript
Visit the cards below to starting programming JavaScript and TypeScript with the micro:bit:
Visit the cards below to starting programming JavaScript
with the @boardname@:
```codecard
[{

View File

@@ -1,8 +1,8 @@
# Call a function
The simplest way to get started in JavaScript with your micro:bit is to
call one of the micro:bit's built-in JavaScript functions. Just like Blocks
are organized into categories/drawers, the micro:bit functions are organized by
The simplest way to get started in JavaScript with your @boardname@ is to
call one of the @boardname@'s built-in JavaScript functions. Just like Blocks
are organized into categories/drawers, the @boardname@ functions are organized by
namespaces, with names corresponding to the drawer names. The `basic` namespace
contains a number of helpful functions, such as:

View File

@@ -10,7 +10,7 @@ down to JavaScript that works across all major browsers and platforms, without h
Let's take a look at a simple class-based example:
```ts
```typescript
class Greeter {
greeting: string;
constructor(message: string) {
@@ -35,7 +35,7 @@ This calls into the constructor we defined earlier, creating a new object with t
# Inheritance
### ~hint
### Inheritance is not supported yet for the micro:bit. Coming soon...
### Inheritance is not supported yet for the @boardname@. Coming soon...
### ~
In TypeScript, we can use common object-oriented patterns.
@@ -43,7 +43,7 @@ Of course, one of the most fundamental patterns in class-based programming is be
Let's take a look at an example:
```ts-ignore
```typescript-ignore
class Animal {
name: string;
constructor(theName: string) { this.name = theName; }
@@ -105,7 +105,7 @@ In TypeScript, each member is `public` by default.
You may still mark a member `public` explicitly.
We could have written the `Animal` class from the previous section in the following way:
```ts-ignore
```typescript-ignore
class Animal {
public name: string;
public constructor(theName: string) { this.name = theName; }
@@ -119,7 +119,7 @@ class Animal {
When a member is marked `private`, it cannot be accessed from outside of its containing class. For example:
```ts-ignore
```typescript-ignore
class Animal {
private name: string;
constructor(theName: string) { this.name = theName; }
@@ -138,7 +138,7 @@ The same applies to `protected` members.
Let's look at an example to better see how this plays out in practice:
```ts-ignore
```typescript-ignore
class Animal {
private name: string;
constructor(theName: string) { this.name = theName; }
@@ -174,7 +174,7 @@ Even though `Employee` also has a `private` member called `name`, it's not the o
The `protected` modifier acts much like the `private` modifier with the exception that members
declared `protected` can also be accessed by instances of deriving classes. For example,
```ts-ignore
```typescript-ignore
class Person {
protected name: string;
constructor(name: string) { this.name = name; }
@@ -204,7 +204,7 @@ we can still use it from within an instance method of `Employee` because `Employ
A constructor may also be marked `protected`.
This means that the class cannot be instantiated outside of its containing class, but can be extended. For example,
```ts-ignore
```typescript-ignore
class Person {
protected name: string;
protected constructor(theName: string) { this.name = theName; }
@@ -233,7 +233,7 @@ let john = new Person("John"); // Error: The 'Person' constructor is protected
You can make properties readonly by using the `readonly` keyword.
Readonly properties must be initialized at their declaration or in the constructor.
```ts-ignore
```typescript-ignore
class Octopus {
readonly name: string;
readonly numberOfLegs: number = 8;
@@ -252,7 +252,7 @@ This turns out to be a very common practice.
*Parameter properties* let you create and initialize a member in one place.
Here's a further revision of the previous `Octopus` class using a parameter property:
```ts-ignore
```typescript-ignore
class Octopus {
readonly numberOfLegs: number = 8;
constructor(readonly name: string) {

View File

@@ -1,8 +1,8 @@
# Frequently asked questions
# What is the language supported for the micro:bit?
# What is the language supported for the @boardname@?
For the micro:bit, we support a "static" subset of TypeScript (itself a superset of JavaScript):
For the @boardname@, we support a "static" subset of TypeScript (itself a superset of JavaScript):
## Supported language features

View File

@@ -3,7 +3,7 @@
Functions are the fundamental building block of programs. Here is the simplest
way to make a function that adds two numbers:
```ts
```typescript
// Named function
function add(x : number, y : number) {
return x + y;
@@ -13,13 +13,13 @@ basic.showNumber(add(1, 2))
```
### ~ hint
For the micro:bit, you must specify a [type](/js/types) for each function parameter.
For the @boardname@, you must specify a [type](/js/types) for each function parameter.
### ~
Functions can refer to variables outside of the function body.
When they do so, they're said to `capture` these variables.
```ts
```typescript
let z = 100;
function addToZ(x: number, y: number) {
@@ -33,7 +33,7 @@ basic.showNumber(addToZ(1, 2))
Let's add a return type to our add function:
```ts
```typescript
function add(x: number, y: number): number {
return x + y;
}
@@ -45,7 +45,7 @@ TypeScript can figure the return type out by looking at the return statements, s
In TypeScript, the number of arguments given to a function has to match the number of parameters the function expects.
```ts-ignore
```typescript-ignore
function buildName(firstName: string, lastName: string) {
return firstName + " " + lastName;
}
@@ -60,7 +60,7 @@ When they do, their value is `undefined`.
We can get this functionality in TypeScript by adding a `?` to the end of parameters we want to be optional.
For example, let's say we want the last name parameter from above to be optional:
```ts-ignore
```typescript-ignore
function buildName(firstName: string, lastName?: string) {
if (lastName)
return firstName + " " + lastName;
@@ -80,7 +80,7 @@ In TypeScript, we can also set a value that a parameter will be assigned if the
These are called default-initialized parameters.
Let's take the previous example and default the last name to `"Smith"`.
```ts-ignore
```typescript-ignore
function buildName(firstName: string, lastName = "Smith") {
return firstName + " " + lastName;
}
@@ -94,7 +94,7 @@ let result4 = buildName("Bob", "Adams"); // ah, just right
Default-initialized parameters that come after all required parameters are treated as optional, and just like optional parameters, can be omitted when calling their respective function.
This means optional parameters and trailing default parameters will share commonality in their types, so both
```ts
```typescript
function buildName(firstName: string, lastName?: string) {
// ...
}
@@ -102,7 +102,7 @@ function buildName(firstName: string, lastName?: string) {
and
```ts
```typescript
function buildName(firstName: string, lastName = "Smith") {
// ...
}
@@ -115,7 +115,7 @@ Unlike plain optional parameters, default-initialized parameters don't *need* to
If a default-initialized parameter comes before a required parameter, users need to explicitly pass `undefined` to get the default initialized value.
For example, we could write our last example with only a default initializer on `firstName`:
```ts-ignore
```typescript-ignore
function buildName(firstName = "Will", lastName: string) {
return firstName + " " + lastName;
}
@@ -134,7 +134,7 @@ In JavaScript, you can work with the arguments directly using the `arguments` va
In TypeScript, you can gather these arguments together into a variable:
```ts-ignore
```typescript-ignore
function buildName(firstName: string, ...restOfName: string[]) {
return firstName + " " + restOfName.join(" ");
}
@@ -148,7 +148,7 @@ The compiler will build an array of the arguments passed in with the name given
The ellipsis is also used in the type of the function with rest parameters:
```ts-ignore
```typescript-ignore
function buildName(firstName: string, ...restOfName: string[]) {
return firstName + " " + restOfName.join(" ");
}

View File

@@ -1,9 +1,9 @@
## Operators
The following JavaScript operators are supported for the micro:bit.
The following JavaScript operators are supported for the @boardname@.
### ~hint
Note that for the micro:bit all arithmetic is performed on integers, rather than floating point.
Note that for the @boardname@ all arithmetic is performed on integers, rather than floating point.
This also is true when simulating in the browser.
### ~

View File

@@ -41,14 +41,14 @@ In JavaScript, there is the concept of an *empty statement*, which is whitespace
a semicolon in the context where a statement is expected.
So, the following code is an infinite loop
followed by a call to `showNumber` that will never execute:
```typescript
while(true) ;
```typescript-ignore
while(true) ;
basic.showNumber(1);
```
### ~hint
For the micro:bit, we don't allow a program to contain an empty statement, such as shown above.
For the @boardname@, we don't allow a program to contain an empty statement, such as shown above.
If you really want an empty statement, you need to use curly braces to delimit an empty statement block:
```typescript
while(true) { }

View File

@@ -1,6 +1,6 @@
# Statements
The following JavaScript statements are supported for the micro:bit:
The following JavaScript statements are supported for the @boardname@:
## Variable declarations
* `const` statement - [read more](http://devdocs.io/javascript/statements/const)

Some files were not shown because too many files have changed in this diff Show More