Commit Graph

363 Commits

Author SHA1 Message Date
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
Peli de Halleux
e7aed1d162 fixed sounds in simulator 2016-10-24 23:17:16 -07:00
Richard Knoll
ec404e5887 Deprecating old radio APIs and fixing docs (#289) 2016-10-24 16:30:21 -07:00
Peli de Halleux
c937cba17e merging pxt-microbit updates 2016-10-24 13:00:39 -07:00
Richard Knoll
79c89b832a New Radio API (#287)
* Adding radio API for receiving a packet

* More new radio API changes

* renaming some properties

* Redoing radio packet parsing and updating new callback api
2016-10-24 12:55:44 -07:00
Peli de Halleux
cf778686c3 Merging microbit/master 2016-10-24 10:27:48 -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
76d236e4d9 updated loc files 2016-10-19 10:45:39 -07:00
Matthias L. Jugel
ddd6e90c6d Merge remote-tracking branch 'origin/master' 2016-10-19 19:08:52 +02:00
Matthias L. Jugel
fd14ba6ff1 fix touch pins, add test for buttons and pins, update dependency 2016-10-19 19:08:41 +02:00
Peli de Halleux
28a8f21d40 merging ble changes 2016-10-18 21:55:02 -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
Matthias L. Jugel
e5e63c548f update dal defines 2016-10-18 16:56:42 +02:00
Matthias L. Jugel
e7e2ff7752 gesture updates 2016-10-18 16:40:53 +02:00
Matthias L. Jugel
f10ac93268 add handling of gestures (we only have 2g, 6g ... no 3g), add mac/idea ignored files 2016-10-18 15:44:49 +02:00
Peli de Halleux
a331a017b8 merged microbit changes 2016-10-17 13:36:54 -07:00
Peli de Halleux
790b9f557a renaming translation files 2016-10-17 13:33:27 -07:00
Shigeru KANEMOTO
0b469f69b6 Fix i18n not working after 277d5a7 (#277)
* Fix i18n not working after 277d5a7

The translation strings file in "core" package should have file names
"core-strings.json" or "core-jsdoc-strings.json".

* Enable ja translation

Rename "core-strings.json" to "core-jsdoc-strings.json".
Add new "core-strings.json" as a copy of the template.
Add two lines for the files in "pxt.json".
2016-10-17 11:13:38 -07:00
Peli de Halleux
e2fe660012 towards pin placement 2016-10-14 06:46:56 -07:00
Matthias L. Jugel
7102eddc0b add color handling for LED 2016-10-12 17:54:25 +02:00
Peli de Halleux
dff4f3adb3 basic motor block support 2016-10-11 22:58:53 -07:00
Peli de Halleux
0b0c2c9466 merged latest pxt 2016-10-11 19:41:59 -07:00
Peli de Halleux
f7ed06108d Inputorg (#275)
* use typescript from workspace

* fixed tracking in localhost

* updated ordering of input/radio
2016-10-11 19:36:00 -07:00
Richard Knoll
9f5ebdfb78 Adding advanced attribute to blocks and categories (#273) 2016-10-11 13:48:25 -07:00
Peli de Halleux
c4787e1028 support for rgb led in simulator 2016-10-11 11:41:51 -07:00
Peli de Halleux
cb280af783 fix json in libs/hello 2016-10-11 10:13:30 -07:00
Peli de Halleux
ec7bade8f4 missed file in previous move 2016-10-11 09:21:24 -07:00
Peli de Halleux
d48404eb37 integrated pxt-microbit 2016-10-11 09:08:31 -07:00
Sam El-Husseini
277d5a721c rename "microbit" package to "core" #414 (#270)
* rename "microbit" package to "core" #414

* shouldn't edit the package id.

* updating package.json

* updated the wrong version

* missed updating pxt.json of tests
2016-10-10 16:21:50 -07:00
Peli de Halleux
cace68acf4 updated hello sample 2016-10-10 11:20:25 -07:00
Matthias L. Jugel
68ef7c2fc2 fix initialization of Accelerometer (delayed in uBit.init()), enable DAL debugging 2016-10-08 15:15:01 +02:00
Peli de Halleux
00278036a4 fixing pin mapping 2016-09-29 15:20:45 -07:00
Peli de Halleux
4b583e221b limited support for RGB led 2016-09-27 13:35:48 -07:00
Brahma Giri Abhijith Chatra
a114dc32e7 Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-26 10:00:13 -07:00
Abhijith
019bc34d90 Fixing hover text /help window for blocks are not correct 2016-09-26 09:59:52 -07:00
Richard Knoll
0676d780ab Fixing beat fraction typo (#263) 2016-09-23 22:27:57 -07:00
Richard Knoll
15b1f95394 Add annotation to Note.C in music enum 2016-09-22 14:36:37 -07:00
Peli de Halleux
c90dfaa6e7 added headphone part 2016-09-15 23:50:52 -07:00
Peli de Halleux
02cd0e1da3 remove "receivednumberat" from blocks 2016-09-15 23:49:50 -07:00
Peli de Halleux
0f9dde0c4e convert event source/value into TD_ID shims 2016-09-15 23:49:14 -07:00
Peli de Halleux
086bcf372f remove dependencies on dal.d.ts 2016-09-09 13:43:41 -07:00
Michal Moskal
93770e5821 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-09 10:17:35 +01:00
Michal Moskal
cb8e28beb0 Bump pxt-microbit-core to 0.5.0 2016-09-09 10:17:28 +01:00
Daryl Zuniga
c63e2c85f1 new part definitions (#247)
* working on new part definitions

* draft of new part definitions

* updates comments

* starting new allocator

* starting from the old allocator

* alloc internals renaming

* alloc minor renaming

* alloc internal renaming

* progress on new parts definition

* progress on new part defs allocator

* refactors BBLoc; progress on new allocator

* more progress on new allocator

* finishing new allocator

* deleting old allocator

* moves new allocator and part definitions

* porting to new part definitions

* refactors instructions for new definitions

* debugging new allocator

* fixes ground and power wire colros

* fixing new part definition bugs

* fixes wire end offsets; fixes NeoPixel placement

* fixes colorGroup issue

* fixes led matrix wiring

* naming tweaks

* fixes instructions regressions

* typo
2016-09-09 01:23:39 -07:00
Peli de Halleux
91a8d05e45 updated loc strings 2016-09-08 23:11:58 -07:00
Michal Moskal
6a7d1bd95c Support for object literals
bump pxt-microbit-core to 0.4.4
see https://github.com/Microsoft/pxt/issues/287
2016-09-07 16:27:28 +01:00
Michal Moskal
e0de55d689 Add pxtrt::runtimeWarning() support; see https://github.com/Microsoft/pxt/issues/31 2016-09-02 17:29:40 +01:00
Michal Moskal
9a2367cf8e Add dummy implementations for some bluetooth functions to avoid crashes 2016-09-02 16:03:55 +01:00
Peli de Halleux
a656fbbd7b embedding parts svg files in pxt.json 2016-09-01 16:24:12 -07:00
Peli de Halleux
e681cc8c97 added parts to microbit 2016-09-01 15:37:39 -07:00
Michal Moskal
a8b427fd89 Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-09-01 12:13:54 +01:00
Michal Moskal
79c23e2e2a Bump pxt-microbit-core to 0.4.2 with class support 2016-09-01 12:13:40 +01:00
Peli de Halleux
9085c98c7f merging TD_ID 2016-08-31 11:23:30 -07:00
Peli de Halleux
60f8dd8228 annotating note with TD_ID 2016-08-31 11:22:07 -07:00
darzu
008cbf543f adds "speaker" parts annotation 2016-08-30 11:17:15 -07:00
Michal Moskal
7b11a04727 Upgrade pxt-microbit-core to 0.4.1 2016-08-30 12:48:58 +02:00
Peli de Halleux
f4768d99ff Merge pull request #220 from Microsoft/parts
adds "parts" annotations
2016-08-26 12:00:59 -07:00
Michal Moskal
0023710209 String/ptr -> boolean helpers added 2016-08-26 13:14:48 +02:00
Michal Moskal
0756091e8c Remove st/ldglb (no longer used) 2016-08-26 11:09:18 +02:00
darzu
8b46698f50 adds "parts" annotations...
...to libs/microbit and libs/microbit-bluetooth
2016-08-22 08:48:48 -07:00
Shigeru KANEMOTO
b24b65abcd Call init() before using beatsPerMinute. 2016-08-18 22:19:03 +09:00
Shigeru KANEMOTO
2cc0523f9a Fix changeTempo() calculation 2016-08-18 22:13:12 +09:00
Michal Moskal
b1cf3246ae Revert "Use embedded version of microbit to avoid yotta build"
This reverts commit 8eb3376cf5.
2016-08-18 15:55:23 +03:00
Michal Moskal
8eb3376cf5 Use embedded version of microbit to avoid yotta build 2016-08-18 14:26:56 +03:00
Michal Moskal
b863d5663d Add buffer shift rotate tests (moved from pxt) 2016-08-18 10:52:19 +03: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
Michal Moskal
719370f6b0 Use the new lambdas 2016-08-17 18:08:46 +03:00
Peli de Halleux
9159c297a5 added wait-micros function 2016-08-16 17:04:21 -07:00
Peli de Halleux
c99138b02e adding SPI support 2016-08-10 23:26:58 -07:00
Peli de Halleux
0e0275e496 doc fixes 2016-08-10 13:10:40 -07:00
Peli de Halleux
ffd4d96539 properly escape values in json payload 2016-08-10 09:28:22 -07:00
Thomas Denney
141420d337 Correct Bluetooth doc comment 2016-08-09 16:05:25 +01:00
Thomas Denney
084f83ba1b Merge branch 'master' of https://github.com/thomasdenney/pxt-microbit 2016-08-09 15:13:35 +01:00
Peli de Halleux
7481b9c24c call receiveNumber in onDataReceived to flush queue if needed (startup race)
fixed simulator issue when event onDataReceived gets raised
2016-08-08 16:54:43 -07:00
Peli de Halleux
de5def8dde adding led.toggle as a block 2016-08-08 16:53:55 -07:00
Peli de Halleux
20d0dd91ad added input.onPinRelease. Fix for #294 2016-08-08 15:23:18 -07:00
Peli de Halleux
825c6d57e7 testing fr jsdoc transtions 2016-08-08 13:47:45 -07:00
Peli de Halleux
b3edb81d3c adding URL for SEO 2016-08-08 13:08:15 -07:00
Peli de Halleux
f2c43c74ac support for start/length in buffer methods 2016-08-04 08:42:47 -07:00
Peli de Halleux
4e46682489 keep older value longer 2016-08-02 15:35:33 -07:00
Peli de Halleux
e329b3bd2e prepend all radio blocks with "radio" 2016-08-01 16:02:06 -07:00
Sam El-Husseini
c6ed665f84 Fix for issue 176: basic.showNumber timing in the simulator
- updated basic.cpp::showNumber to use printChar instead of print.
2016-07-28 15:04:56 -07:00
Michal Moskal
5b2e877aef Merge branch 'master' of github.com:Microsoft/pxt-microbit 2016-07-28 11:49:04 +01:00
Michal Moskal
dbcd9e535c Get generic part of lang-test from pxt-core package 2016-07-28 11:35:17 +01:00
Michal Moskal
63a26835b1 Format code 2016-07-27 19:32:58 +01:00
Peli de Halleux
573ed7f6f2 updated localization strings in bundled packages 2016-07-27 08:42:58 -07:00
Peli de Halleux
42c766b6d7 updated shim definition 2016-07-26 16:17:54 -07:00
Peli de Halleux
8440f7c763 adding "pin is pressed" block 2016-07-26 13:51:41 -07:00
Peli de Halleux
8add7e8efb updated radio strings / docs page 2016-07-26 08:47:45 -07:00
Michal Moskal
a9865a731a Moved to separate repos 2016-07-26 12:41:30 +01:00
Peli de Halleux
8e74965964 remove experiemental translations 2016-07-21 14:22:30 -07:00
Peli de Halleux
63913c2182 updated getting-started intro 2016-07-21 13:46:22 -07:00
Peli de Halleux
dd94442555 Merge pull request #173 from gingemonster/master
fixing more help broken links
2016-07-21 11:10:55 -07:00
Peli de Halleux
56f6a2fa56 Merge pull request #172 from gingemonster/patch-1
updated setPull help annotation
2016-07-21 11:10:15 -07:00
Michal Moskal
3c8027425a Fix order of arguments for memset() 2016-07-21 09:54:53 +01:00
gingemonster
20ac14fdf6 fixing more help documentation links
set-accelerometer-range was wrong so fixing reference to help doc
2016-07-20 10:44:32 +01:00