Commit Graph

364 Commits

Author SHA1 Message Date
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
Peli de Halleux
8e811b913e adding pins.pulseIn API 2016-08-17 11:18:15 -07:00
Peli de Halleux
9159c297a5 added wait-micros function 2016-08-16 17:04:21 -07:00
Peli de Halleux
5daa9a0bb6 broken links 2016-08-11 10:44:17 -07:00
Peli de Halleux
c99138b02e adding SPI support 2016-08-10 23:26:58 -07:00
Peli de Halleux
9d15c4e270 fixing docs issues 2016-08-10 13:46:11 -07:00
Peli de Halleux
0e0275e496 doc fixes 2016-08-10 13:10:40 -07:00
Thomas Denney
807e581c3d Addition of ignore notation
Some snippets are designed to show syntax errors or refer to earlier variables. In this case the automated checker needs to avoid compiling them
2016-08-10 13:43:48 +01:00
Thomas Denney
41a4dfeb68 Documentation snippet fixes 2016-08-10 10:51:55 +01:00
Thomas Denney
1164feb754 More snippet types 2016-08-09 16:55:43 +01:00
Thomas Denney
9ebd9d4f04 Add more snippet types for better detection 2016-08-09 16:52:24 +01:00
Thomas Denney
7f40889103 Add package info to mic docs (for testing) 2016-08-09 16:35:45 +01:00
Thomas Denney
ee37b4a959 Add package info to radio docs (for testing) 2016-08-09 16:28:08 +01:00
Peli de Halleux
20d0dd91ad added input.onPinRelease. Fix for #294 2016-08-08 15:23:18 -07:00
Peli de Halleux
b3edb81d3c adding URL for SEO 2016-08-08 13:08:15 -07:00
Ron Hale-Evans
4f7dd75fbe Finished animation API 2016-07-28 12:16:18 -07:00
Ron Hale-Evans
a6b2187ec5 Edited advanced page 2016-07-28 10:56:37 -07:00
Peli de Halleux
3f241e8bc9 Merge pull request #180 from Microsoft/snippetfixes
Fixes to documentation snippets
2016-07-27 13:30:39 -07:00
Peli de Halleux
79113115e0 docs update 2016-07-27 10:57:18 -07:00
Peli de Halleux
573ed7f6f2 updated localization strings in bundled packages 2016-07-27 08:42:58 -07:00
Peli de Halleux
aff9d1ee60 clean up docs 2016-07-26 09:03:42 -07:00
Peli de Halleux
8add7e8efb updated radio strings / docs page 2016-07-26 08:47:45 -07:00
Thomas Denney
d5cb085264 Rename function call in number documentation 2016-07-25 11:01:10 +01:00
Thomas Denney
c055a5d329 Syntax fixes to LED plotting docs 2016-07-25 11:00:34 +01:00
Jonathan Protzenko
ead4d32446 Update analog-read-pin.md 2016-07-21 16:36:33 -07:00
Jonathan Protzenko
a51a14022a Update analog-pitch.md 2016-07-21 16:25:20 -07:00
Ron Hale-Evans
c55716e148 Control pages now link to Lancaster 2016-07-21 13:29:59 -07:00
Peli de Halleux
a29e06abce removing dangling file 2016-07-21 11:06:02 -07:00
Ron Hale-Evans
3f66870688 Getting started with Control 2016-07-20 16:25:09 -07:00
Ron Hale-Evans
478b1c84de Adding templates to Control directory 2016-07-20 11:31:14 -07:00
Ron Hale-Evans
327d52014c Misnamed, redundant file 2016-07-19 16:02:31 -07:00
Thomas Denney
6a5cfae5ff snake_case -> camelCase in docs 2016-07-19 11:42:42 +01:00
Thomas Denney
64ebb5c8c3 Correct assignment blocks in docs
Previously these blocks were not rendering.
2016-07-19 11:26:41 +01:00
Thomas Denney
bb97b57b01 Correct typo in string documentation
Note that currently you can't follow through with these instructions because string literals aren't supported, and there isn't support for converting the JS in this doc.
2016-07-19 09:25:48 +01:00
Ron Hale-Evans
534e3723d2 Finishing fixing parameters 2016-07-18 15:51:28 -07:00
Ron Hale-Evans
ad6ef04b1f Fixing parameters 2016-07-18 15:18:40 -07:00
Ron Hale-Evans
2c09b7794f Fixing parameters 2016-07-18 14:23:05 -07:00
Ron Hale-Evans
4941ce1694 Fixing parameters 2016-07-18 14:04:15 -07:00
Ron Hale-Evans
aa6a965f59 Fixing parameters 2016-07-18 11:14:51 -07:00
Ron Hale-Evans
1831c30050 Fixing parameters 2016-07-18 10:39:41 -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
e23c5e019f Fix param names 2016-07-15 14:12:10 -07:00
Ron Hale-Evans
1aa08f63fe Another new Game topic and more fixes 2016-07-15 11:54:22 -07:00
Ron Hale-Evans
797474063d New Game topic, some fixes 2016-07-15 10:24:16 -07:00
Thomas Denney
b76622542b Ensure title shows correctly for doc pages 2016-07-15 15:50:26 +01:00
Ron Hale-Evans
3ce1fa9b6e New Game topic 2016-07-14 16:58:08 -07:00
Ron Hale-Evans
5fb3da5a77 New Game topic 2016-07-14 12:47:33 -07:00
Ron Hale-Evans
bdcd299805 New Serial topic 2016-07-13 16:24:56 -07:00
Ron Hale-Evans
3e23fe4814 New Game topic, some fixes 2016-07-13 15:04:10 -07:00
Ron Hale-Evans
3782d26e64 New Game topic 2016-07-13 13:10:06 -07:00
Ron Hale-Evans
583b08df28 Wrote new Serial topic 2016-07-11 12:54:28 -07:00
Ron Hale-Evans
01f80b67bc Fix parameters 2016-07-11 11:13:13 -07:00
Ron Hale-Evans
a890d2a357 Wrote new Serial topic 2016-07-11 10:58:16 -07:00
Ron Hale-Evans
4cc7215d35 Updated Linux (and Windows) instructions 2016-07-08 16:34:56 -07:00
Ron Hale-Evans
8751d2aaa1 Rewrote one Serial topic; shifted some material 2016-07-08 15:29:14 -07:00
Ron Hale-Evans
af91622dda Wrote new Serial topic 2016-07-08 12:45:31 -07:00
Ron Hale-Evans
45d4caf595 Rewrote/expanded serial topic 2016-07-08 11:46:51 -07:00
Ron Hale-Evans
37e0307698 Wrote two new Game topics 2016-07-06 15:19:43 -07:00
Ron Hale-Evans
1b15eefa5a Wrote new Game topic 2016-07-06 13:31:42 -07:00
Ron Hale-Evans
a4eccaf4f9 Wrote new advanced topic 2016-07-06 11:54:42 -07:00
Ron Hale-Evans
9ac7a4c522 Wrote new advanced topic 2016-07-05 16:36:09 -07:00
Ron Hale-Evans
9f1c3ee13c Created advanced topic 2016-07-05 14:04:12 -07:00
Ron Hale-Evans
8b9c3d71d5 Wrote new I2C topic. 2016-07-05 12:40:04 -07:00
Ron Hale-Evans
6d726b7499 Wrote new I2C topic. 2016-07-05 12:30:28 -07:00
Ron Hale-Evans
835a4b5cf0 Edited advanced topic. 2016-07-01 13:03:53 -07:00
Ron Hale-Evans
36e6570296 Edited advanced topic 2016-06-30 12:43:42 -07:00
Ron Hale-Evans
92c63b615a Edited advanced topic. 2016-06-30 11:53:13 -07:00
Ron Hale-Evans
f71267c988 Edited and expanded advanced topic. 2016-06-30 11:02:28 -07:00
Ron Hale-Evans
deac587164 Rewrote in simple language. Added hint about average values. 2016-06-29 13:10:45 -07:00
Ron Hale-Evans
7a0a2fbd0a Rewrote in simple language. Added hint about averaging read values. 2016-06-29 12:41:35 -07:00
Martin Woolley
499d619faf Reordered links in 'See also' sections 2016-06-27 13:54:44 +01:00
Martin Woolley
c178e58260 Added About Bluetooth page and links to profile reference and overview 2016-06-27 13:46:29 +01:00
Ron Hale-Evans
b72ff9fe4f New page for accelerometer range. 2016-06-24 15:42:21 -07:00
Peli de Halleux
774d614d79 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-24 11:26:51 -07:00
Peli de Halleux
545f715eeb fixing uarl docs 2016-06-24 11:03:39 -07:00
Ron Hale-Evans
45b480c6dd Rewrote in simple language. Deleted an irrelevant example. 2016-06-24 10:25:47 -07:00
Peli de Halleux
5dd37a1494 updated bluetooth docs page 2016-06-24 09:02:14 -07:00
Martin Woolley
b9a24a4542 Documentation for pairing. Hint section updated to reference this. 2016-06-24 11:09:56 +01:00
Martin Woolley
af5bf6e04e Documentation for the uartRead block 2016-06-24 09:35:31 +01:00
Martin Woolley
0834402b18 Pairing documentation worj in progress. UART write block added 2016-06-24 07:59:08 +01:00
Martin Woolley
83cfe8f534 Merge remote-tracking branch 'upstream/master' 2016-06-24 05:50:03 +01:00
Ron Hale-Evans
8617f0f3b4 Expanded stub. Rewrote in simple language. 2016-06-23 15:25:56 -07:00
Ron Hale-Evans
0ecf3dc2b4 Rewrote in simple language. Updated example (needs work). 2016-06-23 14:29:32 -07:00
Martin Woolley
76005841fa Increased default power to 6, added UART write block 2016-06-23 11:38:23 +01:00
Ron Hale-Evans
ccf405e64c Rewrote in simple language 2016-06-22 16:24:14 -07:00
Ron Hale-Evans
c0a75d1845 Rewrote in simpler language. Added another example. 2016-06-22 15:35:20 -07:00
Ron Hale-Evans
e65a521bd4 Rewrote in simple language. Added second example. 2016-06-22 15:19:10 -07:00
Peli de Halleux
5f21789d90 migration to codethemicrobit.com 2016-06-22 09:43:41 -07:00
Peli de Halleux
b150ee873f updated bluetooth docs 2016-06-22 09:25:01 -07:00
Peli de Halleux
67b5afd73a integrating docs about "devices" namespace 2016-06-21 11:17:34 -07:00
Peli de Halleux
5d8193301c adding reference pages for bluetooth 2016-06-21 09:46:13 -07:00
Peli de Halleux
bf8f38fe38 docs formatting fixes 2016-06-21 09:17:46 -07:00
Martin Woolley
8faeeffecf Added documentation for on-bluetooth-connected and on-bluetooth-disconnected event handlers 2016-06-21 12:12:36 +01:00
Martin Woolley
343968cf09 Added documentation for Bluetooth temperature service 2016-06-21 10:10:02 +01:00
Martin Woolley
ca92f787e8 Added documentation for Bluetooth button service 2016-06-21 09:55:52 +01:00
Martin Woolley
49a67e73be Added documentation for Bluetooth accelerometer service 2016-06-21 09:40:51 +01:00
Martin Woolley
11af897c3d Added documentation for Bluetooth magnetometer service 2016-06-21 08:45:00 +01:00
Martin Woolley
08cd04b2c8 Merge remote-tracking branch 'upstream/master' 2016-06-21 08:08:12 +01:00
Martin Woolley
c1656cf441 Added documentation for Bluetooth LED service 2016-06-21 08:01:33 +01:00
Peli de Halleux
8f3c585588 updated devices docs 2016-06-20 22:06:19 -07:00
Peli de Halleux
fffcf0f809 added config section 2016-06-20 13:39:18 -07:00
Ron Hale-Evans
240162370e Rewrote in simple language. New example. 2016-06-20 13:18:41 -07:00
Peli de Halleux
91938f156a Merge pull request #136 from bluetooth-mdw/master
Documentation for Bluetooth IO Pin service block++
2016-06-20 11:07:04 -07:00
Martin Woolley
eb01245cce Added sig section 2016-06-20 18:11:02 +01:00
Martin Woolley
22c03dfd7a Documentation for Bluetooth IO Pin service block.
Addition of event handler blocks for Bluetooth connection state changes.
2016-06-20 08:39:51 +01:00
Peli de Halleux
cd0b2a646f fixing various doc links 2016-06-19 05:28:46 -07:00
Peli de Halleux
e055484492 updated loc strings 2016-06-19 05:14:46 -07:00
Ron Hale-Evans
25d6746b7e Rewrote in simple language. Fixed broken links. 2016-06-17 16:20:17 -07:00
Ron Hale-Evans
7cb85ff459 New page for 'create big image' 2016-06-17 15:00:24 -07:00
Ron Hale-Evans
74b6d99ab1 Rewrote in simple language. Added blocks example. 2016-06-17 13:42:01 -07:00
Ron Hale-Evans
6ae39f192b Examples now set to same radio group 2016-06-16 15:33:35 -07:00
Ron Hale-Evans
ed5263f248 First draft; need to debug examples 2016-06-16 15:15:14 -07:00
Ron Hale-Evans
910870e46f Edited for simpler language 2016-06-16 12:52:47 -07:00
Peli de Halleux
75d99b324c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-06-15 23:14:30 -07:00