Commit Graph

348 Commits

Author SHA1 Message Date
Abhijith Chatra
be7858cbed
Cherry picked fixes from v0 to v1 ()
* Fix example and do a few edits ()

* Small fixes to the Karel project text ()

* fix missing shadow type

* add calibration info ()

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 ()

* fix nudge

* Fix a typo ("screent") in the documentation ()

* Fix a typo
"screent" -> "the LED screen"

* Update showArrow doc string for consistency with other methods

* Doc bugs found by xlators ()

* Update rotation.md ()

reflects actual behaviour of the board

* fixed layout corruption ()

* Updating the new bug filer with the right link

* Update challenges.md ()

For what I'm taught in school, 2 follows 1 😉😉.

* Update simulator.md ()

* Update plant watering.md ()

the connection to servo are male not female

* support for MIDI simulator in v0 ()

* Doc improvements ()

* 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 ()"

This reverts commit 30a9c411fb80762656e7a636feff8e77b7fd9e67.

* Revert "Cherry pick adding various cross-editor compat APIs ()"

This reverts commit 7308dbef23e9ee402bebb7e721d7014d8252c9e5.

* Fixed pin needed to replace button A ()

* Cherry pick part of the signature update in in2cWriteBuffer (): 7308dbe
2018-10-22 10:00:57 -07:00
Galen Nickel
920b30a304 Add more desc to on-received-buffer () 2018-10-16 10:20:05 -07:00
Peli de Halleux
2b504d863d
Radiodocsupdate ()
* 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 ()
* 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 () 2018-09-24 10:16:03 -07:00
Peli de Halleux
d0a40d1ae1
tools lessons ()
* 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 () 2018-09-06 14:37:40 -07:00
Guillaume Jenkins
7f4cf50ee0
Make randomRange more consistent in docs ()
* Make randomRange more consistent in docs

* Change formulation
2018-08-02 14:49:16 -04:00
Guillaume Jenkins
56dedeff92 Clarify radio signal strength 2018-08-01 13:31:32 -04:00
Guillaume Jenkins
2f45300f8c
Fix wrong snippet in pins ic2 help () 2018-07-31 15:44:58 -04:00
Galen Nickel
f5c44a3d4b
Update 'radio' docs for v1 () 2018-07-09 11:17:32 -07:00
Sam El-Husseini
6f148c14e0 Fix randomInt 2018-06-01 11:42:38 -07:00
Sam El-Husseini
442722f12e Merge branch 'master' into vnext 2018-05-09 10:58:01 -07:00
Galen Nickel
12eee456df Change the 'deviceName' description () 2018-05-02 13:31:06 -07:00
Dominique Netters
ccf4e23398 Corrected function output () 2018-04-27 11:25:17 -07:00
Sam El-Husseini
3afa302e65 Remove offending docs 2018-04-21 12:21:29 -07:00
Sam El-Husseini
8719f557aa Fix some doc issues 2018-04-21 11:47:43 -07:00
Sam El-Husseini
6b9e78d269 Change docs to randomInt 2018-04-21 10:52:09 -07:00
Niels
48c65ae7cf make example code work with blocks ()
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 ()
* 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 ()
* 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 ()
* 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 ()
* 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 ()
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 ()
* 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 () 2018-02-20 22:00:28 -08:00
Galen Nickel
28b633aa8e Add sim note to 'reset' api topic () 2018-02-01 21:53:42 -08:00
Peli de Halleux
07a578831c
support for buffer packet type ()
* 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() () 2018-01-30 08:54:42 -08:00
Galen Nickel
e20ac7f992 Fix a few bugs found by translators ()
* 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 ()
* Do some edits for serial redirect

* Broken links
2017-12-15 16:46:16 -08:00
Peli de Halleux
b45f456736
Redirecttousb ()
* 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 ()
* 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 ()
* Fixing serial buffer docs

* updated shims
2017-12-11 00:37:57 -08:00
Mark
f5eebf2931 Update begin-melody.md ()
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 () 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 () 2017-11-10 01:55:40 +01:00
microbit-mark
f5857effc3 Update calibrate-compass.md ()
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 ()
* 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 () 2017-09-12 10:58:49 -07:00
shaoziyang
036b191f29 same compass problem as () 2017-09-11 04:22:10 -07:00
Galen Nickel
90bb41e8ff Merge pull request from shaoziyang/patch-1
fixed compass error
2017-09-07 15:11:06 -07:00
Sam El-Husseini
e3975e65e5 pxt-microbit Accessibility PR ()
* 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. () 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 () 2017-08-18 08:15:43 -07:00
Galen Nickel
17886f3365 Update SUMMARY with current reference APIs. () 2017-08-10 17:52:43 -07:00