Commit Graph

209 Commits

Author SHA1 Message Date
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
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
dd011b977a wired up onPinReleased to simulator 2016-08-08 15:27:13 -07:00
Peli de Halleux
20d0dd91ad added input.onPinRelease. Fix for #294 2016-08-08 15:23:18 -07:00
Peli de Halleux
f365726a8e fixed regfression in showleds
see 65594842fc
2016-08-02 11:04:49 -07:00
Peli de Halleux
3f83cda087 mark serial messages as simulated 2016-07-29 13:42:21 -07:00
Sam El-Husseini
65594842fc Fix issue with multi digit numbers not scrolling all the way off screen as is the case on the physical pxt. 2016-07-28 15:54:10 -07:00
Michal Moskal
b862cfc4ec Format code 2016-06-25 19:40:21 +01:00
Michal Moskal
31002ae1a8 Fix typo in onPulse; hook up createBuffer 2016-06-25 19:17:43 +01:00
Peli de Halleux
cf0372aeaa adding bluetooth button service. fix for #106 2016-06-14 13:53:05 -07:00
Peli de Halleux
918d2f1a3a support for bluetooth accelerometer service. fix for #105 2016-06-14 13:47:18 -07:00
Peli de Halleux
c1a6c1c66a support for magnetometer service. fix for #112 2016-06-14 13:39:24 -07:00
Peli de Halleux
23eefb28d2 support for starting the temperature service #113 2016-06-14 13:24:55 -07:00
Peli de Halleux
0cdedd02b4 updated rendering of buttons 2016-06-09 21:14:33 -07:00
Peli de Halleux
b99be68ea5 display bolts on simulator button 2016-06-09 14:08:15 -07:00
Peli de Halleux
21bbf8fc86 css tweaks 2016-06-04 07:41:49 -07:00
Peli de Halleux
e6ca366d20 full support for setPull 2016-06-03 23:15:51 -07:00
Peli de Halleux
7b74428275 more glow / stop sound on player stop 2016-06-01 15:45:40 -07:00
Peli de Halleux
7a0ad8e3ed disabling source maps 2016-05-27 14:16:47 -07:00
Peli de Halleux
f4afa773ad missing images blocks 2016-05-26 20:42:15 -07:00
Peli de Halleux
0648e80131 added serial.redirect 2016-05-26 11:07:09 -07:00
Peli de Halleux
44688ee5d5 missing simulator function for serial 2016-05-19 14:50:02 -07:00
Peli de Halleux
2e3d875b7d added serial events 2016-05-17 09:36:01 -07:00
Peli de Halleux
2f8b61998b bringing back triangles / logo on simulator 2016-05-16 21:48:54 -07:00
Peli de Halleux
89f09c7f35 added pins->on pulsed 2016-05-16 16:24:44 -07:00
Peli de Halleux
801117d6b0 remove head from simulator 2016-05-12 22:23:23 -07:00
Peli de Halleux
c084bff334 remove logo in simulator 2016-05-12 21:56:22 -07:00
Peli de Halleux
b4bc985068 upgraded to lancaster 2.0.0.rc3 (core 0.1.9)
added radio.send/receive string
2016-05-12 12:35:40 -07:00
Peli de Halleux
a62f2b00b4 updated radio apis to support key/value pair 2016-05-10 21:13:16 -07:00
Peli de Halleux
47f9362e5f read radio values 2016-05-10 10:14:51 -07:00
Peli de Halleux
9d1f2e024b missing shim 2016-05-10 09:28:05 -07:00
Peli de Halleux
efce4c3698 linting 2016-05-05 08:57:44 -07:00
Peli de Halleux
04a60a5b47 fixing various lint violations 2016-05-04 23:31:55 -07:00
Peli de Halleux
db0c5d9f9f exposing serial number block. 2016-04-28 10:46:03 -07:00
Peli de Halleux
55859b1237 support for exposing device name 2016-04-26 13:43:02 -07:00
Peli de Halleux
5232be58ce auto adjusting bar graph + debouncing sending data over serial 2016-04-21 23:44:22 -07:00
Peli de Halleux
564de8863a fix scrollbar 2016-04-19 13:26:00 -07:00
Peli de Halleux
94f18340ec prevent elastic scroll in simulator 2016-04-19 10:06:36 -07:00
Peli de Halleux
c2883d00ee use registerwithdal in simulator 2016-04-18 10:46:44 -07:00
Peli de Halleux
6cbc6a53b2 more missing simulator functions 2016-04-18 09:47:27 -07:00
Peli de Halleux
db4692843f fixing text scroll on simulator 2016-04-14 21:42:02 -07:00
Peli de Halleux
fc7325b0f6 handle null dereference in imagemethods + nicer panic 2016-04-14 07:39:24 -07:00
Peli de Halleux
c908794d23 fix text font in simulator for Edge 2016-04-13 03:53:30 -07:00
Peli de Halleux
b1028abb04 implementing missing shims 2016-04-12 08:55:20 -07:00
Peli de Halleux
9f0f63a79e implementing input.rotation 2016-04-12 08:38:48 -07:00
Peli de Halleux
c2c765098d use pointerevents if available 2016-04-11 10:58:09 -07:00
Michal Moskal
a4f08e99a9 Add own manifest 2016-04-08 17:28:52 -07:00
Michal Moskal
190e5e2e03 Add empty sim.manifestfiles 2016-04-08 16:00:11 -07:00
Michal Moskal
5eadb3483f Remove explicit caching from simulator 2016-04-08 14:44:24 -07:00
Peli de Halleux
0fcca0792a Merge branch 'master' of https://github.com/Microsoft/pxt-microbit 2016-04-08 10:54:05 -07:00
Michal Moskal
8286561125 Add app manifest 2016-04-07 18:14:24 -07:00
Peli de Halleux
78083e18a7 using classlist polyfill 2016-04-07 14:18:12 -07:00
Michal Moskal
ce53d5c386 Renaming stuff in the simulator 2016-04-07 12:52:02 -07:00
Michal Moskal
7c43739e4b Rename references 2016-04-07 11:30:22 -07:00
Peli de Halleux
6576f7bd66 better handlings of logs 2016-04-07 09:03:21 -07:00
Peli de Halleux
5d9c2cf590 svg refactored into kindsim 2016-04-07 03:52:32 -07:00
Michal Moskal
bca5839b49 Forever moved to common sim 2016-04-04 21:52:03 -07:00
Michal Moskal
02c41b59bd Add Buffer; go to core v0.1.5 2016-04-03 16:52:57 -07:00
Michal Moskal
0d9890cfac Add some image methods 2016-04-02 20:53:51 -07:00
Michal Moskal
5d40750542 Add missing control stuff 2016-04-02 20:47:27 -07:00
Michal Moskal
bd09754466 Move pin stuff to pins 2016-04-02 20:44:29 -07:00
Michal Moskal
5740133921 Moving simulator stuff into namespaces to match C++ 2016-04-02 20:35:38 -07:00
Michal Moskal
a33472dbd4 Merge branch 'master' of github.com:Microsoft/kindscript-microbit 2016-04-01 18:18:33 -07:00
Michal Moskal
400b9269ee Use the new enums 2016-04-01 15:44:04 -07:00
Peli de Halleux
a7a9685963 remove logging 2016-04-01 06:35:59 -07:00
Michal Moskal
5922135073 Merge branch 'cpp' 2016-03-30 16:27:32 -07:00
Michal Moskal
b76b32a825 Move C++ sim stuff to proper namespace 2016-03-30 15:53:00 -07:00
Peli de Halleux
1f7e0b0f79 smoothly transition back to non-tilted 2016-03-29 21:14:27 -07:00
Michal Moskal
514e7cf1db Target stuff now under /sim/ on localhost 2016-03-28 21:38:48 -07:00
Peli de Halleux
7108b5fb72 support stopped state 2016-03-24 14:05:02 -07:00
Peli de Halleux
6680be3b10 making generated svg self-contained 2016-03-24 13:56:51 -07:00
Peli de Halleux
97db49dc71 fix pin touch events 2016-03-23 15:09:48 -07:00
Peli de Halleux
1c7c3ed6ce precise labelling of pins 2016-03-20 21:34:16 -07:00
Peli de Halleux
f5cdc797f6 added glow on leds 2016-03-20 00:44:30 -07:00
Peli de Halleux
5f863adaf7 better support for simulating gestures 2016-03-19 19:15:20 -07:00
Peli de Halleux
d7466797c4 simulation of shake 2016-03-18 14:54:27 -07:00
Peli de Halleux
51e025507a added A+B rendering 2016-03-18 13:55:07 -07:00
Peli de Halleux
4b75349d26 fix A+B button simulation 2016-03-18 00:10:54 -07:00
Peli de Halleux
36d0ad36b9 various tooltips on simulator 2016-03-16 22:36:34 -07:00
Peli de Halleux
ac1b811942 added "set accelerometer range" 2016-03-16 14:56:50 -07:00
Peli de Halleux
3c76e86cef added radio transmit power 2016-03-15 13:05:11 -07:00
Peli de Halleux
fb65711f08 fixing scroll issues 2016-03-14 21:37:03 -07:00
Peli de Halleux
ea325a6ffa updated temperature rendering 2016-03-14 14:32:33 -07:00
Peli de Halleux
8277063e71 emulation of temperature 2016-03-14 14:03:31 -07:00
Peli de Halleux
7f57eda606 various fixes around rendering of pin values 2016-03-14 09:10:13 -07:00
Peli de Halleux
4cd222ec82 better music support 2016-03-14 08:32:02 -07:00
Peli de Halleux
d323995196 adding sound emulation in browser 2016-03-13 21:24:11 -07:00
Peli de Halleux
a751be2e97 fixing pin value visibility 2016-03-11 16:51:35 -08:00
Peli de Halleux
994aee0db5 display light level value 2016-03-11 15:10:36 -08:00
Peli de Halleux
cd15823b62 emulation of lightlevel 2016-03-11 13:17:49 -08:00
Peli de Halleux
6c045640d2 minor cleanup 2016-03-10 22:09:04 -08:00
Michal Moskal
1cc69ba4a1 Add simulator 2016-03-10 16:24:11 -08:00