Commit Graph

589 Commits

Author SHA1 Message Date
Sam El-Husseini
0529759a80 Fix ultrasonic value to use cm instead of 0.1 cm units (#110)
* Fix simulator

* use 250 instead of 255
2017-12-18 20:30:56 -08:00
Peli de Halleux
b07f157181 0.0.42 2017-12-18 18:24:46 -08:00
Sam El-Husseini
2f5f7d4133
Merge pull request #111 from Microsoft/scale_screen
Add tiny padding around the screen for the canvas.
2017-12-18 17:08:02 -08:00
Sam El-Husseini
e6e1dce59f Add tiny padding around the screen for the canvas. 2017-12-18 17:07:23 -08:00
Peli de Halleux
43a9d03231 fixing pauseUntilReady signature 2017-12-18 14:45:44 -08:00
Peli de Halleux
c0f6cd3651 test passing on hw 2017-12-18 14:31:17 -08:00
Peli de Halleux
f1445c6e89
Motor pause until ready (#108)
* adding command to pause until ready

* adding console API

* adding ready support for motors

* fix time output scale

* fixing angle
2017-12-18 14:13:38 -08:00
Sam El-Husseini
04275ee35c 0.0.41 2017-12-18 13:22:13 -08:00
Sam El-Husseini
f8d0594eca
Merge pull request #107 from Microsoft/initial_sim
Initial sim implementation
2017-12-18 13:21:48 -08:00
Sam El-Husseini
5be3b31e00 Merge branch 'master' into initial_sim 2017-12-18 13:21:35 -08:00
Sam El-Husseini
84c1079e50 Fix Safari bug. 2017-12-18 13:19:49 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00
Peli de Halleux
b166f6034e storing test 2017-12-18 09:43:44 -08:00
Peli de Halleux
d07f672b28 fixing single motor set speed 2017-12-18 09:17:19 -08:00
Peli de Halleux
363e076f36 fixing motor compilation 2017-12-18 08:54:53 -08:00
Sam El-Husseini
8bf6f265f7
Merge pull request #105 from Microsoft/motorfixes
Motor fixes
2017-12-18 00:54:53 -08:00
Peli de Halleux
217958aec3 fix polarity 2017-12-17 23:19:38 -08:00
Peli de Halleux
367b1b0d1a properly setting multiple-motor options 2017-12-17 23:00:07 -08:00
Peli de Halleux
6836852122
refactoring motors wiht base class (#104) 2017-12-17 22:47:13 -08:00
Sam El-Husseini
944098b9f9 Minor refactor fix (#102)
* Minor fix to a refactor of motor output this.brake to this._brake

* No (_this) in global context

* Minor fix
2017-12-17 21:12:18 -08:00
Peli de Halleux
539cf3d73e 0.0.40 2017-12-15 14:30:51 -08:00
Peli de Halleux
4b3e7cfb7d bump pxt-core to 3.0.2, bump pxt-common-packages to 0.14.13, 2017-12-15 14:30:43 -08:00
Michał Moskal
b144744509 Add tsconfig.json for easier library editing (#96) 2017-12-15 14:29:31 -08:00
Caitlin Hennessy
e591bed6ad Add 'clear screen' block to brick category (#100) 2017-12-15 14:29:10 -08:00
Peli de Halleux
6a4e64eac0
Merge pull request #79 from Microsoft/motorsync
Motor sync block
2017-12-15 14:28:03 -08:00
Caitlin Hennessy
f7dd14ff7b
Merge pull request #88 from Microsoft/even_more_sounds
Add 'stopAllSounds' block
2017-12-15 11:36:31 -08:00
System Administrator
bfd34cedd6 Update built files 2017-12-15 11:04:16 -08:00
Sam El-Husseini
8e1c075911
Merge pull request #98 from Microsoft/portFixes
Fix order of color and ultrasonic sensor ports.
2017-12-15 10:45:34 -08:00
Caitlin Hennessy
a02f364a4c Update function names for consistency 2017-12-15 10:42:44 -08:00
Sam El-Husseini
48fee2c215
Merge pull request #99 from Microsoft/ui_changes
Some UI theming. square buttons
2017-12-15 08:55:45 -08:00
Sam El-Husseini
5780d1982c Some UI theming. square buttons 2017-12-15 08:55:21 -08:00
Sam El-Husseini
6fb08f0f7b Fix order of color and ultrasonic sensor ports. 2017-12-15 07:48:42 -08:00
Peli de Halleux
13f8659b98
Merge pull request #97 from Microsoft/startup_delay
Startup delay for sensors to get values
2017-12-15 07:05:21 -08:00
Peli de Halleux
edc9d17a8c
Merge pull request #95 from Microsoft/serialnumber
Implement getSerialNumber (based on BT MAC)
2017-12-15 07:04:21 -08:00
Michal Moskal
c7a3f5bbd0 Delay user code by 100ms to get sensor reading (fixes #90) 2017-12-15 11:55:20 +00:00
Michal Moskal
41d5052583 Run sensor "change handler" also with the initial value 2017-12-15 11:54:53 +00:00
Michal Moskal
07ddec343a Formatting 2017-12-15 11:30:15 +00:00
Michal Moskal
5a9a5e997a Error reporting fixes 2017-12-15 11:29:18 +00:00
Michal Moskal
55b6549999 Implement getSerialNumber (based on BT MAC) 2017-12-15 11:25:23 +00:00
Peli de Halleux
fcdc350e40 more motor work 2017-12-14 17:01:23 -08:00
Peli de Halleux
9dedbeae1b updated parameters 2017-12-14 13:26:04 -08:00
Peli de Halleux
124d8a0fd8 tank support 2017-12-14 13:25:27 -08:00
Peli de Halleux
81fcbb6916 tweaks of blocks 2017-12-14 13:07:10 -08:00
Caitlin Hennessy
d436bd1227 Fix simulator stop() method 2017-12-14 09:41:01 -08:00
Caitlin Hennessy
cb648019bb Progress 2017-12-14 09:17:47 -08:00
Peli de Halleux
11a88a9d94 updated signatures 2017-12-13 23:00:37 -08:00
Peli de Halleux
92178f3371 bring back speed 2017-12-13 22:54:08 -08:00
Peli de Halleux
3c86ae286f more work on motors 2017-12-13 22:40:40 -08:00
Peli de Halleux
1b6d84a9b8 Merge branch 'master' into motorsync 2017-12-13 21:16:33 -08:00
Caitlin Hennessy
2d81be3b24 Add 'stopAllSounds' block 2017-12-13 16:31:42 -08:00