# EV3

**URL:** https://forum.makecode.com/c/ev3/7.md?page=2

[Latest](https://forum.makecode.com/latest.md) · [Categories](https://forum.makecode.com/categories.md) · [Tags](https://forum.makecode.com/tags.md)

**Page:** 3

---

## [Best way to maintain a common file?](https://forum.makecode.com/t/best-way-to-maintain-a-common-file/742)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 11\
**Last updated:** [January 27, 2020, 9:40am UTC](https://forum.makecode.com/t/best-way-to-maintain-a-common-file/742 "2020-01-27T09:40:03Z")

</div>

Trying to figure out the cleanest way to have a shared functions file across multiple projects. seems like there isn’t an easy way. I’ve found 2 options. Add a custom.ts and then copy that around to other projects. …

---

## [Nested if statements with ultrasonic sensors](https://forum.makecode.com/t/nested-if-statements-with-ultrasonic-sensors/989)

<div class="topic-metadata">

**Author:** [@Rob](https://forum.makecode.com/u/Rob)\
**Replies:** 8\
**Last updated:** [January 15, 2020, 7:54am UTC](https://forum.makecode.com/t/nested-if-statements-with-ultrasonic-sensors/989 "2020-01-15T07:54:03Z")

</div>

I used to equip an EV3 with three ultrasonic sensors for the purpose of navigating through a landscape with obstacles. Using nested if statements I had the EV3 stop when it came across an obstacle after which it tested l…

---

## [Getting the Latest (or beta) offline package](https://forum.makecode.com/t/getting-the-latest-or-beta-offline-package/591)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 8\
**Last updated:** [January 13, 2020, 6:35pm UTC](https://forum.makecode.com/t/getting-the-latest-or-beta-offline-package/591 "2020-01-13T18:35:35Z")

</div>

Right now it the offline package seems to be behind the web version. I noticed that the gyro.ts has been updated in the web version and not in the offline version. Can someone in power please update the offline package…

---

## [Gyro in the emulator](https://forum.makecode.com/t/gyro-in-the-emulator/887)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 1\
**Last updated:** [January 10, 2020, 11:02pm UTC](https://forum.makecode.com/t/gyro-in-the-emulator/887 "2020-01-10T23:02:18Z")

</div>

I think it would be handier if the control was angle and not rate. The control would look just like the motor control that you can spin in full circles allowing an exact angle to be hit. Rate is hard to test with.

---

## [How can I access the name of my program?](https://forum.makecode.com/t/how-can-i-access-the-name-of-my-program/764)

<div class="topic-metadata">

**Author:** [@stheyounger](https://forum.makecode.com/u/stheyounger)\
**Replies:** 7\
**Last updated:** [December 20, 2019, 1:07am UTC](https://forum.makecode.com/t/how-can-i-access-the-name-of-my-program/764 "2019-12-20T01:07:06Z")

</div>

I want to display the name of my program on the screen. I have the version number in the name and change it every time I download code. I couldn’t find any variable to access the name. Is there one?

---

## [MakeCode offline app: can't "download" files any more](https://forum.makecode.com/t/makecode-offline-app-cant-download-files-any-more/667)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 6\
**Last updated:** [December 9, 2019, 4:00pm UTC](https://forum.makecode.com/t/makecode-offline-app-cant-download-files-any-more/667 "2019-12-09T16:00:01Z")

</div>

On one of our computers the make code offline app has stopped working as expected. When you click the download button the button changes to a spinner icon and we never get the save dialog box. we have tried rebooting, …

---

## [Delay between blocks](https://forum.makecode.com/t/delay-between-blocks/751)

<div class="topic-metadata">

**Author:** [@stheyounger](https://forum.makecode.com/u/stheyounger)\
**Replies:** 3\
**Last updated:** [November 9, 2019, 6:15pm UTC](https://forum.makecode.com/t/delay-between-blocks/751 "2019-11-09T18:15:02Z")

</div>

When I run my program there is a long delay (1-2 seconds) in between some of the blocks. The delay is after the previous block is finished and before the next block starts. The blocks are custom that use the gyro and are…

---

## [Can't set a smooth acceleration on steer(](https://forum.makecode.com/t/cant-set-a-smooth-acceleration-on-steer/625)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 11:43pm UTC](https://forum.makecode.com/t/cant-set-a-smooth-acceleration-on-steer/625 "2019-11-04T23:43:43Z")

</div>

I’ve been trying to set an acceleration curve on the large motors with setRunPhase but steer doesn’t seem to do anything with it. run(… works but not steer. would be nice if I didn’t have to do custom code to get the s…

---

## [Abnormal behaviour with 'run in parallel' with motorD](https://forum.makecode.com/t/abnormal-behaviour-with-run-in-parallel-with-motord/727)

<div class="topic-metadata">

**Author:** [@wahk](https://forum.makecode.com/u/wahk)\
**Replies:** 3\
**Last updated:** [November 4, 2019, 10:53pm UTC](https://forum.makecode.com/t/abnormal-behaviour-with-run-in-parallel-with-motord/727 "2019-11-04T22:53:27Z")

</div>

I am trying out MakeCode EV3 and I found an abnormal behaviour when I tried to run motorD and motorB at the same time. In the example code, I expected both motors to complete one revolution simultaneously before the prog…

---

## [OMG life is so much better](https://forum.makecode.com/t/omg-life-is-so-much-better/597)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 11\
**Last updated:** [November 4, 2019, 9:56pm UTC](https://forum.makecode.com/t/omg-life-is-so-much-better/597 "2019-11-04T21:56:47Z")

</div>

control.reset() This causes the program to exit. I’m having all the kiddos add this to the bottom of their code.

---

## [Mindstorms simulator display problem?](https://forum.makecode.com/t/mindstorms-simulator-display-problem/212)

<div class="topic-metadata">

**Author:** [@dpwoos](https://forum.makecode.com/u/dpwoos)\
**Replies:** 2\
**Last updated:** [November 4, 2019, 6:07pm UTC](https://forum.makecode.com/t/mindstorms-simulator-display-problem/212 "2019-11-04T18:07:07Z")

</div>

I don’t think the fullscreen view of the mindstorms simulator is being displayed correctly: Notice that the top part of the motors are missing. Same issue in both Chrome and Safari, MacOS Mojave 10.14.4. Thanks.

---

## [Can't remove the program once copied into the EV3](https://forum.makecode.com/t/cant-remove-the-program-once-copied-into-the-ev3/564)

<div class="topic-metadata">

**Author:** [@Jeff](https://forum.makecode.com/u/Jeff)\
**Replies:** 6\
**Last updated:** [October 23, 2019, 8:09pm UTC](https://forum.makecode.com/t/cant-remove-the-program-once-copied-into-the-ev3/564 "2019-10-23T20:09:12Z")

</div>

Once I copy a file over to the EV3 either from Explorer or by clicking the download button. I can’t delete it. The only way I’ve found to get rid of the uf2 programs is to force a firmware update wiping the entire bric…

---

## [Tank motors block moving to next block immediately](https://forum.makecode.com/t/tank-motors-block-moving-to-next-block-immediately/624)

<div class="topic-metadata">

**Author:** [@mkrdroid](https://forum.makecode.com/u/mkrdroid)\
**Replies:** 6\
**Last updated:** [October 17, 2019, 8:13pm UTC](https://forum.makecode.com/t/tank-motors-block-moving-to-next-block-immediately/624 "2019-10-17T20:13:40Z")

</div>

Are the tank motors supposed to complete the revolutions before the next block ? In the simple program below I want it to move 2 rotations and then steer. It seems that the program moves into the steer block immediate…

---

## [EV3 Crashing on run](https://forum.makecode.com/t/ev3-crashing-on-run/611)

<div class="topic-metadata">

**Author:** [@mifish3474](https://forum.makecode.com/u/mifish3474)\
**Replies:** 2\
**Last updated:** [October 11, 2019, 6:18pm UTC](https://forum.makecode.com/t/ev3-crashing-on-run/611 "2019-10-11T18:18:52Z")

</div>

I’m testing MakeCode for use in my classroom. Every time I run this program, it crashes the EV3 and I have to pull the battery to restart. I’ve used multiple forever loops before with no problem - there is something in…

---

## [New series videos; LEGO EV3, MakeCode Aaron Maurer](https://forum.makecode.com/t/new-series-videos-lego-ev3-makecode-aaron-maurer/190)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 1\
**Last updated:** [October 10, 2019, 4:26pm UTC](https://forum.makecode.com/t/new-series-videos-lego-ev3-makecode-aaron-maurer/190 "2019-10-10T16:26:26Z")

</div>

https://www.youtube.com/watch?v=Y44A5\_DmxYU&t=15s Here’s the beginning of a new instructional series by Aaron Maurer on YouTube discussing getting started with LEGO Mindstorms EV3 system. The micro controller “brick” is …

---

## [How does the calibrateLight block work](https://forum.makecode.com/t/how-does-the-calibratelight-block-work/596)

<div class="topic-metadata">

**Author:** [@mkrdroid](https://forum.makecode.com/u/mkrdroid)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 3:11pm UTC](https://forum.makecode.com/t/how-does-the-calibratelight-block-work/596 "2019-10-09T15:11:12Z")

</div>

I’m unclear how to the calibrateLight block works. How does it know the sensor is over the dark or light area? Does it sample several times a second and find the min and max reflection in a given time or until the progra…

---

## [Detect colors](https://forum.makecode.com/t/detect-colors/565)

<div class="topic-metadata">

**Author:** [@sofiania](https://forum.makecode.com/u/sofiania)\
**Replies:** 4\
**Last updated:** [September 26, 2019, 10:43am UTC](https://forum.makecode.com/t/detect-colors/565 "2019-09-26T10:43:19Z")

</div>

Hi! A student is trying to get (base model) EV3 to do the following: On a white floor, go forward until blue color is detected, then raise bar (with small motor) and turn 90 degrees, then continue worward until red color…

---

## [While Loop not looping](https://forum.makecode.com/t/while-loop-not-looping/542)

<div class="topic-metadata">

**Author:** [@SusanMcN](https://forum.makecode.com/u/SusanMcN)\
**Replies:** 5\
**Last updated:** [September 18, 2019, 8:18pm UTC](https://forum.makecode.com/t/while-loop-not-looping/542 "2019-09-18T20:18:31Z")

</div>

I’m trying to get up to speed on MakeCode for EV3 for FLL. It appears that the While Loop doesn’t actually loop on the EV3 or the simulator. When I make a While Loop for the motor to run when the button on the Touch Sens…

---

## [Mindstorms help is not working](https://forum.makecode.com/t/mindstorms-help-is-not-working/226)

<div class="topic-metadata">

**Author:** [@dpwoos](https://forum.makecode.com/u/dpwoos)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 3:21pm UTC](https://forum.makecode.com/t/mindstorms-help-is-not-working/226 "2019-06-06T15:21:12Z")

</div>

Expired cert? The webpage at https://makecode.mindstorms.com/---docs#doc:/reference:blocks:en might be temporarily down or it may have moved permanently to a new web address. NET::ERR\_CERT\_DATE\_INVALID

---

## [Mindstorms 3rd party blocks](https://forum.makecode.com/t/mindstorms-3rd-party-blocks/213)

<div class="topic-metadata">

**Author:** [@dpwoos](https://forum.makecode.com/u/dpwoos)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 11:38am UTC](https://forum.makecode.com/t/mindstorms-3rd-party-blocks/213 "2019-06-06T11:38:11Z")

</div>

It would be great if there was a tool to translate EV3-LabView blocks to makecode blocks, which would allow the use of all/most of the 3rd party Mindstorms sensors and add-ons. In my case, I would greatly appreciate bein…

[Previous page](https://forum.makecode.com/c/ev3/7.md?page=1)
