Commit Graph

569 Commits

Author SHA1 Message Date
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
Peli de Halleux
62427152eb revert BLE defaults 2018-10-16 08:54:43 -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
192588d8cb
BLE mode by default ()
* set open mode as default + pairing mode supported too

* remove comment
2018-10-15 13:11:35 -07:00
Abhijith Chatra
670a19a9b4 Chaning the order in input advanced category () 2018-10-15 08:55:38 -07:00
Peli de Halleux
292fa57fbc updated shims 2018-10-13 22:31:43 -07:00
Sam El-Husseini
1b7c51e5b5
don't allow decimals in led x y fields () 2018-10-12 20:56:44 -07:00
Peli de Halleux
82bf0e7107
WebBLE partial flashing experiment. ()
* support for webble

* more refactoring

* updated check

* flags

* moving flashing to experiments

* always have pairing mode

* fix settings

* added experiment image

* bump pxt

* add missing types

* bump pxt
2018-10-12 16:12:27 -07:00
Peli de Halleux
4b2ed73382
fix brightness () 2018-10-11 14:08:46 -07:00
Sam El-Husseini
bbf531fde0 Update pin authoring to set size of grid picker width () 2018-10-10 20:19:32 -07:00
Sam El-Husseini
a069e6f46e
Update icons to have a transparnet OFF colour () 2018-10-08 10:34:22 -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
ae3d3a37f9 hide midi_Send 2018-10-07 21:27:46 -07:00
Peli de Halleux
f2435df722
BLE UART Buffer methods ()
* adding simulator

* attempt at handling size

* correct ref counting

* defense is on

* handle read < 0
2018-10-05 15:25:18 -07:00
Sam El-Husseini
c14108de99
Update icons making the white boxes bigger so it's more readable. () 2018-10-05 15:09:44 -07:00
Peli de Halleux
9002edbb22
Servo library support ()
* ateempt at bringin servos

* basic plumbing

* avoid math map duplicate

* missing parts annontation

* pretify parts

* extend appcompat layer

* updated strings

* more compat layer

* annotations

* don't rely on webmidi

* updated pxt ref

* bump pxt

* adding whenUsed

* updated v1 readme

* more pins

* more pins

* compress the parts definition

* update common packages
2018-10-05 11:09:08 -07:00
Peli de Halleux
22a60db57f format pxtparts.json to simplify integration with common packages 2018-10-04 10:22:51 -07:00
Peli de Halleux
ad6c8ce271
use new shadow to support time picker on pause () 2018-10-04 09:22:45 -07:00
Peli de Halleux
1a9235e333
MIDI support in simulator ()
* gluing to support MIDI devices in the simulator

* sim support for midi

* simplify interface

* ensure helper function does not show up in TS

* bump pxt
2018-10-03 11:32:29 -07:00
Peli de Halleux
6b94222a3e
regenerated dal.d.ts for DAL2.1 ()
* guard eddystone apis

* regenerated constants
2018-10-02 11:31:21 -07:00
Sam El-Husseini
3e5c5929d5
Update a couple of colours that were missed () 2018-10-02 09:32:08 -07:00
Sam El-Husseini
9bc6d994a8
Update block pallette slightly to more saturated colours in order to increase constrast between block color and stroke color () 2018-10-01 14:39:51 -07:00
Sam El-Husseini
9cd0d62baa
Update block gaps to account for extra space taken by event blocks () 2018-09-26 16:27:32 -07:00
Sam El-Husseini
d8d3d70511 Update background of show icon images to be secondary color of basic blocks. Add update script. () 2018-09-26 15:45:53 -07:00
Peli de Halleux
088c95661b
missing platform.h from pxt.json () 2018-09-24 13:42:08 -07:00
Peli de Halleux
eed66868a9
explictely set radio default power to 6 () 2018-09-24 10:16:03 -07:00
Peli de Halleux
abb117eab5
dal6 integration v1 ()
* dal6 integration v1

* updating stack size

* fix gatt_table_size option
2018-09-13 10:23:05 -07:00
Peli de Halleux
fbb23feda7
Friendlier download dialog + pairing ()
* first shot at new download

* fixing image

* handle column width

* fixed colors

* updated images

* PR feedback
2018-09-11 20:50:52 -07:00
Guillaume Jenkins
c499b7b54d
Set DAL tag to dal-integration-5 (v1) ()
* Set DAL tag to dal-integration-5 (v1)

* Add partial flashing config

* Move partial bluetooth flashing config to optional
2018-09-10 15:35:06 -04:00
Michał Moskal
20500fb9ae
Pull common files from pxt-common-packages () 2018-09-10 10:11:41 -07:00
Peli de Halleux
1767e3d10c
always show BLE pairing options in settings dialog () 2018-09-07 08:02:44 -07:00
Guillaume Jenkins
3b85710bd7 Fix radio reference snippets () 2018-09-06 14:37:40 -07:00
Guillaume Jenkins
239952aff5
C++: Round towards positive infinity () 2018-08-28 10:59:21 -04:00
Guillaume Jenkins
03ba8141ab
Reuse radio translations for new APIs () 2018-08-27 16:24:10 -04:00
Guillaume Jenkins
191de7a60c Update strings 2018-08-22 14:43:31 -04:00
Richard Knoll
51a485580b
Adding shadow block to serial write buffer () 2018-08-21 10:25:59 -07:00
Guillaume Jenkins
f8342a357c Some updated strings were not commited 2018-08-16 13:27:19 -04:00
Guillaume Jenkins
da15752720
Slightly adjust non-advanced category weights () 2018-08-14 13:26:22 -04:00
Richard Knoll
4c28160a34
Fixing authoring on a few APIs for Monaco toolbox () 2018-08-14 10:18:23 -07:00
Guillaume Jenkins
69efc80bb9
Remove unwanted Math ops ()
* Remove unwanted Math ops

* Also add asin, acos and atan
2018-08-14 12:04:02 -04:00
Guillaume Jenkins
eebaf91f6e
Add math functions to cpp layer () 2018-08-09 15:54:51 -04:00
Guillaume Jenkins
7b9ea6f2d5
Switch to printChar() so interval is honored ()
Switch to printChar() so interval is honored
2018-08-09 10:45:46 -04:00
Richard Knoll
9aac836ae2
Fix default value for note block () 2018-08-08 14:51:00 -07:00
Guillaume Jenkins
3a2eb69483
Add partial row in imageDropdown to indicate scrolling () 2018-08-07 17:55:42 -04:00
Richard Knoll
68361499a2
Fixing blink on sprites () 2018-08-06 14:34:04 -07:00
Richard Knoll
b03c984c38
Fixing atan2 typo in arguments () 2018-08-06 11:31:33 -07:00
Guillaume Jenkins
2700a77cae
Add auto toString for various APIs () 2018-08-02 16:30:02 -04:00