# micro:bit

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

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

**Page:** 13

---

## [Set variablr magnetic force not working](https://forum.makecode.com/t/set-variablr-magnetic-force-not-working/18331)

<div class="topic-metadata">

**Author:** [@Grandp](https://forum.makecode.com/u/Grandp)\
**Replies:** 2\
**Last updated:** [March 7, 2023, 9:56pm UTC](https://forum.makecode.com/t/set-variablr-magnetic-force-not-working/18331 "2023-03-07T21:56:41Z")

</div>

Trying to do the magic button When I use the function Set to magnetic force (ut) When I flash the code the Microbit runs a program the that display TILT TO FILL THE SCREEN

---

## [Read little sound with microbit](https://forum.makecode.com/t/read-little-sound-with-microbit/18234)

<div class="topic-metadata">

**Author:** [@naim514](https://forum.makecode.com/u/naim514)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 10:57pm UTC](https://forum.makecode.com/t/read-little-sound-with-microbit/18234 "2023-03-03T22:57:22Z")

</div>

hi friends i want to know if there´s a solution to read a little mp3 file with microbit best regards

---

## [Can't find pins class](https://forum.makecode.com/t/cant-find-pins-class/18180)

<div class="topic-metadata">

**Author:** [@bethesda](https://forum.makecode.com/u/bethesda)\
**Replies:** 3\
**Last updated:** [February 28, 2023, 10:52pm UTC](https://forum.makecode.com/t/cant-find-pins-class/18180 "2023-02-28T22:52:08Z")

</div>

Trying to read an analog voltage on either pin 0, 1, or 2. Can do this in MakeCode but want to do it in Python instead. When I do it in MakeCode, and then I switch the editor to get the equivalent Python code, that cod…

---

## [My microbit wont show up in my files](https://forum.makecode.com/t/my-microbit-wont-show-up-in-my-files/17585)

<div class="topic-metadata">

**Author:** [@samthefat1](https://forum.makecode.com/u/samthefat1)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 10:33pm UTC](https://forum.makecode.com/t/my-microbit-wont-show-up-in-my-files/17585 "2023-02-28T22:33:19Z")

</div>

I haven’t used my micro bit in a couple of months and now if I try to download a program it wont work because it wont show in my files.

---

## [Microbit v2+FreeRTOS](https://forum.makecode.com/t/microbit-v2-freertos/18146)

<div class="topic-metadata">

**Author:** [@crisgp](https://forum.makecode.com/u/crisgp)\
**Replies:** 0\
**Last updated:** [February 24, 2023, 5:59pm UTC](https://forum.makecode.com/t/microbit-v2-freertos/18146 "2023-02-24T17:59:00Z")

</div>

Hello, I have managed to compile in eclipse C code in Eclipse with the microbit. I wanted to go one step further, add FreeRTOS to my project. Is there a way to put this together https://github.com/lancaster-university/…

---

## [Uart to send light level to phone not working](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067)

<div class="topic-metadata">

**Author:** [@Vespid](https://forum.makecode.com/u/Vespid)\
**Replies:** 2\
**Last updated:** [February 21, 2023, 10:59pm UTC](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067 "2023-02-21T22:59:07Z")

</div>

I’m trying to send data from the mirco bit to an app, I am using mircobit v1, and I can send moisture levels, and temperatures to the phone, but when I try to send light level it gives a 020 error. I tried displaying the…

---

## [Extension that modifies the simulator](https://forum.makecode.com/t/extension-that-modifies-the-simulator/2879)

<div class="topic-metadata">

**Author:** [@agc24](https://forum.makecode.com/u/agc24)\
**Replies:** 9\
**Last updated:** [February 21, 2023, 10:55pm UTC](https://forum.makecode.com/t/extension-that-modifies-the-simulator/2879 "2023-02-21T22:55:31Z")

</div>

Hello, I was wondering if it is possible to write an extension that modifies the simulator? I use some extensions that allow students to program different sensors and I would like them to be able to test their programs …

---

## [Migrating from makecode v7.0.20 to 8.07](https://forum.makecode.com/t/migrating-from-makecode-v7-0-20-to-8-07/17711)

<div class="topic-metadata">

**Author:** [@MoJeeza](https://forum.makecode.com/u/MoJeeza)\
**Replies:** 3\
**Last updated:** [February 6, 2023, 6:30am UTC](https://forum.makecode.com/t/migrating-from-makecode-v7-0-20-to-8-07/17711 "2023-02-06T06:30:19Z")

</div>

I am having problems migrating code written for MicroBit from: makecode.microbit.org version 4.0.24 Microsoft Makecode version 7.0.20 Microbit runtime version 2.2.0-rc6 codal-microbit-v2 runtime version 0.2.35 to: m…

---

## [Using Camera in the MakeCode Micro:Bit Simulator](https://forum.makecode.com/t/using-camera-in-the-makecode-micro-bit-simulator/17762)

<div class="topic-metadata">

**Author:** [@KrishnaTheCoder756](https://forum.makecode.com/u/KrishnaTheCoder756)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 11:25pm UTC](https://forum.makecode.com/t/using-camera-in-the-makecode-micro-bit-simulator/17762 "2023-02-03T23:25:08Z")

</div>

I am planning to make a face Recognition system using makeCoder micro:bit for a coding competition. Now, in the competition, it will be convenient to send the simulator code and demonstration other than hardware. So are …

---

## [Suggestion of Improving the Code Comment Feature of the Makecode IDE](https://forum.makecode.com/t/suggestion-of-improving-the-code-comment-feature-of-the-makecode-ide/17760)

<div class="topic-metadata">

**Author:** [@FrankYun](https://forum.makecode.com/u/FrankYun)\
**Replies:** 0\
**Last updated:** [February 3, 2023, 5:49pm UTC](https://forum.makecode.com/t/suggestion-of-improving-the-code-comment-feature-of-the-makecode-ide/17760 "2023-02-03T17:49:29Z")

</div>

Hi, I am a author of a very complex Microbit project. https://www.instructables.com/RedLightGreenLight-Game-System-With-Player-Detecti/ I need to add comments to the codes. However, I can’t add comments directly to ev…

---

## [\[Help pls\] How to stop looping in button A when press button B](https://forum.makecode.com/t/help-pls-how-to-stop-looping-in-button-a-when-press-button-b/17668)

<div class="topic-metadata">

**Author:** [@toeking](https://forum.makecode.com/u/toeking)\
**Replies:** 2\
**Last updated:** [January 30, 2023, 11:11pm UTC](https://forum.makecode.com/t/help-pls-how-to-stop-looping-in-button-a-when-press-button-b/17668 "2023-01-30T23:11:17Z")

</div>

I am doing a timer with two simple function - (1) When press button A, plus 1 (2) When press button B, minus 1 until 0 I’ve worked out the following code but not work for (2). Could someone help me, please? input.on…

---

## [I just bought 2 microbits every time i plug it to my windows 11 laptop with a usb cable it does up as a file](https://forum.makecode.com/t/i-just-bought-2-microbits-every-time-i-plug-it-to-my-windows-11-laptop-with-a-usb-cable-it-does-up-as-a-file/17119)

<div class="topic-metadata">

**Author:** [@samthefat1](https://forum.makecode.com/u/samthefat1)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 3:35am UTC](https://forum.makecode.com/t/i-just-bought-2-microbits-every-time-i-plug-it-to-my-windows-11-laptop-with-a-usb-cable-it-does-up-as-a-file/17119 "2023-01-25T03:35:21Z")

</div>

also every time i plug it it in it resets so i have to redo the starting thing again

---

## [N20 motor with magnetic encoder to track revolutions](https://forum.makecode.com/t/n20-motor-with-magnetic-encoder-to-track-revolutions/17564)

<div class="topic-metadata">

**Author:** [@Mr-Meow-ZA](https://forum.makecode.com/u/Mr-Meow-ZA)\
**Replies:** 0\
**Last updated:** [January 23, 2023, 6:11pm UTC](https://forum.makecode.com/t/n20-motor-with-magnetic-encoder-to-track-revolutions/17564 "2023-01-23T18:11:27Z")

</div>

I am trying to use a N20 motor, 120rpm 6v 1:50, with a hall effect magnetic encoder in order to track the turning of a wheel on a robot car. I have managed to read in and count the signal, but it is far lower than expect…

---

## [V2 and V3 incompatibility for UART data](https://forum.makecode.com/t/v2-and-v3-incompatibility-for-uart-data/17476)

<div class="topic-metadata">

**Author:** [@MicroGuy](https://forum.makecode.com/u/MicroGuy)\
**Replies:** 0\
**Last updated:** [January 17, 2023, 5:44pm UTC](https://forum.makecode.com/t/v2-and-v3-incompatibility-for-uart-data/17476 "2023-01-17T17:44:52Z")

</div>

I want an integer value of a byte received by the MicroBit’s UART. Thus, binary 01101101 should give me the integer value 109. This program runs fine under Microbit Python v2: from microbit import \* from microbit imp…

---

## [KS4030 shield with Mecanum I need code to get the 4 motors to work](https://forum.makecode.com/t/ks4030-shield-with-mecanum-i-need-code-to-get-the-4-motors-to-work/14980)

<div class="topic-metadata">

**Author:** [@fuzzynoodlebug](https://forum.makecode.com/u/fuzzynoodlebug)\
**Replies:** 9\
**Last updated:** [January 17, 2023, 5:23pm UTC](https://forum.makecode.com/t/ks4030-shield-with-mecanum-i-need-code-to-get-the-4-motors-to-work/14980 "2023-01-17T17:23:41Z")

</div>

I purchased the KS4031 the Keyestudio 4WD Mecanum Robot Car for Microbit. I cannot get any of the 4 motors to work, I know it is the code. Does anyone have any code for Microbit that I can start with. Please HELP ME…! …

---

## [WebUSB issue](https://forum.makecode.com/t/webusb-issue/17331)

<div class="topic-metadata">

**Author:** [@itibanbosi](https://forum.makecode.com/u/itibanbosi)\
**Replies:** 1\
**Last updated:** [January 12, 2023, 6:12pm UTC](https://forum.makecode.com/t/webusb-issue/17331 "2023-01-12T18:12:34Z")

</div>

If the USB is unplugged while power is being supplied externally, the flashing continues without completing the WebUSB connection. In this case, it is necessary to remove the battery once (turn off the power supply from…

---

## [Compile C and Freertos for microbit v.2](https://forum.makecode.com/t/compile-c-and-freertos-for-microbit-v-2/17233)

<div class="topic-metadata">

**Author:** [@crisgp](https://forum.makecode.com/u/crisgp)\
**Replies:** 2\
**Last updated:** [January 10, 2023, 12:57am UTC](https://forum.makecode.com/t/compile-c-and-freertos-for-microbit-v-2/17233 "2023-01-10T00:57:12Z")

</div>

Hello I would like to be able to compile programs in C and load them on the mircobit board but I am not giving the key. Soon I would also like to load Freertos but first to be able to load C programs somehow. I didn’t k…

---

## [Microbit radio comms/power issue](https://forum.makecode.com/t/microbit-radio-comms-power-issue/17240)

<div class="topic-metadata">

**Author:** [@Bogdan](https://forum.makecode.com/u/Bogdan)\
**Replies:** 1\
**Last updated:** [January 6, 2023, 6:05pm UTC](https://forum.makecode.com/t/microbit-radio-comms-power-issue/17240 "2023-01-06T18:05:47Z")

</div>

Hi, I need some help with a microbit controlled robot. As the robot is controlled by a microbit via a remote microbit stuck into a controller which is powered by 3 AA batteries. The strange thing is that the only way t…

---

## [Micro bit problem](https://forum.makecode.com/t/micro-bit-problem/17150)

<div class="topic-metadata">

**Author:** [@Petros\_Manos](https://forum.makecode.com/u/Petros_Manos)\
**Replies:** 4\
**Last updated:** [January 4, 2023, 9:31pm UTC](https://forum.makecode.com/t/micro-bit-problem/17150 "2023-01-04T21:31:13Z")

</div>

When i code the robot and send the hex file to the micro bit i turn on the micro maqueen and it does nothing Or when i send hex files to the micro bit it instantly delete the files

---

## [Microbit and WiFI](https://forum.makecode.com/t/microbit-and-wifi/17232)

<div class="topic-metadata">

**Author:** [@meyerst](https://forum.makecode.com/u/meyerst)\
**Replies:** 0\
**Last updated:** [January 4, 2023, 5:24pm UTC](https://forum.makecode.com/t/microbit-and-wifi/17232 "2023-01-04T17:24:01Z")

</div>

Hello. I have been using Microbits in education for a long time. I want to move into using WiFi with them to send data to the Cloud in real time (i.e. temperature data). What would you recommend for the best way/modul…

---

## [How can microbit control DC motor direction?](https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113)

<div class="topic-metadata">

**Author:** [@windflower28](https://forum.makecode.com/u/windflower28)\
**Replies:** 1\
**Last updated:** [December 27, 2022, 8:05pm UTC](https://forum.makecode.com/t/how-can-microbit-control-dc-motor-direction/17113 "2022-12-27T20:05:03Z")

</div>

Hi, I want to know, can it easily a microbit change rotate direction of a DC motor? I saw some pages showing that it can help with a motor drive module. But I want to know if it can simplily just microbit to control DC …

---

## [MakeCode Release Schedule?](https://forum.makecode.com/t/makecode-release-schedule/17121)

<div class="topic-metadata">

**Author:** [@bsiever](https://forum.makecode.com/u/bsiever)\
**Replies:** 1\
**Last updated:** [December 27, 2022, 6:07pm UTC](https://forum.makecode.com/t/makecode-release-schedule/17121 "2022-12-27T18:07:23Z")

</div>

Is there any info. about MakeCode’s release/update schedule? Specifically, I’d like to know when the CODAL version may be updated. It’s currently using CODAL v0.2.40 and I’m working on an extension that needs features …

---

## [Toledo Nanochess on the BBC micro:bit](https://forum.makecode.com/t/toledo-nanochess-on-the-bbc-micro-bit/16937)

<div class="topic-metadata">

**Author:** [@ghoelzl](https://forum.makecode.com/u/ghoelzl)\
**Replies:** 0\
**Last updated:** [December 16, 2022, 10:40pm UTC](https://forum.makecode.com/t/toledo-nanochess-on-the-bbc-micro-bit/16937 "2022-12-16T22:40:41Z")

</div>

You can find the repo on https://github.com/ghoelzl/microbit\_nanochess and a video on https://www.youtube.com/watch?v=Vc\_DAjjW53I.

---

## [Video: VEX and Microbit, low cost Robotics Education ](https://forum.makecode.com/t/video-vex-and-microbit-low-cost-robotics-education/16931)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 0\
**Last updated:** [December 16, 2022, 6:12pm UTC](https://forum.makecode.com/t/video-vex-and-microbit-low-cost-robotics-education/16931 "2022-12-16T18:12:57Z")

</div>

Developing motor control of low cost VEX robotics kits using Microbit and Jacdac as a controller. Code is in description of the video:

---

## [Extension Conflict?](https://forum.makecode.com/t/extension-conflict/8923)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 4\
**Last updated:** [December 14, 2022, 8:02pm UTC](https://forum.makecode.com/t/extension-conflict/8923 "2022-12-14T20:02:43Z")

</div>

Does anyone know why there is a conflict between “Bluetooth” extension in MakeCode for Microbit and the 51 bit Colorbit extension for the LED array ? I would like to use both but one extension requires the removal of t…

---

## [Makecode server platform capacity](https://forum.makecode.com/t/makecode-server-platform-capacity/16881)

<div class="topic-metadata">

**Author:** [@moseslee](https://forum.makecode.com/u/moseslee)\
**Replies:** 1\
**Last updated:** [December 13, 2022, 5:32pm UTC](https://forum.makecode.com/t/makecode-server-platform-capacity/16881 "2022-12-13T17:32:40Z")

</div>

We are a Hong Kong company. Our company will hold an event having 10000 students code with make code at the same time. Is the make code server have enough capacity to handle those computers’ requirements?

---

## [Led 56 khz IR emission](https://forum.makecode.com/t/led-56-khz-ir-emission/16879)

<div class="topic-metadata">

**Author:** [@Christophe](https://forum.makecode.com/u/Christophe)\
**Replies:** 0\
**Last updated:** [December 13, 2022, 5:19pm UTC](https://forum.makecode.com/t/led-56-khz-ir-emission/16879 "2022-12-13T17:19:40Z")

</div>

Hello, I tested the infrared transmission and the reception with micro:bit. I managed to make it work, but only with 38 khz led. I would like to do it with 56 khz led, how to do it? Thank you for your help, Christoph…

---

## [Serial Comms not woking on any microbit](https://forum.makecode.com/t/serial-comms-not-woking-on-any-microbit/16768)

<div class="topic-metadata">

**Author:** [@mitsuperboy](https://forum.makecode.com/u/mitsuperboy)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 11:02pm UTC](https://forum.makecode.com/t/serial-comms-not-woking-on-any-microbit/16768 "2022-12-06T23:02:26Z")

</div>

Hi can anyone help me with? why serial Comms not working in microbit makecode Im using webUSB with chorme and it does not read and witre to PC Makecode/FUZE BASIC, Ardunio (IDE), or Pi FUZE BASIC I tried USB and Pin and…

---

## [Need custom makecode/microbit block development](https://forum.makecode.com/t/need-custom-makecode-microbit-block-development/16458)

<div class="topic-metadata">

**Author:** [@toysonlocation](https://forum.makecode.com/u/toysonlocation)\
**Replies:** 2\
**Last updated:** [November 30, 2022, 5:54pm UTC](https://forum.makecode.com/t/need-custom-makecode-microbit-block-development/16458 "2022-11-30T17:54:32Z")

</div>

I have a requirement to visualize data generated in the makecode simulator, in relation to controlling a microbit. So in essence, read variables from blocks and “provide” them to a logic process read output data from t…

---

## [Microbit cannot connect to computer through USB after flashing scratch setting](https://forum.makecode.com/t/microbit-cannot-connect-to-computer-through-usb-after-flashing-scratch-setting/16656)

<div class="topic-metadata">

**Author:** [@windflower28](https://forum.makecode.com/u/windflower28)\
**Replies:** 0\
**Last updated:** [November 28, 2022, 5:52pm UTC](https://forum.makecode.com/t/microbit-cannot-connect-to-computer-through-usb-after-flashing-scratch-setting/16656 "2022-11-28T17:52:11Z")

</div>

My microbit cannot connect to commpter (Win 11 os) when plug in USB now. the board was able to connect to PC before. I think it happen just after I install some setting on it to let the microbit can work with Scratch. …

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

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