# micro:bit

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

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

**Page:** 8

---

## [Cutebot Maze Code](https://forum.makecode.com/t/cutebot-maze-code/28776)

<div class="topic-metadata">

**Author:** [@jfuoco](https://forum.makecode.com/u/jfuoco)\
**Replies:** 2\
**Last updated:** [May 16, 2024, 4:30pm UTC](https://forum.makecode.com/t/cutebot-maze-code/28776 "2024-05-16T16:30:04Z")

</div>

I’m attempting to code microbit to use a cutebot to solve any maze. I understand the idea of maze solving algorithms but am having trouble coding it. My biggest issue is having trouble getting the cutebot to turn the sa…

---

## [Motor not spinning](https://forum.makecode.com/t/motor-not-spinning/28735)

<div class="topic-metadata">

**Author:** [@E12345](https://forum.makecode.com/u/E12345)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 3:03pm UTC](https://forum.makecode.com/t/motor-not-spinning/28735 "2024-05-14T15:03:05Z")

</div>

Hi everyone, I have 2 motors 1.5-3v and 3v-6v. I connect both using the alligator clips. On programming I use button A and have digital pin ‘P0’ set to 1 & button b, pin ‘P0’ set to 0. When I download and connect it, th…

---

## [Snake-game](https://forum.makecode.com/t/snake-game/27904)

<div class="topic-metadata">

**Author:** [@DingDang](https://forum.makecode.com/u/DingDang)\
**Replies:** 1\
**Last updated:** [May 8, 2024, 5:30pm UTC](https://forum.makecode.com/t/snake-game/27904 "2024-05-08T17:30:05Z")

</div>

I have made a snake game on micro:bit on https://github.com/MeowCata/microbit-Snake

---

## [Sender/receiver](https://forum.makecode.com/t/sender-receiver/28614)

<div class="topic-metadata">

**Author:** [@ozgetasmanisa](https://forum.makecode.com/u/ozgetasmanisa)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 3:08am UTC](https://forum.makecode.com/t/sender-receiver/28614 "2024-05-07T03:08:02Z")

</div>

Hello i try alarm with motion sensor. I have two microbits. One of them has motion sensor on it (micoribt1). When i press a button alarm is active and remote microbit (microbit2) is active too. I can do from microbit 1 a…

---

## [Using the DFPlayer with micro:bit and Wukong board?](https://forum.makecode.com/t/using-the-dfplayer-with-micro-bit-and-wukong-board/28600)

<div class="topic-metadata">

**Author:** [@Timothy](https://forum.makecode.com/u/Timothy)\
**Replies:** 0\
**Last updated:** [May 5, 2024, 11:13pm UTC](https://forum.makecode.com/t/using-the-dfplayer-with-micro-bit-and-wukong-board/28600 "2024-05-05T23:13:04Z")

</div>

Hi, I have been trying to play an MP3 file from micro:bit and DFPlayer using this video from Gunnar Lund :https://www.youtube.com/watch?v=2ixdVjO5cME&t=0s But it does not seem to work. I would be grateful for some help? …

---

## [Help with error on function](https://forum.makecode.com/t/help-with-error-on-function/28428)

<div class="topic-metadata">

**Author:** [@Student1](https://forum.makecode.com/u/Student1)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 7:21pm UTC](https://forum.makecode.com/t/help-with-error-on-function/28428 "2024-05-02T19:21:01Z")

</div>

function setAnswer () { list = \[\] list = \[images.createImage(\` . . . . . . . . . # . . . # . # . # . . . # . . . \`), images.createImage(\` # . . . # …

---

## [Help with microbit sensitivity](https://forum.makecode.com/t/help-with-microbit-sensitivity/28497)

<div class="topic-metadata">

**Author:** [@Whatsuphi](https://forum.makecode.com/u/Whatsuphi)\
**Replies:** 1\
**Last updated:** [May 1, 2024, 3:43am UTC](https://forum.makecode.com/t/help-with-microbit-sensitivity/28497 "2024-05-01T03:43:53Z")

</div>

I am working on a school project where I need it to do something on shake. However, it will activate with the slightest movement. Is there a way to change the shake sensitivity?

---

## [g-force going from 8g to 3g](https://forum.makecode.com/t/g-force-going-from-8g-to-3g/28514)

<div class="topic-metadata">

**Author:** [@BOBWILLX13](https://forum.makecode.com/u/BOBWILLX13)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 3:43am UTC](https://forum.makecode.com/t/g-force-going-from-8g-to-3g/28514 "2024-05-01T03:43:48Z")

</div>

I have some code that activates at 3gs and 8gs but it goes from the 8 g code directly to the 3g code only showing the “X” in the 8g and directly going to the checkmark in the 3g and going through the 3g code

---

## [Micro:Bit project backup?](https://forum.makecode.com/t/micro-bit-project-backup/28342)

<div class="topic-metadata">

**Author:** [@Don23805](https://forum.makecode.com/u/Don23805)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 4:45pm UTC](https://forum.makecode.com/t/micro-bit-project-backup/28342 "2024-04-30T16:45:13Z")

</div>

According to what I read in The Official BBC Micro:bit User Guide (Halfacree), if you Clear History in you browser, you lose all your projects, and using the Save function is an option. So I went to a “different PC” to …

---

## [Problem with microbit and sensors](https://forum.makecode.com/t/problem-with-microbit-and-sensors/28397)

<div class="topic-metadata">

**Author:** [@mr.oussama](https://forum.makecode.com/u/mr.oussama)\
**Replies:** 1\
**Last updated:** [April 27, 2024, 11:45pm UTC](https://forum.makecode.com/t/problem-with-microbit-and-sensors/28397 "2024-04-27T23:45:37Z")

</div>

Hello, Am using microbit v1.5 and ir sensor (tcrt5000), in P3 and vcc=3.3v. the problem is when the ir sensor detects and sends the value 1 to pin3, this value always remains 1 in the event of no-detection, whereas nor…

---

## [Increasing program file size](https://forum.makecode.com/t/increasing-program-file-size/4642)

<div class="topic-metadata">

**Author:** [@KalbeAbbas](https://forum.makecode.com/u/KalbeAbbas)\
**Replies:** 2\
**Last updated:** [April 26, 2024, 3:37pm UTC](https://forum.makecode.com/t/increasing-program-file-size/4642 "2024-04-26T15:37:40Z")

</div>

I am having compilation error that says program too big by 16 bytes!. How can I increase program size limit. To replicate: Start new project Import this extension (https://github.com/xinabox/pxt-in-the-air-microbit2.g…

---

## [ir sensor not working well with microbit](https://forum.makecode.com/t/ir-sensor-not-working-well-with-microbit/28396)

<div class="topic-metadata">

**Author:** [@mr.oussama](https://forum.makecode.com/u/mr.oussama)\
**Replies:** 0\
**Last updated:** [April 24, 2024, 1:55am UTC](https://forum.makecode.com/t/ir-sensor-not-working-well-with-microbit/28396 "2024-04-24T01:55:51Z")

</div>

Hello, Am using microbit v1.5 and ir sensor (tcrt5000), in P3 and vcc=3.3v. the problem is when the ir sensor detects and sends the value 1 to pin3, this value always remains 1 in the event of no-detection, whereas nor…

---

## [Odd Button Pressed behavior?](https://forum.makecode.com/t/odd-button-pressed-behavior/27873)

<div class="topic-metadata">

**Author:** [@Don23805](https://forum.makecode.com/u/Don23805)\
**Replies:** 4\
**Last updated:** [April 21, 2024, 11:25pm UTC](https://forum.makecode.com/t/odd-button-pressed-behavior/27873 "2024-04-21T23:25:27Z")

</div>

Simple code: in an On Button A Pressed box I include Show Icon X, Pause two seconds then Show Icon O, and wait for another press. If I press A and release it right away (within about 1 second) all works as expected. Bu…

---

## [Exploring Speed Control Techniques for Motorized Vehicles using Micro:bit and L298N Module](https://forum.makecode.com/t/exploring-speed-control-techniques-for-motorized-vehicles-using-micro-bit-and-l298n-module/28180)

<div class="topic-metadata">

**Author:** [@inesfki](https://forum.makecode.com/u/inesfki)\
**Replies:** 1\
**Last updated:** [April 11, 2024, 4:32pm UTC](https://forum.makecode.com/t/exploring-speed-control-techniques-for-motorized-vehicles-using-micro-bit-and-l298n-module/28180 "2024-04-11T16:32:03Z")

</div>

Hello, I used the Micro:bit with the L298N module to control the wheels of a car. I managed to make my wheels go forward and backward, but I want to know how I can change the speed of my motors using the ENA and ENB pin…

---

## [Input not disabling](https://forum.makecode.com/t/input-not-disabling/28164)

<div class="topic-metadata">

**Author:** [@Yuvalyly](https://forum.makecode.com/u/Yuvalyly)\
**Replies:** 12\
**Last updated:** [April 10, 2024, 7:46pm UTC](https://forum.makecode.com/t/input-not-disabling/28164 "2024-04-10T19:46:55Z")

</div>

I’m trying to make Simon Says game for the micro:bit, but I have a problem with inputs getting recorded if pressed while the game is running some other code (like displaying the sequence or the game over message). I tri…

---

## [Microphone frequency](https://forum.makecode.com/t/microphone-frequency/28129)

<div class="topic-metadata">

**Author:** [@pythom](https://forum.makecode.com/u/pythom)\
**Replies:** 4\
**Last updated:** [April 10, 2024, 4:20pm UTC](https://forum.makecode.com/t/microphone-frequency/28129 "2024-04-10T16:20:31Z")

</div>

Hello, I want to make extension that can recognize some sounds, but I don’t know how to get microphone frequency. Anyone know how to do it? Thanks in advance :smiley:

---

## [Octopus RTC board shows 00:00 after battery inserted](https://forum.makecode.com/t/octopus-rtc-board-shows-00-00-after-battery-inserted/28111)

<div class="topic-metadata">

**Author:** [@uhebeisen](https://forum.makecode.com/u/uhebeisen)\
**Replies:** 1\
**Last updated:** [April 8, 2024, 8:14pm UTC](https://forum.makecode.com/t/octopus-rtc-board-shows-00-00-after-battery-inserted/28111 "2024-04-08T20:14:43Z")

</div>

I’ve set up a microbit with an Elecfreak Octopus RTC board a while ago. This board has an optional battery holder to keep the DS1307 running if the board is disconnected. Today I’ve noticed that the display shows the ti…

---

## [I made a recording project](https://forum.makecode.com/t/i-made-a-recording-project/28112)

<div class="topic-metadata">

**Author:** [@Mahdir211](https://forum.makecode.com/u/Mahdir211)\
**Replies:** 0\
**Last updated:** [April 6, 2024, 8:50pm UTC](https://forum.makecode.com/t/i-made-a-recording-project/28112 "2024-04-06T20:50:55Z")

</div>

I made a recording project: https://makecode.microbit.org/S29069-55827-41664-15378

---

## [7 Day Challenge!](https://forum.makecode.com/t/7-day-challenge/28110)

<div class="topic-metadata">

**Author:** [@SoftTalker](https://forum.makecode.com/u/SoftTalker)\
**Replies:** 0\
**Last updated:** [April 6, 2024, 8:47pm UTC](https://forum.makecode.com/t/7-day-challenge/28110 "2024-04-06T20:47:26Z")

</div>

I will be making a 7 day challenge to test my skills The challenge will be making microbit inventions with carboard and servos (cuz im bored so yea) I will post updates on it Pls send feedback and stuff to add : ) F…

---

## [Tutorial Help - Please check your internet connection.](https://forum.makecode.com/t/tutorial-help-please-check-your-internet-connection/28059)

<div class="topic-metadata">

**Author:** [@cpsbergeron](https://forum.makecode.com/u/cpsbergeron)\
**Replies:** 0\
**Last updated:** [April 3, 2024, 3:00am UTC](https://forum.makecode.com/t/tutorial-help-please-check-your-internet-connection/28059 "2024-04-03T03:00:23Z")

</div>

Hi there ! I wished to use the datalogger extension but I can’t even run my program. Here is the code. (sorry french speaker / writter here) Eclipse - Données @showdialog Programme le micro:bit pour qu’il recueille des…

---

## [How to build by modifying the pxt-micro:bit code](https://forum.makecode.com/t/how-to-build-by-modifying-the-pxt-micro-bit-code/27940)

<div class="topic-metadata">

**Author:** [@huhhuh123](https://forum.makecode.com/u/huhhuh123)\
**Replies:** 0\
**Last updated:** [March 26, 2024, 2:31am UTC](https://forum.makecode.com/t/how-to-build-by-modifying-the-pxt-micro-bit-code/27940 "2024-03-26T02:31:48Z")

</div>

hello We are doing a static build of pxt-microbit using the pxt staticpkg command. However, the pxt-microbit code I modified is not reflected, and the default code before modification continues to be reflected. How ca…

---

## [I KNOW that this is possible](https://forum.makecode.com/t/i-know-that-this-is-possible/21651)

<div class="topic-metadata">

**Author:** [@urassari](https://forum.makecode.com/u/urassari)\
**Replies:** 5\
**Last updated:** [March 23, 2024, 5:16pm UTC](https://forum.makecode.com/t/i-know-that-this-is-possible/21651 "2024-03-23T17:16:20Z")

</div>

playing mp3’s. i know, it sounds impossible with an audio output with 1 frequency at a time, but if we compress it enough, and play the different frequencies as fast as possible, I’m sure that it’s possible.(and also, it…

---

## [Making a third button for the microbit v1](https://forum.makecode.com/t/making-a-third-button-for-the-microbit-v1/27861)

<div class="topic-metadata">

**Author:** [@TheSpacepirate](https://forum.makecode.com/u/TheSpacepirate)\
**Replies:** 2\
**Last updated:** [March 23, 2024, 5:16pm UTC](https://forum.makecode.com/t/making-a-third-button-for-the-microbit-v1/27861 "2024-03-23T17:16:07Z")

</div>

Hi all! I’ve asked this question all over Stack Exchange, no luck. How can I add a third button? I’m using the Kitronik Edge Connect Board, and a breadboard to give an electrical signal through a button to one of the …

---

## [Reaction game radio signals](https://forum.makecode.com/t/reaction-game-radio-signals/27865)

<div class="topic-metadata">

**Author:** [@hungry-j](https://forum.makecode.com/u/hungry-j)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 1:51pm UTC](https://forum.makecode.com/t/reaction-game-radio-signals/27865 "2024-03-21T13:51:46Z")

</div>

Hi. I’m trying to create a reaction game where 3 microbits are on the same radio channel. A ‘main microbit’ is connected to 3 LEDs and should light up as cues for the 2 players to react to. I want this main microbit to k…

---

## [I need the Legend of Zelda main theme in Microbit makecode code](https://forum.makecode.com/t/i-need-the-legend-of-zelda-main-theme-in-microbit-makecode-code/27707)

<div class="topic-metadata">

**Author:** [@Joshua.O](https://forum.makecode.com/u/Joshua.O)\
**Replies:** 2\
**Last updated:** [March 15, 2024, 10:53pm UTC](https://forum.makecode.com/t/i-need-the-legend-of-zelda-main-theme-in-microbit-makecode-code/27707 "2024-03-15T22:53:15Z")

</div>

I need the Legend of Zelda main theme in Microbit makecode code if anyone could possibly make this

---

## [20x4 LCD extension?](https://forum.makecode.com/t/20x4-lcd-extension/27640)

<div class="topic-metadata">

**Author:** [@Don23805](https://forum.makecode.com/u/Don23805)\
**Replies:** 1\
**Last updated:** [March 13, 2024, 12:19am UTC](https://forum.makecode.com/t/20x4-lcd-extension/27640 "2024-03-13T00:19:44Z")

</div>

I’ve found makecode extensions for 16x2 LCD displays, but none for the 20x4. Anyone know of one? TIA Don

---

## [Help - microbot board not functioning as expected](https://forum.makecode.com/t/help-microbot-board-not-functioning-as-expected/27649)

<div class="topic-metadata">

**Author:** [@jamessugrue](https://forum.makecode.com/u/jamessugrue)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 6:28pm UTC](https://forum.makecode.com/t/help-microbot-board-not-functioning-as-expected/27649 "2024-03-11T18:28:57Z")

</div>

Hi - I am trying to learn how to program and switch leds on I have a simple program to switch PO on with button A Nothing happens when I connect to PO but if I connect further toward P1 the Led lights - Button …

---

## [Doodle jump](https://forum.makecode.com/t/doodle-jump/27407)

<div class="topic-metadata">

**Author:** [@Xc98](https://forum.makecode.com/u/Xc98)\
**Replies:** 1\
**Last updated:** [March 9, 2024, 12:05am UTC](https://forum.makecode.com/t/doodle-jump/27407 "2024-03-09T00:05:35Z")

</div>

Doodle jump clone, scrolling is a bit slow and there might be bugs.

---

## [Why are local variables made global?](https://forum.makecode.com/t/why-are-local-variables-made-global/27365)

<div class="topic-metadata">

**Author:** [@quilkin](https://forum.makecode.com/u/quilkin)\
**Replies:** 5\
**Last updated:** [March 1, 2024, 5:16pm UTC](https://forum.makecode.com/t/why-are-local-variables-made-global/27365 "2024-03-01T17:16:55Z")

</div>

If I create a function using blocks, any variables it uses are made into globals in the Python equivalent. Why is that? It’s setting a bad example - local variables should be local!

---

## [Can local server of MakeCode be used in a LAN?](https://forum.makecode.com/t/can-local-server-of-makecode-be-used-in-a-lan/27392)

<div class="topic-metadata">

**Author:** [@Wizard13](https://forum.makecode.com/u/Wizard13)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 6:10pm UTC](https://forum.makecode.com/t/can-local-server-of-makecode-be-used-in-a-lan/27392 "2024-02-29T18:10:20Z")

</div>

Hi! We have internet issues in class, so I tried the offline version of MakeCode, the offline version doesn’t support webusb, so we can’t upload directly to microbit. I saw in https://github.com/Microsoft/pxt-microbit …

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

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