# Can Microbit V2 use the extra memory?

**URL:** <https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339>\
**Category:** micro:bit\
**Created:** [January 4, 2021, 4:54pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339 "2021-01-04T16:54:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [January 4, 2021, 4:54pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/1 "2021-01-04T16:54:39Z")

</div>

I would like to use the Bluetooth extension with 3 other extensions. On V1 the editor won’t allow this (I suppose because there is not enough memory).  
But can the Makecode editor use the extra V2 memory? (I haven’t got one yet) .

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [January 4, 2021, 6:17pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/2 "2021-01-04T18:17:05Z")

</div>

It may help if you indicate which extensions you’re trying to combine. (Bluetooth reduces available memory, but it also has timing constraints that make it incompatible with some extensions. I suspect the timing constraints could still be a problem with some extensions even if memory isn’t)

---

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [January 4, 2021, 6:59pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/3 "2021-01-04T18:59:09Z")

</div>

Good point. They are DS3231 RTC, BMP280 (both are I2C devices), and DHT11 Temperature sensor.

But I don’t think that makecode editor “knows” which type of microbit you are going to download to. So I suspect it won’t help.

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [January 5, 2021, 4:52pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/4 "2021-01-05T16:52:19Z")

</div>

I don’t have all those specific devices, but I did a quick test project with all three extensions…It compiles/downloads/starts on a v2. Here’s a shared project: [https://makecode.microbit.org/\_E0McdxJTX9RY](https://makecode.microbit.org/_E0McdxJTX9RY)

---

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [January 6, 2021, 6:51pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/5 "2021-01-06T18:51:02Z")

</div>

Oh, I can’t see the Bluetooth or BMP280 extension in your test project.  
I tried again and added Bluetooth first, then DS3231, but it objects at that stage, saying “Extension bluetooth is incompatible with pxt-DS3231”.  
Thinking about it, MakeCode editor doesn’t “know” about the version of the microbit, so it can’t make use of the extra mem

 ![Screenshot 2021-01-06 at 18.44.41](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/80a6c3f9207e238f365ae837feadebd778804ce8.png) ory.

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [January 6, 2021, 7:08pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/6 "2021-01-06T19:08:18Z")

</div>

Whoops…I think I forgot bluetooth. It looks like DS3231 explicitly requires “radio”, which then prevents “bluetooth”. It looks like you have a repo with pxt-DS3231…Try editing the pxt.json and removing the “radio” from the dependencies (and the comma on the preceeding line) and THEN try adding it followed by bluetooth.

---

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [January 6, 2021, 8:00pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/7 "2021-01-06T20:00:00Z")

</div>

Good spot - I did that edit on pxt.json and made a new release. But the problem persists.  
Any ideas?  
I wonder if I have to wait for the release to propagate.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [January 6, 2021, 8:49pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/8 "2021-01-06T20:49:04Z")

</div>

You may have to go into JavaScript mode and click the reload button next to the extension files.

---

<div class="post-metadata">

**Author:** ![keble6](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@keble6](https://forum.makecode.com/u/keble6)\
**Post date:** [January 6, 2021, 9:43pm UTC](https://forum.makecode.com/t/can-microbit-v2-use-the-extra-memory/5339/9 "2021-01-06T21:43:26Z")

</div>

Interesting! I switched to JS and all the extensions loaded OK. Switched back to blocks and they still loaded.  
Now to rewrite my project using BLE!

Thanks guys
