# Adafruit Circuit Playground Bluefruit get stuck when read microphone

**URL:** https://forum.makecode.com/t/adafruit-circuit-playground-bluefruit-get-stuck-when-read-microphone/5534
**Category:** Maker
**Created:** [January 13, 2021, 8:30pm UTC](https://forum.makecode.com/t/adafruit-circuit-playground-bluefruit-get-stuck-when-read-microphone/5534 "2021-01-13T20:30:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CDarius](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cdarius/32/2886_2.png) [@CDarius](https://forum.makecode.com/u/CDarius)
#### Post date: [January 13, 2021, 8:30pm UTC](https://forum.makecode.com/t/adafruit-circuit-playground-bluefruit-get-stuck-when-read-microphone/5534/1 "2021-01-13T20:30:28Z")

</div>

When I insert a block that read the microphone on an Adafruit Circuit Playground Bluefruit the program get stack. Let’s look for example at this program:

![immagine](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/1cbb52d6367452506641f9c2039949f45f89a26e.png)

The leds are suppose to blink green and purple but they are not. If I remove the “on loud sound” block from the program then the leds blink green and purple.

---

<div class="post-metadata">

### Author: ![chatelao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chatelao/32/2985_2.png) [@chatelao](https://forum.makecode.com/u/chatelao)
#### Post date: [February 22, 2021, 7:10am UTC](https://forum.makecode.com/t/adafruit-circuit-playground-bluefruit-get-stuck-when-read-microphone/5534/2 "2021-02-22T07:10:23Z")

</div>

I got exactly the same error and tried to debug it, but building a full pxt/codal build-chain seams incredible hard. The Adafruit-Vargrant-Box is broken:

- \_github.com/adafruit/Adafruit-PXT-Setup/blob/master/Vagrantfile

For this error, I’ve added a bug at “pxt-maker”:

- [https://github.com/microsoft/pxt-maker/issues/331](https://github.com/microsoft/pxt-maker/issues/331)

As well as an entry at the adafruit forums, but I have no idea if any solid support for “CPb” for a MakeCode implementation is planned from their side:

- \_forums.adafruit.com/viewtopic.php?f=58&t=173788&p=847535&hilit=bluefruit+makecode#p847535

And on the Discord-Channel I didn’t get a response (yet) either:

- [https://discord.com/channels/327254708534116352/448961493590081568](https://discord.com/channels/327254708534116352/448961493590081568)

So, if anyone has an idea:

a) How to debug this thing?  
b) How to find support for this topic?

You would be more than welcome.
