# Badger2040 - LED won't extenguis

**URL:** https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541
**Category:** Support
**Created:** [July 18, 2023, 3:01pm UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541 "2023-07-18T15:01:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![GM8ARV](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GM8ARV](https://forums.pimoroni.com/u/GM8ARV)
#### Post date: [July 18, 2023, 3:01pm UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541/1 "2023-07-18T15:01:58Z")

</div>

Badger 2040 - the LED (marked ACT) won’t go off, even on battery power. LED blink code example doesn’t work. Otherwise all is OK. I have a BME688 attached to the device and that functions correctly. The LED stays lit even with the BME688 removed.

---

<div class="post-metadata">

### Author: ![hel](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/hel/32/6075_2.png) [@hel](https://forums.pimoroni.com/u/hel)
#### Post date: [July 18, 2023, 3:22pm UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541/2 "2023-07-18T15:22:12Z")

</div>

I fixed this bug the other day - there’s links to fixed MicroPython builds in this post:

> [@Badger 2040 -blinking LED... (!)](https://forums.pimoroni.com/t/badger-2040-blinking-led/22441/3):
>
> Just got a chance to check this out - looks like the LED constant in the firmware was wrong for Badger 2040 (but correct for Badger 2040 W, which confused me for a while!). I’ve fixed it so it should be included when we next do a release, but if you’d like to download a fixed version of MicroPython in the meantime you can do that from the link below: I think you’ll need to be logged into Github for the download links to be clickable.

---

<div class="post-metadata">

### Author: ![GM8ARV](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GM8ARV](https://forums.pimoroni.com/u/GM8ARV)
#### Post date: [July 18, 2023, 6:21pm UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541/3 "2023-07-18T18:21:21Z")

</div>

Many thanks, Hel. So would I:

- download badger2040.py
- rename it to badger2020.1.py
- upload badger2040.1.py to the Pico
- edit my program to import badger2040.1

as I don’t see a new firmware just yet? This would be the file from:

[https://github.com/pimoroni/badger2040/blob/main/firmware/PIMORONI\_BADGER2040/lib/badger2040.py](https://github.com/pimoroni/badger2040/blob/main/firmware/PIMORONI_BADGER2040/lib/badger2040.py)

Thanks,  
David

---

<div class="post-metadata">

### Author: ![Mad\_Monk](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/mad_monk/32/9433_2.png) [@Mad\_Monk](https://forums.pimoroni.com/u/Mad_Monk)
#### Post date: [July 18, 2023, 8:51pm UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541/4 "2023-07-18T20:51:31Z")

</div>

Here is the link Hel was pointing to:

> <https://github.com/pimoroni/badger2040/actions/runs/5544374691>

---

<div class="post-metadata">

### Author: ![GM8ARV](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@GM8ARV](https://forums.pimoroni.com/u/GM8ARV)
#### Post date: [July 26, 2023, 7:57am UTC](https://forums.pimoroni.com/t/badger2040-led-wont-extenguis/22541/5 "2023-07-26T07:57:57Z")

</div>

Many thanks, Hel. I noticed that firmware 0.0.3 was available so I tried that and the problem is resolved.

Cheers, David
