282 Commits

Author SHA1 Message Date
Leo
82386e8144 Fix remove life animation causing microbit stuck ()
On the real microbit board, if the program execute other game blocks while
the remove life animation is playing, it would cause strange behavior or
even make the game stuck.
2019-09-03 13:30:40 -07:00
Peli de Halleux
61b3bd2833
hide pin p19/p20 () 2019-09-03 13:29:23 -07:00
Peli de Halleux
2c85f91489
turn on samples when reading accelerometer () 2019-09-03 13:23:45 -07:00
Peli de Halleux
b6620a82f6
Editor controllers fixes ()
* updated strings

* bump pxt

* anotehr attempt
2019-09-03 11:39:44 -07:00
Joey Wunderlich
34fd7e0600
Update pxt/common-packages and fix build ()
* fix build off of pxt/ and pxt-common-packages master

* check in generated files
2019-07-30 09:45:32 -07:00
Michał Moskal
acf462fb61 Decrease size of GC heap to allow more DAL allocs () 2019-07-17 06:25:15 -07:00
Michał Moskal
28b5b293b5 Use gcPreAllocateBlock() to fix , ()
* Use gcPreAllocateBlock() to fix , 
* bump pcp 6.9.4
2019-07-01 18:39:12 -07:00
Peli de Halleux
8389e735fa
stop background before foreground () 2019-06-10 15:06:56 -07:00
Chase Mortensen
1eec659894
Fix Black and White Typo ()
* 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
5983cfafd8
Set serial help paths for blocks () 2019-06-07 14:56:02 -07:00
Peli de Halleux
9eec76410a add API to disable serial padding. ()
* add API to desiable serial padding.

* renamed api
2019-06-07 14:29:03 -07:00
Peli de Halleux
83ababd521 support flag argument ()
* support flag argument

* enable drop semantics

* add reentrant

* updated shims
2019-06-07 09:54:36 -07:00
Peli de Halleux
a0181ef2a7 add blocks for serial set tx/rx buffer size () 2019-06-07 09:12:35 -07:00
Peli de Halleux
b553825f0c remove baud rate as it is not support on HW () 2019-06-07 09:01:23 -07:00
Chase Mortensen
7345a3797e
Sets JustWorks to the actual config values () 2019-06-06 10:40:29 -07:00
Galen Nickel
3f106307ff
Fix some titles, sigs in ref docs ()
* Fix some title and sigs in ref docs

* better buffer source
2019-06-05 16:28:56 -07:00
Peli de Halleux
c56df20d59
refresh shims () 2019-06-05 13:34:07 -07:00
kimprice
84fcc38e61
Fixed issue with 'b' flats being output as note 'B' ()
* Fixed issue with 'b' flats being output as note 'B'

* 'b' will only be interpreted as a flat when following another note, otherwise it will be interpreted as the 'B' note
2019-05-16 12:50:08 -07:00
Peli de Halleux
39c3a7da47
Pxt5116 ()
* bump pxt 5.11.6, 6.7.2

* enable debugger
2019-04-24 07:41:10 -07:00
Michał Moskal
18b672ae7a
Save memory in music.ts () 2019-04-10 15:31:50 -07:00
Joey Wunderlich
bc71747112 default to num instead of variable for toString ()
* default to num instead of variable for toString

* to text instead of toString

* converToText
2019-04-08 10:34:09 -07:00
Peli de Halleux
c3b9d2c648 bump minor version 2019-04-04 20:43:29 -07:00
Joey Wunderlich
f14cd4fc24 Remove c++ macros that are moving to common packages ()
* (probably) fix PXT_BUFFER_DATA, need to set up docker to test

* switch to adding new macros

* more macros and rename some

* get data length in bytes

* remove macros that were moved to common packages

* bump common packages to include reqd pr
2019-04-04 20:33:17 -07:00
Galen Nickel
aff219c6ef Fill in some parameter TODO's () 2019-04-04 20:32:48 -07:00
Joey Wunderlich
aa51b7e014 add initial toString block () 2019-04-04 13:41:51 -07:00
Peli de Halleux
8183b6a4fd
bum pxt 5.9.1 () 2019-04-03 16:01:04 -07:00
Michał Moskal
98bff887f5 Allocate RefMImage in the GC heap; fixes () 2019-03-27 15:10:10 -07:00
Peli de Halleux
3477d40ce0
uart write sim support ()
* pass data to uart without prefix

* added NEW_LINE support
2019-03-21 10:22:24 -07:00
Peli de Halleux
ea2361792f
Adding serial.set(Rx|Tx)BufferSize ()
* 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 ()
* support for is-gesture

* updated shims

* activate shake button

* refactor

* refactor shake button
2019-03-21 07:40:23 -07:00
Peli de Halleux
4e77e6259c
vscode Workspace ()
* add vscode workspace

* removed const notation

* updated strings
2019-03-21 04:17:11 -07:00
Peli de Halleux
cd750f51a3
support for hex template () 2019-03-12 08:25:48 -07:00
Peli de Halleux
c03d03257a
Bump latest common packages ()
* bump pxt

* add fixed

* bump common packages
2019-02-27 22:01:38 -08:00
Peli de Halleux
5389392b4e
reduce GC heap size when BLE is used () 2019-02-27 15:24:25 -08:00
Michał Moskal
71d98822ae
Support latest PXT with GC ()
* Enable gc and basic compilation fixes

* Add missing GC stuff

* Set microbit-dal version

* Disable jacdac in servo

* UTF fixes

* TS build fixes

* Auto-generated files update

* We only seem to have that much

* Fix for new new compiler

* Account for uninitialized scheduler

* Intialize memory allocator

* bump references

* updated package

* Set image tag, requires https://github.com/Microsoft/pxt/pull/5262

* updated project summaries

* Fixing block tests
2019-02-21 15:41:32 -08:00
Galen Nickel
079cd67c38 Update 'pins' ref pages ()
* Update 'pins' ref pages

* Some jsdoc touchups
2019-01-03 16:02:19 -08:00
chee
025cbc98b3 Fix typo in showIcon jsdoc ()
changes "predifined" to "predefined"
2018-12-13 07:02:48 -08:00
Xuefeng education
30b6ae3acd Remove punctuation for isTouching, isTouchingEdge ()
* Remove punctuation for isTouching, isTouchingEdge

* Update isTouching,isTouchingEdge in core-strings.json
2018-12-02 21:41:52 -08:00
Galen Nickel
55e5125449
Add game state boolean ref docs ()
* Add game state boolean doc refs

* Add check for _img validity

* JS guru tricks
2018-12-02 20:11:17 -08:00
Peli de Halleux
61c06ad969
stop melody block ()
* docs

* updated strings
2018-12-02 07:56:47 -08:00
Xuefeng education
b867e909d2 Show block for isGameOver(),isRunning(),isPaused() () 2018-11-28 21:12:53 -08:00
Richard Knoll
18a4868cbd
Adding blocks tests ()
* Adding blocks tests

* Moving block tests

* Adding chromium to travis yml
2018-11-14 12:54:26 -08:00
Peli de Halleux
bbc049e05e
updated to pxt444 () 2018-11-08 16:47:41 -08:00
Galen Nickel
08e9c9c416 Add game 'life' api reference () 2018-11-01 22:22:54 -07:00
Peli de Halleux
7783efc9bd
pipe led.plotbargraph through console.log () 2018-10-29 22:09:28 -07:00
Peli de Halleux
0a708ef815
BLE HF2 log service ()
* basic hf2 service

* service to send hf2 log messages

* use common console.log

* updated shims

* adding config

* adding simulator

* fix hf2 logging

* hide console blocks
2018-10-29 21:12:09 -07:00
Peli de Halleux
11dbaabe3a
Buffer from commonpackages ()
* use buffer.ts from common packages

* updated common packages

* fix descr

* fix double description

* restore pin descr
2018-10-25 09:19:49 -07:00
Peli de Halleux
3d52ed44e6 fix i2cwritebuffer signature 2018-10-22 13:32:46 -07:00
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
Peli de Halleux
5b28d5080a
support for usb in redirect ()
* support for usb in redirect

* regenerated dal.d.ts
2018-10-17 09:50:34 -07:00