Commit Graph

277 Commits

Author SHA1 Message Date
Joey Wunderlich
37790d4da9 make hc mode sim color have higher contrast (#2409) 2019-09-03 10:16:05 -07:00
Joey Wunderlich
34fd7e0600
Update pxt/common-packages and fix build (#2323)
* fix build off of pxt/ and pxt-common-packages master

* check in generated files
2019-07-30 09:45:32 -07:00
Joey Wunderlich
12ddb5c72e
always shake when button is pressed (#2161) 2019-06-07 17:20:08 -07:00
Richard Knoll
61aae94d8b
Rewriting the radio in TypeScript (#2000)
* Refactoring radio into the ts

* Moving the rest of the radio functionality to the TypeScript

* Removing sim implementation of old radio cpp

* Adding test script

* Removing handler key

* Rename internal functions

* PR feedback

* Refactoring to use event bus
2019-04-12 13:10:47 -07:00
Joey Wunderlich
5ac97925a2
Fix shake button (#1983)
* initial fix for shake button

* minor cleanup

* always run if forced

* refactor a bit

* only ever enqueue if gesture is different from previous
2019-04-09 14:19:33 -07:00
Joey Wunderlich
180bd07783
Fix NaN acceleration on mobile (#1984) 2019-04-08 15:11:55 -07:00
Richard Knoll
3761d1282a
Update the max length of a name in a sendValue packet (#1965) 2019-04-05 10:45:06 -07:00
Peli de Halleux
ea2361792f
Adding serial.set(Rx|Tx)BufferSize (#1931)
* 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 (#1873)
* support for is-gesture

* updated shims

* activate shake button

* refactor

* refactor shake button
2019-03-21 07:40:23 -07:00
Peli de Halleux
6489163518
Remove logo glow to optimize gif generation (#1894)
* remove glow effect

* adding more config

* added workspace

* pass width to screenshot info

* set max number of frames

* bum pxt
2019-03-20 14:07:32 -07:00
Richard Knoll
847545ec5f
Bringing text back in the sim (#1918) 2019-03-13 16:36:04 -07:00
Peli de Halleux
835e1b2e1c
Sim gif generation (#1877)
* enable simulator screenshot

* use viewhost screenshotAsync facility

* setup giftransparency

* tweak css for gif generation

* patch colors

* update theme

* specify custom gif color

* moving as experiement

* bump pxt
2019-02-27 15:04:03 -08:00
Peli de Halleux
889db5f66f
fixign radio not showing up (#1872) 2019-02-27 09:12:27 -08:00
Michał Moskal
71d98822ae
Support latest PXT with GC (#1798)
* 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
Peli de Halleux
0a708ef815
BLE HF2 log service (#1549)
* 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
71e2ffb700
don't display acc data when AB added (#1483)
* don't display acc data when AB added

* hide acc
2018-10-22 13:21:12 -07:00
Peli de Halleux
37404acbcc
Tilt support in breadboard + display of accelerometer values (#1379)
* remove disable tilt option

* allow tilting when breadboard is up (music speakers)

* display acceleration

* only showing acc values if read
2018-10-11 13:25:52 -07:00
Peli de Halleux
2cf0bba259
various missing float -> int (#1364) 2018-10-09 09:45:10 -07:00
Peli de Halleux
6209f0cc63
scratch like broadcast api (#1358)
* 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
f2435df722
BLE UART Buffer methods (#1353)
* 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 (#1352)
* control.reset support

* updated pxt
2018-10-05 14:51:27 -07:00
Peli de Halleux
2ca97570b4
don't rely on webmidi (#1350)
* don't rely on webmidi

* updated pxt ref
2018-10-04 15:03:02 -07:00
Peli de Halleux
1a9235e333
MIDI support in simulator (#1332)
* 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
6239dd6aba handle negative lenght in readBuffer 2018-09-27 08:43:01 -07:00
Peli de Halleux
eed66868a9
explictely set radio default power to 6 (#1286) 2018-09-24 10:16:03 -07:00
Peli de Halleux
1b9d0f6d26
enfore v0 sounds (#1231)
* enfore v0 sounds

* updated 3rd party notices
2018-09-13 11:03:46 -07:00
Peli de Halleux
47634d52e8
Button event down (#1189)
* support for button_down events

* support for AB button
2018-09-07 08:03:15 -07:00
Guillaume Jenkins
36eafa419d Add white stroke to sim border (#1184)
* Sim now has white stroke in high contrast

* Increase stroke width to 3
2018-09-06 14:14:06 -07:00
Guillaume Jenkins
3e744b7a8d
Sim: greyscale display now respects brightness (#1160)
* Sim: greyscale display now respects brightness

* Don't overwrite image

* Don't clamp if brightness is at max
2018-09-04 17:12:01 -04:00
Guillaume Jenkins
19ed85336b
Add border around sim in high contrast (#1161)
* Add border around sim in high contrast

* Specify border width
2018-08-31 16:16:38 -04:00
Guillaume Jenkins
ae0a684d2e
Fix showString interval for single character (#1058) 2018-08-09 10:59:47 -04:00
Richard Knoll
49cd197cef
Missing simulator functions and behavior (#1025) 2018-08-02 10:33:05 -07:00
Sam El-Husseini
ce6959377a
Add running time and event value support (#874) 2018-06-18 11:42:35 -07:00
Peli de Halleux
a52edf9672 support for servos on more pins in simulator 2018-06-08 22:48:03 -07:00
Sam El-Husseini
2e33d9abd0 Fix icons and radio 2018-05-24 11:15:45 -07:00
Peli de Halleux
d8e7044d2a
Servo, edge connector and button pair simulator support (#782)
* add common packages dep

* inlining microservo

* moving more sim

* updated

* bump pxt
2018-05-18 09:28:25 -07:00
Sam El-Husseini
3112e442ec
Use jres for icon images (better for offline) (#776) 2018-05-15 18:36:36 -07:00
Sam El-Husseini
8957bf0647 Remove td, remove field matrix, update radio blocks. Revert image literal changes. 2018-05-09 10:56:48 -07:00
Sam El-Husseini
014125cf19 Update more docs 2018-04-21 11:58:57 -07:00
Sam El-Husseini
497c900877 Revert fix for noLeakTracking 2018-04-21 10:34:47 -07:00
Sam El-Husseini
6ea0c50472 Initial target repo setup to move to master (v3.10) 2018-04-21 10:25:43 -07:00
Sam El-Husseini
760940b37d
Fix led brightness visuals where it's offset on latest Chrome, Firefox and Edge (#651) 2018-02-15 13:15:24 -08:00
Peli de Halleux
ae40cadf75
Shim for serial.writeBuffer (#624)
* missing shim

* add todo
2018-02-05 21:08:44 -08:00
Peli de Halleux
07a578831c
support for buffer packet type (#608)
* support for buffer packet type

* updated description

* updated signature

* added note on json encoding

* adding sendNumbers

* cleanup

* removing 'sendnumbers'
2018-01-30 10:11:12 -08:00
Peli de Halleux
b45f456736
Redirecttousb (#604)
* add block to redirect back to USB

* added docs

* bump minor version
2017-12-14 06:44:48 -08:00
Peli de Halleux
65bc1f05bc Fix for missing simulator function (#549)
https://github.com/Microsoft/pxt/issues/3193
2017-10-11 13:37:34 -07:00
Peli de Halleux
cdbc34550a Various fixes (#548)
* 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
Sam El-Husseini
4459445b8c Fix accessibility sim regression when setting pin ARIA text. Fixes pxt#2894 (#533) 2017-09-10 22:38:01 -07:00
Peli de Halleux
9a9b116ee6 don't allow selection on sim-text/sim-text-pin (#531) 2017-09-07 14:20:39 -07:00
Sam El-Husseini
e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00