Commit Graph

304 Commits

Author SHA1 Message Date
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
ganicke
c8c923eb20 Document additional panic codes. 2017-08-30 16:53:58 -07:00
Peli de Halleux
3180229bce updated docs on plotBrightness (#509) 2017-08-18 08:15:43 -07:00
Galen Nickel
17886f3365 Update SUMMARY with current reference APIs. (#507) 2017-08-10 17:52:43 -07:00
ganicke
6110abc17f Enable more help topics for game API. 2017-08-10 12:01:20 -07:00
Sam El-Husseini
e863363ed2 Add respective namespaces to the authoring of inline blocks and buttons (#500) 2017-08-09 22:00:53 -07:00
Peli de Halleux
e7c1915076 support for led.plotBrightness (#494)
* support for led.plotBrightness

* fixing c++ build

* fixed blockid
2017-08-07 11:47:43 -07:00
Peli de Halleux
74799c65ac Support for pause/resume of game rendering loop (#476)
* added pause/resume

* don't override displaymode in game engine

* avoid setting light sensing display mode
2017-08-01 08:17:53 -07:00
HelenFoster
39071b5626 Explain what pressed events do (#469) 2017-07-28 10:05:53 -07:00
Galen Nickel
fa37f1fac0 Batch of fixes from the Lancaster doc review (#451)
* Local commit.

* local commit

* Doc fixes from Lancaster review.

* I don't want to change these yet.

* Trailing newlines, arrr.

* Get the 'Game' cards setup.

* Take block support off of 'show animation'.

* Add 'see also' for showArrow().
2017-07-24 13:40:36 -07:00
Abhijith Chatra
5c82a0fcc6 Updating all pxt.microbit.org reference to makecode.microbit.org (#460) 2017-07-24 13:39:27 -07:00
Galen Nickel
a61f1ec25c Add cards to 'Control' page to match editor. (#454) 2017-07-18 08:48:13 +02:00
Galen Nickel
8e730f619c More fixes from the Lancaster doc review. (#453) 2017-07-18 08:47:27 +02:00
Peli de Halleux
d1c00ae3ab support for advanced SPI functions 2017-05-25 17:19:25 -07:00
Peli de Halleux
fb5a8cf64d support for interval in "show icon", "show arrow" 2017-05-25 16:52:52 -07:00
Peli de Halleux
9af989c13c Uartevent (#393)
* support for uart data event

* updated shims
2017-04-28 01:05:04 -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
Peli de Halleux
54ae7a4fda Melody events (#391)
* support for custom playTone

* added music.onEvent, music.setPlayTone

* updated docs

* updated sample
2017-04-25 10:14:34 -07:00
Peli de Halleux
17c1abe86a support for serial read/write buffer (#384) 2017-04-21 09:02:29 -07:00
Peli de Halleux
3721eb32ca missing ~ 2017-04-21 08:52:41 -07:00
Peli de Halleux
67a746c2c1 removing old file 2017-04-17 09:50:06 -07:00
Michał Moskal
0ff8b7e852 Specify resistor value 2017-04-11 17:26:50 +01:00
Peli de Halleux
08dc08b5b0 fixing broken links 2017-04-06 23:04:29 -07:00
Peli de Halleux
37efefdcee surfacing missing repeat parameter (#380)
* surfacing missing repeat parameter

* updated docs
2017-04-03 10:30: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
24ecb14321 undusted BT docs 2017-03-27 15:43:37 -07:00
Peli de Halleux
62b4168531 updated brightness docs 2017-03-24 07:14:37 -07:00
Peli de Halleux
00e9217e73 /reference/types -> /types 2017-03-16 07:57:41 -07:00
Peli de Halleux
69bd0225ad docs fixes 2017-03-15 15:54:40 -07:00
Peli de Halleux
46c297cba7 fixing devices docs 2017-03-15 15:31:34 -07:00
Peli de Halleux
30e2701b81 fixing links 2017-03-12 04:16:01 -07:00
Sam El-Husseini
7c1b761964 Swapping play builtin melody with begin melody in reference docs 2017-03-01 00:38:12 -08:00
Sam El-Husseini
b0fddd7e72 Fix melody reference docs. 2017-03-01 00:34:31 -08:00
Sam El-Husseini
e947f4859b Adding support for music melody arrays (#358)
* Adding support for music melody arrays in Typescript
2017-02-28 15:23:32 -08:00
Tom Ball
30fe647f51 more docs for show-arrow. correct errors 2017-02-27 10:51:52 -08:00
Tom Ball
dfca86999f add doc for showIcon 2017-02-27 09:07:36 -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
Richard Knoll
72d5e83e5b Exposing pin eventOn method (#349) 2017-01-30 19:19:54 +00:00
Richard Knoll
9a4a2264fa Fixing singal strength docs and adding an example (#347) 2017-01-28 19:53:36 +00: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
46281c3cd0 fixing broken links in docs 2017-01-06 06:12:39 -08:00
Peli de Halleux
a59394646c fixed docs 2017-01-05 07:37:46 -08:00
Peli de Halleux
2da0cf1178 support for buffer signature (#325) 2016-12-23 08:58:38 -08:00
Peli de Halleux
50f0e85884 docs updates 2016-12-20 12:31:25 -08: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
3469ad6f8d Added note about protocol encoding. 2016-12-08 12:01:35 -08:00
Peli de Halleux
03c0339e9a fixing docs snippets 2016-12-08 09:16:27 -08:00
Peli de Halleux
66d3c6c7e8 fix for https://github.com/Microsoft/pxt/issues/549 2016-12-08 08:28:28 -08:00