Commit Graph

58 Commits

Author SHA1 Message Date
Eric Kimsey
e6ecd65ae4 Correct dice example (#2262)
Changed random(6) to random(5) so the number reflect real dice.
2019-07-15 04:54:09 +02:00
Peli de Halleux
d640dc5eed
support for is-gesture (#1873)
* support for is-gesture

* updated shims

* activate shake button

* refactor

* refactor shake button
2019-03-21 07:40:23 -07:00
Galen Nickel
c4868e131d Insert new hw video links (#1910) 2019-03-11 15:04:38 -07:00
Galen Nickel
ce7ff4b7a6 Add some linking for hw vids (#1813)
* add linking for hw vids, fix card pages

* revert vid card page and inline youtube links
2019-02-08 13:48:49 -08:00
Galen Nickel
bac93dfc58 update rotation range for pitch (#1776) 2019-01-02 21:52:53 -08: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
Guillaume Jenkins
7f4cf50ee0
Make randomRange more consistent in docs (#1032)
* Make randomRange more consistent in docs

* Change formulation
2018-08-02 14:49:16 -04:00
Sam El-Husseini
6f148c14e0 Fix randomInt 2018-06-01 11:42:38 -07:00
Sam El-Husseini
442722f12e Merge branch 'master' into vnext 2018-05-09 10:58:01 -07:00
Dominique Netters
ccf4e23398 Corrected function output (#730) 2018-04-27 11:25:17 -07:00
Sam El-Husseini
6b9e78d269 Change docs to randomInt 2018-04-21 10:52:09 -07:00
Niels
48c65ae7cf make example code work with blocks (#723)
The example code used javascript that can't be made in blocks. After this change it can be reproduced in blocks.
2018-04-01 07:52:58 -07:00
Galen Nickel
0ec922c7f4 Fix compass doc errors (#721)
* Fix compass doc errors

* Another heading point error
2018-03-27 15:02:38 -07:00
Galen Nickel
e20ac7f992 Fix a few bugs found by translators (#612)
* Fix a few bugs found by translators

* Edits and hint block

* Typo
2018-01-30 08:54:13 -08:00
microbit-mark
f5857effc3 Update calibrate-compass.md (#547)
added new info on tilt to fill screen calibration as with https://github.com/lancaster-university/microbit-dal/pull/319#issue-262454889
2017-10-15 22:27:09 -07:00
Peli de Halleux
cdbc34550a Various fixes (#548)
* adding running time micros

* support for system micro seconds

* restore display mode after plotting sprites

* bump pxt
2017-10-11 11:31:07 -07:00
Galen Nickel
90bb41e8ff Merge pull request #528 from shaoziyang/patch-1
fixed compass error
2017-09-07 15:11:06 -07:00
Sam El-Husseini
e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00
shaoziyang
3fe18bc5fb fixed compass error
Compass example has error in direction detect. It will get wrong result if you write it to micro:bit.

And I also fixed degree between 315-359.
2017-09-08 00:12:55 +08:00
Galen Nickel
b6c778065f List directions in description for 'acceleration`. 2017-09-06 14:39:33 -07:00
Galen Nickel
aa21545416 Add the 'strength' option to the acceleration doc page. (#527) 2017-09-05 17:10:54 -07:00
HelenFoster
39071b5626 Explain what pressed events do (#469) 2017-07-28 10:05:53 -07:00
Peli de Halleux
bd895f43ba Calibrate compass (#392)
* adding 'calibrate-compass' function

* fixing simulator.

* updated docs

* fixing compat test suite with 'calibrate()' function
2017-04-25 10:46:25 -07:00
Sam El-Husseini
4a983993f6 Fix documentation typo in set-accelerometer-range 2017-03-29 11:20:11 -07:00
Peli de Halleux
00e9217e73 /reference/types -> /types 2017-03-16 07:57:41 -07:00
Peli de Halleux
89406330cf rename micro:bit to @boardname@ 2016-11-01 17:44:37 -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
bd1536132d fixing references / snippets
cleanup "snippets" compilation state
2016-10-22 21:29:31 -07:00
Peli de Halleux
20d0dd91ad added input.onPinRelease. Fix for #294 2016-08-08 15:23:18 -07:00
Ron Hale-Evans
6a7f65894c Added missing parameters sections 2016-07-15 16:43:26 -07:00
Ron Hale-Evans
f56e9369dd Fixed some parameter names 2016-07-15 14:53:52 -07:00
Ron Hale-Evans
b72ff9fe4f New page for accelerometer range. 2016-06-24 15:42:21 -07:00
Tom Ball
7bced60466 fix more broken links 2016-06-15 08:09:40 -04:00
Tom Ball
041b10ef04 fix broken links 2016-06-15 07:55:19 -04:00
Tom Ball
0c67cd8e8b Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-14 17:21:02 -04:00
Tom Ball
a0a23a261c restructuring to separate language from API 2016-06-14 17:20:45 -04:00
Ron Hale-Evans
20c7a16524 Used Dimension.X in sample instead of string 2016-06-14 14:01:00 -07:00
Tom Ball
67ea6c01f2 remove linksto lessons from references 2016-06-11 22:28:57 -04:00
Ron Hale-Evans
13f63c2f46 Rewrote in simple language. Purged legacy example. 2016-06-10 16:13:37 -07:00
Ron Hale-Evans
8841c47638 Rewrote in simple language. Fixed some typos. 2016-06-10 14:44:49 -07:00
Ron Hale-Evans
aba028b1e8 Rewrote in simple language. Updated code example. 2016-06-09 18:25:59 -07:00
Ron Hale-Evans
8239329c2e Rewrote with simple language 2016-06-09 15:09:48 -07:00
Ron Hale-Evans
cd56181703 Rewrote in simple language. API might not be functional. 2016-06-09 12:34:56 -07:00
Ron Hale-Evans
4727b105c4 Rewrote in simple language. May be an obsolete API. 2016-06-08 18:14:00 -07:00
Ron Hale-Evans
4063b5aac8 Rewrote in simple language. Deleted redundant material. 2016-06-08 16:59:20 -07:00
Ron Hale-Evans
a67f16a860 Deleted redundant paragraph. 2016-05-24 18:27:14 -07:00
Ron Hale-Evans
525e59ae4f Heavy rewrite; added Fahrenheit example too for US. 2016-05-24 17:51:10 -07:00
Ron Hale-Evans
e99292d008 Minor clarification 2016-05-23 14:46:11 -07:00
Ron Hale-Evans
b48c11d380 Simpler language; added another (simpler) example. 2016-05-23 13:41:01 -07:00
Ron Hale-Evans
3f1602f2c0 Simpler language, more interesting example (running time was always 0). 2016-05-23 12:45:14 -07:00