Commit Graph

331 Commits

Author SHA1 Message Date
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
5d6f3cd598 Remote data topic for the analyze docs (#720)
* Remote data topic for the analyze docs

* Add 'see also'

* Spelling typo

* Add more info about serial number usage

* Expand the example
2018-03-27 18:26:35 -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
ddc9aeae35 Add some descriptive info to serial docs (#704)
* Local commit

* Add some descriptive info to serial docs

* Example typo

* Tiny edit
2018-03-09 13:14:24 -08:00
damienbod
13f20bfcad Update on-data-packet-received.md (#702)
* Update on-data-packet-received.md

* Update on-data-packet-received.md
2018-03-08 13:23:18 -08:00
Jan Karger
4a8d9ee9cd Update scroll-image.md (#701)
Just change the documentation here, cause the underlying API doesn't work correctly yet 2cff906f01/source/drivers/MicroBitDisplay.cpp (L931)
So negative values are not working for now.
2018-03-08 12:57:28 -08:00
Peli de Halleux
29de28a738
Added serial->write numbers to support CSV data generation (#699)
* support for serial write numbers

* moving down the list

* formatting

* fixing example typo
2018-03-08 08:33:02 -08:00
Peli de Halleux
3dd45c6f64
Clearer message for devices blocks (#669) 2018-02-20 22:00:28 -08:00
Galen Nickel
28b633aa8e Add sim note to 'reset' api topic (#616) 2018-02-01 21:53:42 -08:00
Peli de Halleux
07a578831c
support for buffer packet type (#608)
* support for buffer packet type

* updated description

* updated signature

* added note on json encoding

* adding sendNumbers

* cleanup

* removing 'sendnumbers'
2018-01-30 10:11:12 -08:00
Galen Nickel
79018d4f00 Enable help for serial readString() (#609) 2018-01-30 08:54:42 -08: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
Galen Nickel
aee9b84b31
Do some edits for serial redirect (#605)
* Do some edits for serial redirect

* Broken links
2017-12-15 16:46:16 -08:00
Peli de Halleux
b45f456736
Redirecttousb (#604)
* add block to redirect back to USB

* added docs

* bump minor version
2017-12-14 06:44:48 -08:00
Galen Nickel
985ad3d8e3 Add and update I2C topics (#602)
* Add and update I2C topics

* Throw in some edits for the serial buffer apis

* Add an example to serial read buffer
2017-12-11 22:34:33 -08:00
Peli de Halleux
26680823ff
Fixing serial buffer docs (#600)
* Fixing serial buffer docs

* updated shims
2017-12-11 00:37:57 -08:00
Mark
f5eebf2931 Update begin-melody.md (#574)
Based on customer feedback, it may be useful to have an example of the array, this may then lead them to coding their own arrays.
2017-11-29 20:08:29 -08:00
Galen Nickel
839934f9f4 Remove 'showAnimation' from Basic category page (#569) 2017-11-29 20:08:14 -08:00
ganicke
419dbdb398 Add new content to spi-frequency.md 2017-11-27 14:21:21 -08:00
Galen Nickel
7d2ba698ab Remove empty 'parameters' section from images.md (#562) 2017-11-10 01:55:40 +01: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
Peli de Halleux
52e6cfbd13 Adding notes about game library (#537) 2017-09-12 10:58:49 -07:00
shaoziyang
036b191f29 same compass problem as #528 (#532) 2017-09-11 04:22:10 -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
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