Commit Graph

29 Commits

Author SHA1 Message Date
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
Peli de Halleux
2bcae02493
control.reset support ()
* control.reset support

* updated pxt
2018-10-05 14:51:27 -07:00
Peli de Halleux
47634d52e8
Button event down ()
* support for button_down events

* support for AB button
2018-09-07 08:03:15 -07:00
Richard Knoll
49cd197cef
Missing simulator functions and behavior () 2018-08-02 10:33:05 -07:00
Sam El-Husseini
ce6959377a
Add running time and event value support () 2018-06-18 11:42:35 -07:00
Sam El-Husseini
6ea0c50472 Initial target repo setup to move to master (v3.10) 2018-04-21 10:25:43 -07:00
Peli de Halleux
65bc1f05bc Fix for missing simulator function ()
https://github.com/Microsoft/pxt/issues/3193
2017-10-11 13:37:34 -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
Caitlin Hennessy
511dd423d0 Rename 'lastEvent' to 'lastEventValue' to match microbit docs 2017-08-01 17:03:16 -07:00
Caitlin Hennessy
d883bf1db3 Add eventTimestamp and eventValue to pxsim.control 2017-08-01 09:58:16 -07:00
Peli de Halleux
d1c00ae3ab support for advanced SPI functions 2017-05-25 17:19:25 -07:00
Michal Moskal
00bf5e52d7 shims.d.ts should never be included in simulator 2017-05-12 12:49:41 +01:00
Peli de Halleux
9af989c13c Uartevent ()
* support for uart data event

* updated shims
2017-04-28 01:05:04 -07:00
Peli de Halleux
bd895f43ba Calibrate compass ()
* adding 'calibrate-compass' function

* fixing simulator.

* updated docs

* fixing compat test suite with 'calibrate()' function
2017-04-25 10:46:25 -07:00
Richard Knoll
72d5e83e5b Exposing pin eventOn method () 2017-01-30 19:19:54 +00:00
Sam El-Husseini
d2726133a9 Revert "Control event value in simulator ()"
This reverts commit 00f4c9cbb3.
2017-01-13 18:04:38 -08:00
chmora
00f4c9cbb3 Control event value in simulator ()
* implement pxsim.control.eventValue and pxsim.control.eventTimestamp in the simulator
2017-01-13 16:46:52 -08:00
Peli de Halleux
2da0cf1178 support for buffer signature () 2016-12-23 08:58:38 -08:00
Peli de Halleux
6c11dbcdf4 added setTransmitPower in BLE 2016-12-07 09:05:03 -08:00
Peli de Halleux
097564748c fixing simulator 2016-11-30 04:27:08 -08:00
Peli de Halleux
ae5d5c74a7 better support for BLE UART and alignment with serial blocks. ()
* aligning uart apis with serial

* reorganizing serial/bluetooth blocks

* Autoupdate configuration for UART. ()

* Autoupdate configuration for UART.

* removing serial autoupdates.
2016-10-18 21:36:42 -07:00
Michal Moskal
fc495b928e Implement getPinAddress in simulator 2016-09-29 10:47:50 +01: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
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
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
Michal Moskal
ef7fdc2ef7 Rename pxsim.pxt to pxsim.pxtcore 2016-09-01 13:06:03 +01:00
darzu
89e899cc79 splits m:b simulator state 2016-08-30 11:51:32 -07:00