Commit Graph

241 Commits

Author SHA1 Message Date
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
Peli de Halleux
543659b0e8 specifying pin positions 2016-10-16 20:25:55 -07:00
Peli de Halleux
b968d3b1de fixing simulator in IE11 2016-10-16 20:09:13 -07:00
Peli de Halleux
e2fe660012 towards pin placement 2016-10-14 06:46:56 -07:00
Peli de Halleux
7d4b800637 identifying and naming pins 2016-10-13 23:53:24 -07:00
Matthias L. Jugel
3ac0a060dd added pin mapping 2016-10-13 11:16:10 +02:00
Peli de Halleux
4fc514e643 updated screen rendering 2016-10-12 23:40:33 -07:00
Peli de Halleux
7c2512e56b fixing thermometer 2016-10-12 23:30:19 -07:00
Peli de Halleux
d9eebf4a9f support for light level / thermometer simulation 2016-10-12 23:14:38 -07:00
Peli de Halleux
8af383ec56 updated svg layout 2016-10-12 22:44:05 -07:00
Peli de Halleux
dff4f3adb3 basic motor block support 2016-10-11 22:58:53 -07:00
Peli de Halleux
c4787e1028 support for rgb led in simulator 2016-10-11 11:41:51 -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
3911c6522d integrate pxt-microbit changes 2016-10-10 14:43:33 -07:00
Peli de Halleux
7f2fd0dd09 positioning systemled 2016-10-10 13:16:39 -07:00
Peli de Halleux
574a9e01d5 updating pinmap 2016-09-29 15:25:57 -07:00
Michal Moskal
fc495b928e Implement getPinAddress in simulator 2016-09-29 10:47:50 +01:00
Peli de Halleux
4b583e221b limited support for RGB led 2016-09-27 13:35:48 -07:00
Peli de Halleux
c88645d0cd support for AB / Shake buttons 2016-09-27 11:00:21 -07:00
Peli de Halleux
33eca3c507 tweaked colors 2016-09-26 15:10:37 -07:00
Peli de Halleux
9ccfcf19d9 initial round of visual updates 2016-09-26 15:05:06 -07:00
Peli de Halleux
5edd06c9b9 migrating instruction generation logic to pxt 2016-09-26 13:26:43 -07:00
Peli de Halleux
850fb54f52 missing shims for devices namespace 2016-09-19 09:49:58 -07:00
Peli de Halleux
b7da28285e adding stubs for bluetooth functions 2016-09-15 09:40:58 -07:00
Peli de Halleux
8a58d664c3 adding clear image in stopanimation 2016-09-14 07:54:35 -07:00
Peli de Halleux
167c1d8fce loading board definition from pxtarget.json 2016-09-13 15:32:12 -07:00
Peli de Halleux
e59ae37954 moving neopixel state to pxt 2016-09-13 13:09:02 -07:00
Peli de Halleux
72a621ec8b mvoing edge connector to pxt 2016-09-13 12:48:07 -07:00
Peli de Halleux
e5d985dbf1 moving boardhost to pxt 2016-09-13 09:59:34 -07:00
Peli de Halleux
9db91d89d6 refactor part global lists 2016-09-13 09:44:58 -07:00
Peli de Halleux
1fa9bf12d5 refactoring dalboard 2016-09-12 21:29:55 -07:00
Peli de Halleux
8b40850a94 tweaks to neopixel rendering 2016-09-11 21:55:54 -07:00
Peli de Halleux
910772d54e refacotring various simulator features into pxt 2016-09-09 22:56:26 -07:00
Peli de Halleux
3858b0a0a0 moving wiring to pxt 2016-09-09 15:01:29 -07:00
Peli de Halleux
086bcf372f remove dependencies on dal.d.ts 2016-09-09 13:43:41 -07:00
Peli de Halleux
dcb2b21e66 removing dal dependency 2016-09-09 11:36:36 -07: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
e8f9e0f023 lighter rendering of breadboard in grayed 2016-09-08 00:54:19 -07:00
darzu
7448db5b98 makes instruction panels inline-block 2016-09-07 15:00:42 -07:00
darzu
e59fd8469b improves neopixel simulator 2016-09-07 10:58:44 -07:00
darzu
29cf4d3e53 uses croc clips in instructions only for micro:bit 2016-09-06 10:52:22 -07:00
Michal Moskal
61a29f7c67 Always diplay sad face on errors; use nullCheck() function; see https://github.com/Microsoft/pxt/issues/302 2016-09-05 14:26:07 +01:00
Peli de Halleux
50293fc654 don't repace spaces 2016-09-02 21:38:22 -07:00
darzu
1f077beb65 directly wires power if there is single usage 2016-09-02 16:11:58 -07:00
darzu
13f53d730a fixes instruction steps for finer power usage 2016-09-02 15:43:26 -07:00
darzu
8adcab1cab finer grain power wires based on usage 2016-09-02 15:24:16 -07:00
Peli de Halleux
c34b0a1aeb Merge branch 'master' into max6675 2016-09-01 22:48:02 -07:00
Peli de Halleux
39c146329f perf optimization 2016-09-01 22:18:36 -07:00
Peli de Halleux
da16428842 merging master 2016-09-01 21:12:03 -07:00
darzu
359c456577 adds full-page instruction printing 2016-09-01 19:07:01 -07: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
Peli de Halleux
a3dd64eb4c Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 12:12:48 -07:00
Peli de Halleux
b865cce44e embedding neopixel / speaker svgs 2016-09-01 10:56:06 -07:00
darzu
dc42900c7f merges with master 2016-09-01 10:08:32 -07:00
darzu
dcc3bd95fe ignores max6675 2016-09-01 10:07:11 -07:00
Peli de Halleux
a562557bca Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-09-01 08:59:31 -07:00
Peli de Halleux
d890c05229 moving parts .svg under simulator 2016-09-01 08:57:20 -07:00
Michal Moskal
4340e1f7ed Rename instructions.html to siminstructions.html; fixes #234 2016-09-01 16:47:32 +01:00
Michal Moskal
ef7fdc2ef7 Rename pxsim.pxt to pxsim.pxtcore 2016-09-01 13:06:03 +01:00
darzu
7048156b46 draws small wires for small micro:bit pins 2016-08-31 22:41:30 -07:00
darzu
232758805b removes "debugger" statement 2016-08-31 21:56:46 -07:00
darzu
211d4e5538 adds max6675 2016-08-31 21:55:55 -07:00
darzu
374d8c590d adds spi and i2c pins 2016-08-31 21:53:48 -07:00
darzu
19e33d029d removes dead code 2016-08-31 20:15:59 -07:00
darzu
e3671ca809 Merge branch 'arduino' into generic-part 2016-08-31 19:37:57 -07:00
darzu
1f3a2ab6fe adds generic parts to instructions parts list and requirements panels 2016-08-31 19:37:20 -07:00
darzu
dad3e89577 adds "extraColumnOffset" for generic parts 2016-08-31 19:28:28 -07:00
darzu
658083b4eb removes all experimental boards 2016-08-31 19:03:11 -07:00
darzu
1441129355 adds support for generic components 2016-08-31 19:01:59 -07:00
darzu
2b87b26f00 adds support for arduino zero 2016-08-31 18:03:34 -07:00
darzu
ae17d4380e re-adds arduino board definitino 2016-08-31 14:55:58 -07:00
darzu
f79b726f87 tiny progress on generic part support 2016-08-31 14:48:44 -07:00
Peli de Halleux
0f3c7b8c0f Merge branch 'breadboarding' of https://github.com/Microsoft/pxt-microbit into breadboarding 2016-08-31 14:07:16 -07:00
Peli de Halleux
dac6f5af73 specifying packages needed to render blocks 2016-08-31 14:07:10 -07:00
darzu
99fb074952 adds more padding under breadboard 2016-08-31 14:03:25 -07:00
darzu
66ba26586f fixes wire highlighting in instructions 2016-08-31 13:59:20 -07:00
darzu
e27c4de108 micro:bit wireframe 2016-08-31 13:39:47 -07:00
darzu
626055d3eb fixes microbit board height issue 2016-08-31 11:34:49 -07:00
darzu
c2e37a2c6e refactoring instructions to work with boardHost 2016-08-31 11:14:16 -07:00
Peli de Halleux
d9f2c7cc42 don't show text cursor on labels 2016-08-31 05:31:09 -07:00
Peli de Halleux
15638d2767 don't use 'let' in .html files 2016-08-31 04:55:26 -07:00
Peli de Halleux
4c27d62796 removing external boards 2016-08-30 21:15:27 -07:00
Peli de Halleux
90da72a8de support for resizing simulator based on usage of parts 2016-08-30 17:18:03 -07:00
darzu
8f50beb938 adds new custom NeoPixel svg 2016-08-30 15:59:02 -07:00
darzu
52527dd584 fixes micro:bit + breadboard sim size issue 2016-08-30 15:33:57 -07:00
darzu
fc0faf5181 removes unused m:b params 2016-08-30 14:17:17 -07:00
darzu
cd9589e562 adds "boardhost" to handle composition of ...
... breadboard, board, wires, and definition allocation.
2016-08-30 14:13:44 -07:00
darzu
af7c51b954 renames state -> board 2016-08-30 12:42:30 -07:00
darzu
a65e71f3b1 moves all of pxt-arduino breadboarding here...
... see pxt-arduino history starting here: acd49bb795
2016-08-30 11:55:00 -07:00
darzu
89e899cc79 splits m:b simulator state 2016-08-30 11:51:32 -07:00
darzu
a984778dfd renames simsvg and libmbit 2016-08-30 11:27:29 -07:00
Michal Moskal
7053fd1490 Ref-counting fix 2016-08-25 15:45:43 +02:00
Michal Moskal
538f08052d Make Image ref-counted; fixes #171 2016-08-24 15:02:55 +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
Peli de Halleux
9159c297a5 added wait-micros function 2016-08-16 17:04:21 -07:00
Peli de Halleux
28b8006ec5 removing spurious logging 2016-08-16 10:11:55 -07:00
Peli de Halleux
c99138b02e adding SPI support 2016-08-10 23:26:58 -07:00