diff --git a/docs/design-engineering/make-it-smarter.md b/docs/design-engineering/make-it-smarter.md index 0c744c27..5225c88a 100644 --- a/docs/design-engineering/make-it-smarter.md +++ b/docs/design-engineering/make-it-smarter.md @@ -101,9 +101,9 @@ The blocks inside the ``||loops:forever||`` loop have these actions: 1. Turn on the ``green`` EV3 Brick Status Light. 2. Wait for Ultrasonic Sensor to detect an object. 3. Turn on Motors ``A`` and ``D`` in opposite directions. -4. Wait for one quarter of a second (``1500`` milli seconds). +4. Wait for one and a half seconds (``1500`` milli seconds). 5. Reverse the direction of Motors ``A`` and ``D``. -6. Wait for one quarter of a second. +6. Wait for one and a half seconds. 7. Stop all motors. 8. Make an insect chirping sound. 9. Loop continuously so that the insect wanders around when the Ultrasonic Sensor is detects something. diff --git a/docs/offline.md b/docs/offline.md new file mode 100644 index 00000000..e4e07405 --- /dev/null +++ b/docs/offline.md @@ -0,0 +1,11 @@ +# @extends + +## Offline app #target-app + +The MakeCode editor is available as app which you can install on a computer with Windows or Mac OS. Once installed, the **[MakeCode Offline App](/offline-app)** lets you create, run, and download your projects to the @boardname@. It works the same as the Web application does in your browser but it's a stand-alone application that will work when a connection to the internet is restricted or not available. + +### ~ hint + +The [MakeCode Offline App](/offline-app) is currently in development and is made available as a **pre-release** version. + +### ~ diff --git a/libs/core/input.ts b/libs/core/input.ts index e8e923a3..27d3c160 100644 --- a/libs/core/input.ts +++ b/libs/core/input.ts @@ -207,7 +207,7 @@ namespace sensors.internal { constructor(port: number) { super(port) this.mode = 0 - this.realmode = -1 + this.realmode = 0 } _activated() { @@ -513,4 +513,4 @@ namespace sensors { } } } -} \ No newline at end of file +}