# Mirco-Bit code Help

**URL:** <https://forum.makecode.com/t/mirco-bit-code-help/19404>\
**Category:** micro:bit\
**Tags:** microcode\
**Created:** [April 24, 2023, 2:18pm UTC](https://forum.makecode.com/t/mirco-bit-code-help/19404 "2023-04-24T14:18:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImAnAmazingPerson](https://avatars.discourse-cdn.com/v4/letter/i/d6d6ee/32.png) [@ImAnAmazingPerson](https://forum.makecode.com/u/ImAnAmazingPerson)\
**Post date:** [April 24, 2023, 2:18pm UTC](https://forum.makecode.com/t/mirco-bit-code-help/19404/1 "2023-04-24T14:18:39Z")

</div>

can someone Help me write code,  
What Needs to happen (Underneath)

When A File named “InsertFileHere.png” is playing in pin 1, Pin 0 will make lights, light up

Yes i already got this wired so please just help me with the code, a  
and the code will need to be made in Java Script
