Commit Graph

378 Commits

Author SHA1 Message Date
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
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
Peli de Halleux
6c11dbcdf4 added setTransmitPower in BLE 2016-12-07 09:05:03 -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
034897b0a6 fixing docs issues 2016-11-30 05:00:34 -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
c5c5362b5d Merge branch 'master' into eddystone 2016-11-29 23:27:49 -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
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
76adc3c00a added led.enable (#294)
* added led.enable

* fixed simulator support for led.enable
2016-10-28 08:34:04 -07:00
Richard Knoll
95e4c609a4 Rename the parameters for the sendValue block (#293) 2016-10-27 14:48:22 -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
Richard Knoll
ec404e5887 Deprecating old radio APIs and fixing docs (#289) 2016-10-24 16:30:21 -07:00
Peli de Halleux
66a46e4046 fixing links in docs 2016-10-22 23:04:08 -07:00
Peli de Halleux
bd1536132d fixing references / snippets
cleanup "snippets" compilation state
2016-10-22 21:29:31 -07:00
Abhijith Chatra
44e2ffc874 Merge pull request #281 from Microsoft/musicfix
Fixing music doc issues
2016-10-21 14:21:19 -07:00
Abhijith
0b1b312e76 Fixing music doc issues 2016-10-21 08:48:43 -07:00
Peli de Halleux
6ad59e04a6 fixed uart issues 2016-10-18 21:47:54 -07:00
Peli de Halleux
ae5d5c74a7 better support for BLE UART and alignment with serial blocks. (#276)
* aligning uart apis with serial

* reorganizing serial/bluetooth blocks

* Autoupdate configuration for UART. (#279)

* Autoupdate configuration for UART.

* removing serial autoupdates.
2016-10-18 21:36:42 -07:00
Peli de Halleux
47ea4e01d2 more docs cleanup 2016-09-01 05:28:27 -07:00
Peli de Halleux
bfc2641637 various docs cleanup 2016-09-01 05:08:27 -07:00
Peli de Halleux
ddc2b7437b re-ordering of blocks in docs 2016-08-29 14:49:51 -07:00
Peli de Halleux
9f31637000 support for max-duration in pulse-in 2016-08-17 11:35:54 -07:00