Commit Graph

390 Commits

Author SHA1 Message Date
Franklin Tse
19dffde1a8 Add isDeleted (#2445) 2019-09-25 05:47:25 -07:00
Galen Nickel
89a9552b5b
I2C Addressing Note (#2428)
* I2C on-board sensor address note

* note for 7bit to 8bit shift
2019-09-16 11:42:58 -07:00
Peter Brodersen
6947465b0d markdown link fix (#2400) 2019-09-03 10:17:13 -07:00
Mark
bb3b01a0b0 Update calibrate-compass.md (#2265)
Based on user feedback in Slack https://microbit-community.slack.com/archives/C1ZMKRFHD/p1563274019078400?thread_ts=1563268925.077500&cid=C1ZMKRFHD
2019-07-16 06:30:18 -07:00
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
Sam Kent
cc06e91c25 Update write-received-packet-to-serial.md (#2217)
A support ticket pointed out issues that they'd encountered when trying to follow this document:

- `sendValue` only supports an 8 character string. This is documented in the `sendValue` docs but a longer string had been used here
- Only `radio.onReceivedNumber` is used so the sample output is not consistent with the users experience. I've changed it so that all packets are handled
2019-06-18 11:23:37 -07:00
Danny Yates
b1334c75ca Spelling (#2214) 2019-06-18 07:55:51 -07:00
Chase Mortensen
1eec659894
Fix Black and White Typo (#2138)
* Fixed typo: Back->Black

* Added Upgrade Rules to fix spelling

* Removed extra isEmpty

* Added previous BackAndWhite to allow for compilation of old scripts
2019-06-07 15:54:58 -07:00
Galen Nickel
b68eb5e960
Shrink the link in firmware version hint (#2163)
* Shrink the link in firmware version hint

* fix a translation quibble
2019-06-07 15:33:15 -07:00
Galen Nickel
3f106307ff
Fix some titles, sigs in ref docs (#2128)
* Fix some title and sigs in ref docs

* better buffer source
2019-06-05 16:28:56 -07:00
Daryl Zuniga
708f2a4ca5 remove code snippets that use onDataPacketReceived because that uses complex destructors which arent supported by python and that function is deprecated anyway (#2063) 2019-05-20 11:26:52 -07:00
Galen Nickel
c3c2545607
Fix block display for examples in 'inBackground' (#2018) 2019-04-22 17:38:58 -07:00
Galen Nickel
19641abe92 Update 'convertToText' ref page (#2002)
* Update 'convertToText' ref page

* say any type
2019-04-11 15:24:07 -07:00
Galen Nickel
a045ba378e Some linking for 'speakers' hw video (#1997) 2019-04-10 11:01:25 -07:00
Galen Nickel
3424862910
Update some info in 'plotBarGraph' (#1993)
* edits for the ref page

* fix temp example text

* spell maximum
2019-04-09 11:01:39 -07:00
Joey Wunderlich
bc71747112 default to num instead of variable for toString (#1977)
* default to num instead of variable for toString

* to text instead of toString

* converToText
2019-04-08 10:34:09 -07:00
Richard Knoll
3761d1282a
Update the max length of a name in a sendValue packet (#1965) 2019-04-05 10:45:06 -07:00
Joey Wunderlich
aa51b7e014 add initial toString block (#1958) 2019-04-04 13:41:51 -07:00
Galen Nickel
0f1b923cc9 translator found bug fixes (#1937) 2019-03-22 13:27:25 -07:00
Peli de Halleux
ea2361792f
Adding serial.set(Rx|Tx)BufferSize (#1931)
* Fix for https://github.com/Microsoft/pxt-microbit/issues/1929

* bump pxt

* updated docs

* fix default values

* moving dialogs to react

* moving to react

* typo

* typo
2019-03-21 08:04:48 -07: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
7b78665fcb Update BT pairing page (#1924)
* Update BT pairing page

* troubleshooting link
2019-03-21 04:18:06 -07:00
Galen Nickel
be617f6100
Insert kitronik servo guide link (#1923)
* Insert kitronik servo guide link

* Del leading space
2019-03-15 13:47:47 -07:00
Galen Nickel
c4868e131d Insert new hw video links (#1910) 2019-03-11 15:04:38 -07:00
Peli de Halleux
0e13b0b7fa updated bluetooth pairing options 2019-02-28 08:32:42 -08:00
Galen Nickel
7a5de98819 update radio ref for deprecated pages (#1829) 2019-02-13 21:01:50 -08: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
fangzheng
b3535a50da Fix indentation errors (#1807) 2019-02-07 08:29:31 -08:00
Galen Nickel
079cd67c38 Update 'pins' ref pages (#1733)
* Update 'pins' ref pages

* Some jsdoc touchups
2019-01-03 16:02:19 -08:00
Niels
7856c046f4 Update on-event.md (#1718)
Explain what "background melody" means
2019-01-03 15:57:55 -08:00
Galen Nickel
bac93dfc58 update rotation range for pitch (#1776) 2019-01-02 21:52:53 -08:00
Galen Nickel
f4bb37b4bf Put 'writeLine' into serial ref example (#1747)
* Put 'writeLine' into serial ref example

* how about a space
2018-12-17 13:27:24 -08:00
Galen Nickel
55e5125449
Add game state boolean ref docs (#1694)
* Add game state boolean doc refs

* Add check for _img validity

* JS guru tricks
2018-12-02 20:11:17 -08:00
Galen Nickel
dda488c08f
Update some music ref docs (#1693)
* Update some music ref docs

* bad link

* Actually add the note, hello
2018-12-02 16:46:05 -08:00
Peli de Halleux
61c06ad969
stop melody block (#1633)
* docs

* updated strings
2018-12-02 07:56:47 -08:00
Peli de Halleux
7b2b502a57
adding missing writeline function (#1667)
* adding missing writeline function

* 1.2.12
2018-11-25 21:57:18 -08:00
Sam El-Husseini
7e23340df1
Spellcheck docs (#1652)
* Spelling mistakes
2018-11-20 13:26:26 -08:00
Galen Nickel
a6e4f63dea I2C ref doc 'repeated' description (#1589)
* I2C ref doc 'repeated' description

* Note the non-endianness for one byte formats

* trigger rebuild
2018-11-15 21:57:39 -08:00
Peli de Halleux
50367217f3
Lessons fixes (#1609)
* fixing a bunch of lessons

* more fixes

* more fixes

* more cleanup

* Additional fixes
2018-11-09 15:36:46 -08:00
Galen Nickel
08e9c9c416 Add game 'life' api reference (#1569) 2018-11-01 22:22:54 -07:00
Peli de Halleux
93a22ae17f
radio double support (#1540)
* support for doubles in radio

* fix typos

* more docs

* more support

* fix build

* handle serial

* fix length

* fixing buffer allocation

* use same notation

* using decrRC
2018-10-29 10:42:12 -07:00
Peli de Halleux
6293e8f342
restoring some docs (#1533) 2018-10-26 00:10:41 -07: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
Galen Nickel
920b30a304 Add more desc to on-received-buffer (#1431) 2018-10-16 10:20:05 -07:00
Peli de Halleux
2b504d863d
Radiodocsupdate (#1430)
* a few updates

* more updates

* reorder radio blocks

* more shuffling of new radio apis

* fixing hot or ocold

* more doc fixes

* more updates

* fixing docs issues

* more doc fixes

* restore docs errors

* missing packate

* renamed argument of callback

* mssing radio

* more odcs fixes

* lock turtle

* ignore docs for now
2018-10-15 15:32:09 -07:00
Peli de Halleux
6209f0cc63
scratch like broadcast api (#1358)
* scratch like broadcast api

* always register handler

* adding docs

* added icon

* updated block name

* adding DAL support "radio.raiseEvent"

* typo

* implemented using radiobus

* adding docs

* adding raise event block

* updated shims

* updated pxt
2018-10-08 09:46:23 -07:00
Peli de Halleux
eed66868a9
explictely set radio default power to 6 (#1286) 2018-09-24 10:16:03 -07:00
Peli de Halleux
d0a40d1ae1
tools lessons (#1218)
* tools lessons

* updated summary

* more images

* wire up images

* fixing radio send-value
2018-09-12 13:26:39 -07:00
Guillaume Jenkins
3b85710bd7 Fix radio reference snippets (#1185) 2018-09-06 14:37:40 -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