Commit Graph

268 Commits

Author SHA1 Message Date
Galen Nickel
ae685eba2c Set LED plot row/column ranges for 'Reaction Time' (#2420) 2019-09-10 13:34:24 -07:00
Asher Kach
69b553d7bc Modify the LED coordinates to be between 0 and 4. (#2416)
Without this change, there is a 11/36 chance no LED lights as [`Math.random(a,b)`](https://docs.python.org/2/library/random.html#random.uniform) (thus the `pick random` block) chooses a number in the (inclusive, closed) interval `[a, b]`.
2019-09-10 07:20:32 -07:00
Joey Wunderlich
34fd7e0600
Update pxt/common-packages and fix build (#2323)
* fix build off of pxt/ and pxt-common-packages master

* check in generated files
2019-07-30 09:45:32 -07:00
Galen Nickel
bf68646d18 Update radio event parm usage descriptions (#2165) 2019-06-14 09:27:04 -07:00
kimprice
9ca5a22106 Update name-tag.md (#2156) 2019-06-07 14:28:12 -07:00
Joey Wunderlich
65a05bf2d5
Fix Turtle Spiral example decompilation (#2094)
* use local variables for indices

* s/an/the/
2019-05-30 16:15:38 -07:00
Galen Nickel
f0e174a4f3 Revert "Update radio event parm usage descriptions (#2075)" (#2077)
This reverts commit 7950f1b4d7.
2019-05-29 10:45:10 -07:00
Galen Nickel
7950f1b4d7
Update radio event parm usage descriptions (#2075) 2019-05-28 21:09:08 -07:00
Chase Mortensen
24c42cc3e8
Fixes for infection game (#2003)
* Fixes for infection game

* Updated infection game to use message class

* fixed whitespace

* Changes to Message class
2019-04-12 17:13:20 -07:00
Galen Nickel
a045ba378e Some linking for 'speakers' hw video (#1997) 2019-04-10 11:01:25 -07:00
Galen Nickel
efa4553376 Adapt the TEALS 'Best Friends' game (#1948)
* Adapt the TEALS 'Best Friends' game

* animate friend expressions

* free hand packet box

* missing paren in examples

* better avatar message

* use just on sim block
2019-04-01 13:23:24 -07:00
Galen Nickel
be617f6100
Insert kitronik servo guide link (#1923)
* Insert kitronik servo guide link

* Del leading space
2019-03-15 13:47:47 -07:00
Galen Nickel
93282e577f
Fix incorrect force threshold in RLGL project (#1912)
* Fix incorrect force threshold in RLGL project

* set delta back to 100 in code samples and formula
2019-03-11 18:07:40 -07:00
Galen Nickel
c4868e131d Insert new hw video links (#1910) 2019-03-11 15:04:38 -07:00
Peli de Halleux
889db5f66f
fixign radio not showing up (#1872) 2019-02-27 09:12:27 -08:00
Michał Moskal
71d98822ae
Support latest PXT with GC (#1798)
* Enable gc and basic compilation fixes

* Add missing GC stuff

* Set microbit-dal version

* Disable jacdac in servo

* UTF fixes

* TS build fixes

* Auto-generated files update

* We only seem to have that much

* Fix for new new compiler

* Account for uninitialized scheduler

* Intialize memory allocator

* bump references

* updated package

* Set image tag, requires https://github.com/Microsoft/pxt/pull/5262

* updated project summaries

* Fixing block tests
2019-02-21 15:41:32 -08:00
Xuefeng education
040b699a27 remove duplicate when in rock-paper-scissors.md (#1826) 2019-02-19 15:03:38 -08:00
Peli de Halleux
2352102dc5 undo project summary 2019-02-08 07:42:52 -08:00
Peli de Halleux
cf3fe884be
auto-generated projects summary (#1819)
* auto-generated projects summary

* remove project with external libs (docs checker fails)

* removing video links
2019-02-08 07:39:09 -08:00
Galen Nickel
4f22abf4c9 Add 'paper' step info to RPS tutorial (#1810)
* add showLeds for paper

* fix blocks for step 6

* no blocks in shake demo
2019-02-01 17:57:58 -08:00
Galen Nickel
b34e73457c typo in digital-watch project (#1789) 2019-02-01 14:44:58 -08:00
Galen Nickel
431cfb965b Fix some mentions of 'gearwheel' on 'if' blocks (#1743) 2019-01-03 16:02:44 -08:00
Peli de Halleux
3139613853 more rewording 2018-12-19 09:22:56 -08:00
Peli de Halleux
4f66baab40 fix sample 2018-12-19 09:19:59 -08:00
Michal
a0313dad34 Code does not work on real microbits (#1723)
Radio packets are not received when while() loop in button callback waits for health status of first infected. That results in master waiting in while loop forever.
Added "Infecting" state. Master sends infect messages in forever loop in non-blocking way.
Another bug is in call to Math.randomRange while selecting patientZero. randomRange returns number incusive with boundaries. This results in accessing players array beyond end.
2018-12-11 07:08:05 -08:00
Galen Nickel
4fbf8c31c6
Update RPS teams step 4 (#1713) 2018-12-07 14:01:22 -08:00
Mark
b3be98f046 Update rock-paper-scissors.md (#1704)
Step 8 should check for Hand = 2  as our previous step 4 checks if Hand = 1
2018-12-06 02:40:30 -08:00
Peli de Halleux
99cc00955b
Shawn videos (#1690)
* inclued in tutorials

* adding sim images to large icons

* added landing page

* restoring gifs in intro

* updated links
2018-12-02 07:58:43 -08:00
Sam El-Husseini
7e23340df1
Spellcheck docs (#1652)
* Spelling mistakes
2018-11-20 13:26:26 -08:00
Sam El-Husseini
980bb581ee Remove extra whitespace from ```blocks causing tutorial not to decompile (#1651) 2018-11-18 09:43:41 -08:00
Peli de Halleux
50367217f3
Lessons fixes (#1609)
* fixing a bunch of lessons

* more fixes

* more fixes

* more cleanup

* Additional fixes
2018-11-09 15:36:46 -08:00
Galen Nickel
61d180147b Rps teams update (#1576)
* local commit

* Update RPS Teams
2018-11-02 14:53:01 -07:00
Peli de Halleux
d062f95a3b
bump to pxt 4.2 -- bump pxt-microbit to 1.2... (#1555)
* simplify flashing heart

* improved name-tag

* tweak
2018-10-29 21:36:33 -07:00
Galen Nickel
53e447c33c Update the the connect code for 'inchworm' (#1545) 2018-10-26 21:00:58 -07:00
Peli de Halleux
0a41474ffe fix for https://github.com/Microsoft/pxt-microbit/issues/1532 2018-10-26 08:25:10 -07:00
Peli de Halleux
6293e8f342
restoring some docs (#1533) 2018-10-26 00:10:41 -07:00
Peli de Halleux
44a47a7e5c fixing steps in RPS 2018-10-24 21:51:53 -07:00
Galen Nickel
8c6c5cf60b
Turtle tutorial step text continuity (#1514) 2018-10-24 12:02:31 -07:00
Peli de Halleux
a7e613c237 Merge branch 'v1' of https://github.com/Microsoft/pxt-microbit into v1 2018-10-22 14:14:11 -07:00
Peli de Halleux
36f42e584c adding .gif for first step 2018-10-22 14:14:06 -07:00
Abhijith Chatra
2ae09a0b94
Fixing the step
Fixes https://github.com/Microsoft/pxt-microbit/issues/1472
2018-10-22 14:08:18 -07:00
Peli de Halleux
c35eb66f29 updated RPS 2018-10-22 14:05:39 -07:00
Galen Nickel
a81a36e0ca Bring in fixes from #1128 to v1 (#1491) 2018-10-22 13:22:50 -07:00
Galen Nickel
eff4ccef56 Port 'crashy-bird' game to v1 (#1484) 2018-10-22 13:22:20 -07:00
Peli de Halleux
bc024738be
upgrading karel sample (#1487)
* upgrading karel

* Adjust upgrade note
2018-10-22 13:20:48 -07:00
Abhijith Chatra
be7858cbed
Cherry picked fixes from v0 to v1 (#1476)
* Fix example and do a few edits (#850)

* Small fixes to the Karel project text (#862)

* fix missing shadow type

* add calibration info (#897)

microbit-support:6348 User reported bug, but didn't realie micro:bit compass had to be calibrated on first run of the program.

* Cherry pick adding various cross-editor compat APIs (#863)

* fix nudge

* Fix a typo ("screent") in the documentation (#1012)

* Fix a typo
"screent" -> "the LED screen"

* Update showArrow doc string for consistency with other methods

* Doc bugs found by xlators (#899)

* Update rotation.md (#998)

reflects actual behaviour of the board

* fixed layout corruption (#1073)

* Updating the new bug filer with the right link

* Update challenges.md (#1325)

For what I'm taught in school, 2 follows 1 😉😉.

* Update simulator.md (#1209)

* Update plant watering.md (#1264)

the connection to servo are male not female

* support for MIDI simulator in v0 (#1331)

* Doc improvements (#1337)

* update grammar in radio-dashboard sample code

* Chanllenge 2 follows 1

I open all challenges.md without "Challenge 2" and review the file
`grep -r "Challenge 2" -L | grep challenge | xargs -I@ code @`

Changes to be committed:
	modified:   docs/lessons/counter/challenges.md
	modified:   docs/lessons/game-counter/challenges.md
	modified:   docs/lessons/night-light/challenges.md
	modified:   docs/lessons/snowflake-fall/challenges.md

* Revert "support for MIDI simulator in v0 (#1331)"

This reverts commit 30a9c411fb80762656e7a636feff8e77b7fd9e67.

* Revert "Cherry pick adding various cross-editor compat APIs (#863)"

This reverts commit 7308dbef23e9ee402bebb7e721d7014d8252c9e5.

* Fixed pin needed to replace button A (#1385)

* Cherry pick part of the signature update in in2cWriteBuffer (#863): 7308dbe
2018-10-22 10:00:57 -07:00
Galen Nickel
b96f865fda Fix card image for 'duct tape watch' (#1471) 2018-10-21 00:19:55 -07:00
Peli de Halleux
3a62cf6cba updates to rps 2018-10-17 05:56:21 -07:00
Galen Nickel
62f30624b9 Edits and fixes for 'Rock Paper Scissors' (#1445) 2018-10-16 17:57:26 -07:00
Peli de Halleux
5a03f09a5f
Updated rock paper scissors (#1444)
* converting RPS into tutorial

* updated tutorial

* need to deal with github throttling
2018-10-16 15:58:27 -07:00