# Won't compile when downloading to Micro:bit

**URL:** <https://forum.makecode.com/t/wont-compile-when-downloading-to-micro-bit/6276>\
**Category:** micro:bit\
**Created:** [February 19, 2021, 4:35pm UTC](https://forum.makecode.com/t/wont-compile-when-downloading-to-micro-bit/6276 "2021-02-19T16:35:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [February 19, 2021, 4:35pm UTC](https://forum.makecode.com/t/wont-compile-when-downloading-to-micro-bit/6276/1 "2021-02-19T16:35:37Z")

</div>

Does anyone know how to fix this program so that it will compile and download? If I do NOT open the program in the MakeCode environment and without the LED part of the code, I can drag the code from my downloads folder having retrieved it online and it will install in the Micro:bit. If I open the .hex file then the errors are on lines 55 and 56 in JavaScript and it will not compile . Any ideas how to fix this? Thanks: [https://makecode.microbit.org/\_95Y5by7ab130](https://makecode.microbit.org/_95Y5by7ab130)
