# micro:bit

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

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

**Page:** 5

---

## [MicroBit Python code is correct, but causes errors](https://forum.makecode.com/t/microbit-python-code-is-correct-but-causes-errors/34978)

<div class="topic-metadata">

**Author:** [@blahasimon](https://forum.makecode.com/u/blahasimon)\
**Replies:** 3\
**Last updated:** [March 30, 2025, 1:30am UTC](https://forum.makecode.com/t/microbit-python-code-is-correct-but-causes-errors/34978 "2025-03-30T01:30:59Z")

</div>

I’m pretty sure the code I wrote is correct Python-wise, but for some reason it is impossible to get rid of errors in the MicroBit environment. This is the code: # setup activated = False led.enable(False) OLED.init(128…

---

## [My tomogachi attempt](https://forum.makecode.com/t/my-tomogachi-attempt/34883)

<div class="topic-metadata">

**Author:** [@Ninaowo15](https://forum.makecode.com/u/Ninaowo15)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 10:59pm UTC](https://forum.makecode.com/t/my-tomogachi-attempt/34883 "2025-03-28T22:59:56Z")

</div>

---

## [Is my code good](https://forum.makecode.com/t/is-my-code-good/34743)

<div class="topic-metadata">

**Author:** [@AD1340](https://forum.makecode.com/u/AD1340)\
**Replies:** 5\
**Last updated:** [March 20, 2025, 10:36pm UTC](https://forum.makecode.com/t/is-my-code-good/34743 "2025-03-20T22:36:15Z")

</div>

---

## [Help! why is this giving me an error?](https://forum.makecode.com/t/help-why-is-this-giving-me-an-error/34750)

<div class="topic-metadata">

**Author:** [@AD1340](https://forum.makecode.com/u/AD1340)\
**Replies:** 5\
**Last updated:** [March 20, 2025, 9:04pm UTC](https://forum.makecode.com/t/help-why-is-this-giving-me-an-error/34750 "2025-03-20T21:04:03Z")

</div>

WHY WONT IT WORK???

---

## [Makecode tutorial - Simulator is broken](https://forum.makecode.com/t/makecode-tutorial-simulator-is-broken/34604)

<div class="topic-metadata">

**Author:** [@cpsbergeron](https://forum.makecode.com/u/cpsbergeron)\
**Replies:** 0\
**Last updated:** [March 15, 2025, 5:50pm UTC](https://forum.makecode.com/t/makecode-tutorial-simulator-is-broken/34604 "2025-03-15T17:50:05Z")

</div>

Hi there. Simulator is not working with my tutorial. Why ? https://makecode.microbit.org/#tutorial:github:cpsbergeron/tutos/tuto\_1

---

## [Tic Tac Toe!](https://forum.makecode.com/t/tic-tac-toe/27645)

<div class="topic-metadata">

**Author:** [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Replies:** 1\
**Last updated:** [March 13, 2025, 10:01pm UTC](https://forum.makecode.com/t/tic-tac-toe/27645 "2025-03-13T22:01:38Z")

</div>

Recently I got a little bored with Makecode Arcade and decided to do something really small and easy. I cooked Tic Tac Toe up in maybe an hour and was pleasantly surprised to see that no one has made tic tac toe already …

---

## [Microbit as Computer Mouse (HID/Physical Computing)](https://forum.makecode.com/t/microbit-as-computer-mouse-hid-physical-computing/14213)

<div class="topic-metadata">

**Author:** [@knope](https://forum.makecode.com/u/knope)\
**Replies:** 5\
**Last updated:** [March 12, 2025, 1:44am UTC](https://forum.makecode.com/t/microbit-as-computer-mouse-hid-physical-computing/14213 "2025-03-12T01:44:24Z")

</div>

Hello, I’m wondering if anyone can help me out. I’m trying to make a microbit v2 become a computer mouse/control a computer mouse on an iPad. I’m following this tutorial: https://bsiever.github.io/microbit-pxt-blehid/ …

---

## [Estou criando um drone, Mas preciso de ajuda](https://forum.makecode.com/t/estou-criando-um-drone-mas-preciso-de-ajuda/34361)

<div class="topic-metadata">

**Author:** [@eliasempresas](https://forum.makecode.com/u/eliasempresas)\
**Replies:** 4\
**Last updated:** [March 8, 2025, 1:16am UTC](https://forum.makecode.com/t/estou-criando-um-drone-mas-preciso-de-ajuda/34361 "2025-03-08T01:16:12Z")

</div>

Estou criando um drone, Mas preciso de ajuda Tem alguma forma que um projeto makecode de micro:bit “CONTROLE” envie as cordenadas (GPS) para outra placa micro:bit ?¿?

---

## [Video: LEGO Crickit Rover with Micro:bit ,Child explains her code: Remote control APP](https://forum.makecode.com/t/video-lego-crickit-rover-with-micro-bit-child-explains-her-code-remote-control-app/34118)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 1\
**Last updated:** [March 6, 2025, 6:17pm UTC](https://forum.makecode.com/t/video-lego-crickit-rover-with-micro-bit-child-explains-her-code-remote-control-app/34118 "2025-03-06T18:17:05Z")

</div>

---

## [Receive MIDI messages via bluetooth](https://forum.makecode.com/t/receive-midi-messages-via-bluetooth/34290)

<div class="topic-metadata">

**Author:** [@Scotty64](https://forum.makecode.com/u/Scotty64)\
**Replies:** 0\
**Last updated:** [March 4, 2025, 6:45pm UTC](https://forum.makecode.com/t/receive-midi-messages-via-bluetooth/34290 "2025-03-04T18:45:10Z")

</div>

I would like to use a micro:bit as GPIO extender for an iPad. Because I want to control synthesizers, the idea is to make the micro:bit receive MIDI messages and use these messages to control the micro:bit hardware. I a…

---

## [I recreated Five Nights At Freddy's on the micro:bit!](https://forum.makecode.com/t/i-recreated-five-nights-at-freddys-on-the-micro-bit/34261)

<div class="topic-metadata">

**Author:** [@FKPC](https://forum.makecode.com/u/FKPC)\
**Replies:** 1\
**Last updated:** [March 4, 2025, 1:18pm UTC](https://forum.makecode.com/t/i-recreated-five-nights-at-freddys-on-the-micro-bit/34261 "2025-03-04T13:18:25Z")

</div>

You can play it here. Perfectly functional in both simulator and real hardware! There’s also an itch.io page for it! https://fkpc.itch.io/fmab

---

## [Video: Adafruit Crickit plus LEGO type Rover Car with Free App Control ](https://forum.makecode.com/t/video-adafruit-crickit-plus-lego-type-rover-car-with-free-app-control/34059)

<div class="topic-metadata">

**Author:** [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Replies:** 0\
**Last updated:** [February 23, 2025, 5:58am UTC](https://forum.makecode.com/t/video-adafruit-crickit-plus-lego-type-rover-car-with-free-app-control/34059 "2025-02-23T05:58:47Z")

</div>

Mobile App controller of Micro:bit and Adafruit Crickit Motor Driver for Rover Car. Code Testing:

---

## [Local draggable variables in Eventblock](https://forum.makecode.com/t/local-draggable-variables-in-eventblock/33979)

<div class="topic-metadata">

**Author:** [@mpoelzl](https://forum.makecode.com/u/mpoelzl)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 7:40pm UTC](https://forum.makecode.com/t/local-draggable-variables-in-eventblock/33979 "2025-02-21T19:40:22Z")

</div>

Hello! I’ve created the following event handler block in my extension: The question I have is, why are the two variables globally scoped (with the drop down and added to the list of project variables)? And how can I…

---

## [Replacement buttons for meowbit](https://forum.makecode.com/t/replacement-buttons-for-meowbit/33968)

<div class="topic-metadata">

**Author:** [@pumpkinwearingsocks](https://forum.makecode.com/u/pumpkinwearingsocks)\
**Replies:** 2\
**Last updated:** [February 19, 2025, 6:41pm UTC](https://forum.makecode.com/t/replacement-buttons-for-meowbit/33968 "2025-02-19T18:41:16Z")

</div>

Hi everyone, I recently dug out my old meowbit i got a couple years ago. It works fine, but the up button is missing, and I don’t know how to fix it, and I was wondering if any of you guys could help me with it.

---

## [My calculator - V2 for V1 micro:bits](https://forum.makecode.com/t/my-calculator-v2-for-v1-micro-bits/33985)

<div class="topic-metadata">

**Author:** [@rxx](https://forum.makecode.com/u/rxx)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 6:39pm UTC](https://forum.makecode.com/t/my-calculator-v2-for-v1-micro-bits/33985 "2025-02-19T18:39:08Z")

</div>

Hello! I have made a program that lets you use my simplified calculator on v1 micro:bits! here’s the link: click me!

---

## [my calculator v2](https://forum.makecode.com/t/my-calculator-v2/33954)

<div class="topic-metadata">

**Author:** [@rxx](https://forum.makecode.com/u/rxx)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 5:52pm UTC](https://forum.makecode.com/t/my-calculator-v2/33954 "2025-02-18T17:52:55Z")

</div>

Hello! This is my simplified version of the calculator (which wont crash RAM)! This is so simple, you could even use this for V1 micro:bits! (WIP)! Anyways, here’s the link: click me!

---

## [Can someone debug my watch project plz?](https://forum.makecode.com/t/can-someone-debug-my-watch-project-plz/33945)

<div class="topic-metadata">

**Author:** [@Green0Field](https://forum.makecode.com/u/Green0Field)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 1:04pm UTC](https://forum.makecode.com/t/can-someone-debug-my-watch-project-plz/33945 "2025-02-18T13:04:18Z")

</div>

A few months ago I started a watch project made using the microbit. Now I’m too tired to start working on it again. I had to make a account on here to see if other devs can fix these bugs. I would appreciate if anyone …

---

## [draw! ](https://forum.makecode.com/t/draw/33791)

<div class="topic-metadata">

**Author:** [@rxx](https://forum.makecode.com/u/rxx)\
**Replies:** 0\
**Last updated:** [February 11, 2025, 6:08pm UTC](https://forum.makecode.com/t/draw/33791 "2025-02-11T18:08:35Z")

</div>

Hello again! This is my take on drawing in the micro:bit! This whole thing was inspired by Kernel the LED, but since it was in JavaScript, I couldn’t add other things with it. As I was tinkering using the “game” blocks, …

---

## [My Calculator 😭](https://forum.makecode.com/t/my-calculator/33778)

<div class="topic-metadata">

**Author:** [@rxx](https://forum.makecode.com/u/rxx)\
**Replies:** 0\
**Last updated:** [February 11, 2025, 2:14am UTC](https://forum.makecode.com/t/my-calculator/33778 "2025-02-11T02:14:26Z")

</div>

Hello! This is my calculator, formally titled “Math Problem Solver.” It goes up to 50 (not sure why someone would need that), does all 4 operations, and Pi too! Anyways, here’s the link: click me! P.S. it’s only availa…

---

## [Weird values coming out of radio.onReceivedValue - race condition?](https://forum.makecode.com/t/weird-values-coming-out-of-radio-onreceivedvalue-race-condition/33502)

<div class="topic-metadata">

**Author:** [@cal8](https://forum.makecode.com/u/cal8)\
**Replies:** 2\
**Last updated:** [February 3, 2025, 7:04pm UTC](https://forum.makecode.com/t/weird-values-coming-out-of-radio-onreceivedvalue-race-condition/33502 "2025-02-03T19:04:26Z")

</div>

Hi I created a basic joystick with xaxis on analog Pin0 and yaxis on analog Pin1. the values of these were read and then sent with radio.SendValue(pinName, value). on the receiver microbit, these were picked up with r…

---

## [wukong board - does anyone know the byte "maps" for the device](https://forum.makecode.com/t/wukong-board-does-anyone-know-the-byte-maps-for-the-device/33573)

<div class="topic-metadata">

**Author:** [@cal8](https://forum.makecode.com/u/cal8)\
**Replies:** 0\
**Last updated:** [February 3, 2025, 7:04pm UTC](https://forum.makecode.com/t/wukong-board-does-anyone-know-the-byte-maps-for-the-device/33573 "2025-02-03T19:04:03Z")

</div>

Hi i bought the wukong breakout board i’m looking at the code behind \[pxt-wukong here\](https://github.com/zhouF96/pxt-longanbit/blob/4744e5758f5ee9052fc9652ce0852fbea85b0e2e/main.ts#L343\] does anyone know all the i2cr…

---

## [Sequence Repeat](https://forum.makecode.com/t/sequence-repeat/33481)

<div class="topic-metadata">

**Author:** [@redSprite](https://forum.makecode.com/u/redSprite)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 6:22pm UTC](https://forum.makecode.com/t/sequence-repeat/33481 "2025-01-30T18:22:21Z")

</div>

Lil micro bit project I made to familiarize myself with the basic components of the editor :3 HOW TO PLAY A flashing array will appear to indicate the pattern you must repeat will show. The pattern you must repeat …

---

## [Batteries for Meowbot](https://forum.makecode.com/t/batteries-for-meowbot/33389)

<div class="topic-metadata">

**Author:** [@Lootnall](https://forum.makecode.com/u/Lootnall)\
**Replies:** 2\
**Last updated:** [January 27, 2025, 7:44pm UTC](https://forum.makecode.com/t/batteries-for-meowbot/33389 "2025-01-27T19:44:59Z")

</div>

I don’t know what batteries work and I don’t wanna order anything off Amazon. Would a battery like this work?

---

## [Error code 022](https://forum.makecode.com/t/error-code-022/33409)

<div class="topic-metadata">

**Author:** [@Valor](https://forum.makecode.com/u/Valor)\
**Replies:** 6\
**Last updated:** [January 27, 2025, 7:39pm UTC](https://forum.makecode.com/t/error-code-022/33409 "2025-01-27T19:39:29Z")

</div>

Here is my code for reference. Once I connected to the Micro:Bit, it responded with a 022 error. Please take a look, thank you.

---

## [Help with microbit not working please](https://forum.makecode.com/t/help-with-microbit-not-working-please/33325)

<div class="topic-metadata">

**Author:** [@Hello69](https://forum.makecode.com/u/Hello69)\
**Replies:** 0\
**Last updated:** [January 21, 2025, 6:14pm UTC](https://forum.makecode.com/t/help-with-microbit-not-working-please/33325 "2025-01-21T18:14:36Z")

</div>

You can get rid of the on tilt right and on tilt left, that was to make sure that it is reading the variables correctly. Hit A to select players (to help with the problem, go with 2). Now hit B, a thumbs up will pop up…

---

## [Cannot mount microbit v2 on MacBook Air](https://forum.makecode.com/t/cannot-mount-microbit-v2-on-macbook-air/13938)

<div class="topic-metadata">

**Author:** [@edubsky](https://forum.makecode.com/u/edubsky)\
**Replies:** 4\
**Last updated:** [January 17, 2025, 6:26pm UTC](https://forum.makecode.com/t/cannot-mount-microbit-v2-on-macbook-air/13938 "2025-01-17T18:26:45Z")

</div>

Hi I have a new microbit v2, which I can connect to over bluetooth with my iphone. I would like to connect it to my laptop now, but cannot get it to mount as a USB mass storage device. I have tired USB cables which I k…

---

## [MakeCode Code Evaluation tool for the micro:bit](https://forum.makecode.com/t/makecode-code-evaluation-tool-for-the-micro-bit/33183)

<div class="topic-metadata">

**Author:** [@jacqueline.russell](https://forum.makecode.com/u/jacqueline.russell)\
**Replies:** 0\
**Last updated:** [January 16, 2025, 9:41pm UTC](https://forum.makecode.com/t/makecode-code-evaluation-tool-for-the-micro-bit/33183 "2025-01-16T21:41:26Z")

</div>

Hi folks! We’re pleased to release the Beta of the new Code Evaluation tool today. This is our first version of a tool to help teachers more efficiently evaluate and give feedback on student projects. Please try it ou…

---

## [Micro:bit MakeCode V2 warning message](https://forum.makecode.com/t/micro-bit-makecode-v2-warning-message/32546)

<div class="topic-metadata">

**Author:** [@mpoelzl](https://forum.makecode.com/u/mpoelzl)\
**Replies:** 1\
**Last updated:** [January 12, 2025, 10:38pm UTC](https://forum.makecode.com/t/micro-bit-makecode-v2-warning-message/32546 "2025-01-12T22:38:13Z")

</div>

Hello! With some of the larger libraries we get the warning that it will only fit onto the micro:bit V2. This is no issue as all our microbits are V2 version. The problem is that this message seems to pop up each time a…

---

## [MakeCode unexpected logic cammand occurs~](https://forum.makecode.com/t/makecode-unexpected-logic-cammand-occurs/33033)

<div class="topic-metadata">

**Author:** [@wootekken](https://forum.makecode.com/u/wootekken)\
**Replies:** 1\
**Last updated:** [January 8, 2025, 7:37pm UTC](https://forum.makecode.com/t/makecode-unexpected-logic-cammand-occurs/33033 "2025-01-08T19:37:00Z")

</div>

While coding the micro:bit on the MakeCode site, when using logic-related commands (if, if else, false, true…), useless false blocks keep appearing, as shown in the picture below. I haven’t even made this, but it appears…

---

## [How to program output pin with random number](https://forum.makecode.com/t/how-to-program-output-pin-with-random-number/32995)

<div class="topic-metadata">

**Author:** [@alexander](https://forum.makecode.com/u/alexander)\
**Replies:** 0\
**Last updated:** [January 6, 2025, 6:04pm UTC](https://forum.makecode.com/t/how-to-program-output-pin-with-random-number/32995 "2025-01-06T18:04:38Z")

</div>

Hello everyone, i’m very new in working wih micro:bit. At least im 37 years old, but i think its never to late :slight\_smile: I never learnt coding so i’m very glad to use this block structur to make microbit i want him …

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

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