# micro:bit

**URL:** https://forum.makecode.com/c/microbit/11.md?page=30

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

**Page:** 31

---

## [DVD Logo Bounce](https://forum.makecode.com/t/dvd-logo-bounce/1730)

<div class="topic-metadata">

**Author:** [@rymc88](https://forum.makecode.com/u/rymc88)\
**Replies:** 3\
**Last updated:** [April 18, 2020, 8:35pm UTC](https://forum.makecode.com/t/dvd-logo-bounce/1730 "2020-04-18T20:35:44Z")

</div>

For one of my classes I am teaching I assigned them to create a simple “screensaver” using the LED blocks on Makecode and I used “The Office” clip where they are watching a dvd logo bounce around the screen. This is what…

---

## [ACCESS:bit](https://forum.makecode.com/t/access-bit/1711)

<div class="topic-metadata">

**Author:** [@KeveZeer](https://forum.makecode.com/u/KeveZeer)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 12:35pm UTC](https://forum.makecode.com/t/access-bit/1711 "2020-04-16T12:35:11Z")

</div>

https://makecode.microbit.org/\_P059WHA8bcgA This program called ACCESS: bit is like an obstacle. Product name: Kitronik ACCESS: bit. This program is the name of the add-on that belongs to it.

---

## [Loop-up tables in Makecode/Javascript vs C - speed?](https://forum.makecode.com/t/loop-up-tables-in-makecode-javascript-vs-c-speed/1645)

<div class="topic-metadata">

**Author:** [@mkilpatr](https://forum.makecode.com/u/mkilpatr)\
**Replies:** 6\
**Last updated:** [April 9, 2020, 9:24pm UTC](https://forum.makecode.com/t/loop-up-tables-in-makecode-javascript-vs-c-speed/1645 "2020-04-09T21:24:05Z")

</div>

I am in the middle of creating a Makecode extension with lots of useful graphics/pixel routines for the Pomoroni 119-bit LED display. As part of this I am using look-up tables to speed up the computation for the locatio…

---

## [Kitten:bit extension (rosbot re-implementation)](https://forum.makecode.com/t/kitten-bit-extension-rosbot-re-implementation/1614)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 4:15am UTC](https://forum.makecode.com/t/kitten-bit-extension-rosbot-re-implementation/1614 "2020-04-06T04:15:01Z")

</div>

Before the Micro:bit, Kittenbot produced an Arduino board (called the Rosbot baseboard). The board can be directly programmed from their environment, or controlled over a serial connection (or ESP-link over wifi\<-\>serial…

---

## [Extension for the Chirp watering sensor](https://forum.makecode.com/t/extension-for-the-chirp-watering-sensor/1479)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 2\
**Last updated:** [March 28, 2020, 4:41pm UTC](https://forum.makecode.com/t/extension-for-the-chirp-watering-sensor/1479 "2020-03-28T16:41:29Z")

</div>

Since we started a small balcony garden with plants in soil and hydroponics, I though to automate some of the watering and monitoring. Although we are at home now, we might soon have to consider an alternative strategy t…

---

## [How to go about an extension targeting both Micro:bit AND Arcade (in regards of 'screen')](https://forum.makecode.com/t/how-to-go-about-an-extension-targeting-both-micro-bit-and-arcade-in-regards-of-screen/1472)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 11\
**Last updated:** [March 22, 2020, 10:22am UTC](https://forum.makecode.com/t/how-to-go-about-an-extension-targeting-both-micro-bit-and-arcade-in-regards-of-screen/1472 "2020-03-22T10:22:35Z")

</div>

I would like make an extension that can target either the led matrix on the micro:bit OR the screen on Arcade. But also to abstract the use of pxt-interval (https://forum.makecode.com/t/how-to-go-about-an-interval-extens…

---

## [Coin Game](https://forum.makecode.com/t/coin-game/1465)

<div class="topic-metadata">

**Author:** [@KeveZeer](https://forum.makecode.com/u/KeveZeer)\
**Replies:** 0\
**Last updated:** [March 20, 2020, 2:16pm UTC](https://forum.makecode.com/t/coin-game/1465 "2020-03-20T14:16:16Z")

</div>

https://makecode.microbit.org/\_LW9KsUMtTY6k2020-03-20T14:15:00Z (UTC)

---

## [Using \`parseInt\` with a \`stringSplit\` shows difference between device and simulator](https://forum.makecode.com/t/using-parseint-with-a-stringsplit-shows-difference-between-device-and-simulator/1437)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 2\
**Last updated:** [March 19, 2020, 1:35am UTC](https://forum.makecode.com/t/using-parseint-with-a-stringsplit-shows-difference-between-device-and-simulator/1437 "2020-03-19T01:35:00Z")

</div>

I filed an issue for this at: https://github.com/microsoft/pxt-microbit/issues/2664 but a little confused why this happens: let command = "X100\\r\\n" let cmdArgs = helpers.stringSplit(command.substr(1, command.length), "…

---

## [How to go about an Interval extension](https://forum.makecode.com/t/how-to-go-about-an-interval-extension/812)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 12\
**Last updated:** [March 14, 2020, 2:06pm UTC](https://forum.makecode.com/t/how-to-go-about-an-interval-extension/812 "2020-03-14T14:06:19Z")

</div>

I wanted to use an interval based execution instead of relying on the forever loop with sleeps. Since I didn’t find a good solution so far from the pxt side of stuff, I looked at the actual uBit and mBed code, and it see…

---

## [How to deal with bitorder for SPI communication (MSB\<-\>LSB)?](https://forum.makecode.com/t/how-to-deal-with-bitorder-for-spi-communication-msb-lsb/1309)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 15\
**Last updated:** [March 14, 2020, 8:30am UTC](https://forum.makecode.com/t/how-to-deal-with-bitorder-for-spi-communication-msb-lsb/1309 "2020-03-14T08:30:41Z")

</div>

I guess, just like Mbed, that the micro:bit does MSB first for the communication. But is there an easy way to deal with LSB? I noticed that I was not able to use \_rbit when I tried to use this as a C extrension. What wou…

---

## [Version Control: How to do it?](https://forum.makecode.com/t/version-control-how-to-do-it/1331)

<div class="topic-metadata">

**Author:** [@yorke.paul](https://forum.makecode.com/u/yorke.paul)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 9:15pm UTC](https://forum.makecode.com/t/version-control-how-to-do-it/1331 "2020-03-05T21:15:58Z")

</div>

I have been coding since early 80s, yes I’m old. Anyways, I like micro:bit and MakeCode, but how do you make new versions of existing projects. It always seems to want to 1 a) Start from a clean sheet b) Change and o…

---

## [How to find how much RAM memory is used on my micro:bit using makecode?](https://forum.makecode.com/t/how-to-find-how-much-ram-memory-is-used-on-my-micro-bit-using-makecode/1303)

<div class="topic-metadata">

**Author:** [@lovro-sinda](https://forum.makecode.com/u/lovro-sinda)\
**Replies:** 7\
**Last updated:** [March 3, 2020, 1:44am UTC](https://forum.makecode.com/t/how-to-find-how-much-ram-memory-is-used-on-my-micro-bit-using-makecode/1303 "2020-03-03T01:44:06Z")

</div>

I wrote code for my micro:bit in makecode.microbit.org. Idea is to use radio communication and send each micro:bit message. So my question at first was how many messages can get just one micro:bit? Internet say this: M…

---

## [When BLE MIDI is used with Gestures causes Out Of Memory](https://forum.makecode.com/t/when-ble-midi-is-used-with-gestures-causes-out-of-memory/863)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 4\
**Last updated:** [March 1, 2020, 1:53pm UTC](https://forum.makecode.com/t/when-ble-midi-is-used-with-gestures-causes-out-of-memory/863 "2020-03-01T13:53:19Z")

</div>

When I use Bluetooth-MIDI with Gesture.ThreeG and Gesture.SixG it seems the device is easy to throw 020 (out of memory) after a few impacts. This feels like something wrong in how memory is cleared perhaps?

---

## [How to limit decimal places when using Show Number with a float?](https://forum.makecode.com/t/how-to-limit-decimal-places-when-using-show-number-with-a-float/1012)

<div class="topic-metadata">

**Author:** [@ShawnHymel](https://forum.makecode.com/u/ShawnHymel)\
**Replies:** 4\
**Last updated:** [February 5, 2020, 2:35am UTC](https://forum.makecode.com/t/how-to-limit-decimal-places-when-using-show-number-with-a-float/1012 "2020-02-05T02:35:55Z")

</div>

I’m trying to display a floating point value on the micro:bit’s screen. When I use the Show Number block after performing a division operation (e.g. (analog read pin P0) x 3 / 1023 ), the screen scrolls something like 12…

---

## [Help for a program (duty)](https://forum.makecode.com/t/help-for-a-program-duty/1077)

<div class="topic-metadata">

**Author:** [@Waxise](https://forum.makecode.com/u/Waxise)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 4:35am UTC](https://forum.makecode.com/t/help-for-a-program-duty/1077 "2020-01-30T04:35:41Z")

</div>

Hello, for a kind of project, my teacher wants me to do a program but I can’t do it at all (we are barely starting) Here’s what to do : Carry out a program which will light a number of LEDs equal to the temperature divi…

---

## [Templates in Tutorials](https://forum.makecode.com/t/templates-in-tutorials/878)

<div class="topic-metadata">

**Author:** [@agc24](https://forum.makecode.com/u/agc24)\
**Replies:** 3\
**Last updated:** [January 13, 2020, 7:45pm UTC](https://forum.makecode.com/t/templates-in-tutorials/878 "2020-01-13T19:45:05Z")

</div>

I am creating a user tutorial and it would like to take advantage of starting using a template. When I use the tutorial tool linked in the docs it works fine. But when I copy that code into it’s own github project, it do…

---

## [Problem-downloading code to microbit](https://forum.makecode.com/t/problem-downloading-code-to-microbit/962)

<div class="topic-metadata">

**Author:** [@yusuf](https://forum.makecode.com/u/yusuf)\
**Replies:** 0\
**Last updated:** [December 31, 2019, 1:17pm UTC](https://forum.makecode.com/t/problem-downloading-code-to-microbit/962 "2019-12-31T13:17:53Z")

</div>

Hello i am an 11 year old boy who wants to learn to code i have created a code and i have tested it on the micro bit online application window and it works fine. But when i download it on to the microbit nothing happens.…

---

## [Read free memory at runtime](https://forum.makecode.com/t/read-free-memory-at-runtime/919)

<div class="topic-metadata">

**Author:** [@Sam](https://forum.makecode.com/u/Sam)\
**Replies:** 1\
**Last updated:** [December 19, 2019, 11:09pm UTC](https://forum.makecode.com/t/read-free-memory-at-runtime/919 "2019-12-19T23:09:20Z")

</div>

Anyway of reading available RAM at runtime? The Python forums suggested reading heap size but I don’t see a way of doing that with makecode/JavaScript.

---

## [Block colour weirdness](https://forum.makecode.com/t/block-colour-weirdness/921)

<div class="topic-metadata">

**Author:** [@DaveAtKitronik](https://forum.makecode.com/u/DaveAtKitronik)\
**Replies:** 1\
**Last updated:** [December 19, 2019, 6:16pm UTC](https://forum.makecode.com/t/block-colour-weirdness/921 "2019-12-19T18:16:03Z")

</div>

We are working on the supporting stuff for a new product, and in one of the projects I have a purple map block. It looks nice, but it quite unexpected. It is also the older single line rendering. A fresh project has …

---

## [What is needed to make BLE MIDI work with Windows?](https://forum.makecode.com/t/what-is-needed-to-make-ble-midi-work-with-windows/864)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 2\
**Last updated:** [December 7, 2019, 4:13am UTC](https://forum.makecode.com/t/what-is-needed-to-make-ble-midi-work-with-windows/864 "2019-12-07T04:13:43Z")

</div>

Not sure what is needed, but I created an issue to get more details: https://github.com/microsoft/pxt-bluetooth-midi/issues/12 as BLE MIDI on Windows 10 should work, it is what my Korg devices use.

---

## [How to use serial communication from an extension?](https://forum.makecode.com/t/how-to-use-serial-communication-from-an-extension/825)

<div class="topic-metadata">

**Author:** [@gbraad](https://forum.makecode.com/u/gbraad)\
**Replies:** 1\
**Last updated:** [November 28, 2019, 3:04pm UTC](https://forum.makecode.com/t/how-to-use-serial-communication-from-an-extension/825 "2019-11-28T15:04:31Z")

</div>

I have an external board that relies on a serial communication. When I use the micro:bit with redirect I can communicate with this board. So as a next step I wanted to create an extension for re-use. However, how can I a…

---

## [Snake.Coding.Game](https://forum.makecode.com/t/snake-coding-game/814)

<div class="topic-metadata">

**Author:** [@felixtsu](https://forum.makecode.com/u/felixtsu)\
**Replies:** 2\
**Last updated:** [November 27, 2019, 9:19am UTC](https://forum.makecode.com/t/snake-coding-game/814 "2019-11-27T09:19:08Z")

</div>

A coding playground we created for students. They have to decide the snake’s next move by coding using the blocks under snake extension. The demo show a random-turn style snake, while some of my friends made very long …

---

## [Table of reserved event source IDs](https://forum.makecode.com/t/table-of-reserved-event-source-ids/768)

<div class="topic-metadata">

**Author:** [@dpwoos](https://forum.makecode.com/u/dpwoos)\
**Replies:** 9\
**Last updated:** [November 18, 2019, 6:59am UTC](https://forum.makecode.com/t/table-of-reserved-event-source-ids/768 "2019-11-18T06:59:21Z")

</div>

I am experimenting with using custom events to control program flow, and am looking for a way to use “source IDs” that aren’t already in use. The doc provides a link to a page that is claimed to contain a table of reserv…

---

## [Mbit fail with Yahboom robot ..reason?](https://forum.makecode.com/t/mbit-fail-with-yahboom-robot-reason/248)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 1\
**Last updated:** [November 1, 2019, 9:48am UTC](https://forum.makecode.com/t/mbit-fail-with-yahboom-robot-reason/248 "2019-11-01T09:48:42Z")

</div>

Is there a way to correct this code so that IR works with this bot arm? I asked elsewhere but have no response as yet. Thanks : https://makecode.microbit.org/\_JRsHEaDdY6m3

[Previous page](https://forum.makecode.com/c/microbit/11.md?page=29)
