# Uart to send light level to phone not working

**URL:** <https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067>\
**Category:** micro:bit\
**Created:** [February 19, 2023, 8:55pm UTC](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067 "2023-02-19T20:55:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vespid](https://avatars.discourse-cdn.com/v4/letter/v/ccd318/32.png) [@Vespid](https://forum.makecode.com/u/Vespid)\
**Post date:** [February 19, 2023, 8:55pm UTC](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067/1 "2023-02-19T20:55:08Z")

</div>

I’m trying to send data from the mirco bit to an app, I am using mircobit v1, and I can send moisture levels, and temperatures to the phone, but when I try to send light level it gives a 020 error. I tried displaying the light level on the mircobit in the same program and it did not work. When I tried displaying the light level on the mirco bit in a different program it worked.

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [February 20, 2023, 12:03am UTC](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067/2 "2023-02-20T00:03:02Z")

</div>

The light level sensor and display never worked for me either, I don’t know why though sorry!

---

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [February 21, 2023, 10:59pm UTC](https://forum.makecode.com/t/uart-to-send-light-level-to-phone-not-working/18067/3 "2023-02-21T22:59:07Z")

</div>

Hi @Vespid ,

It might help if you share a link to your code so others can try it out. The process to create a share link is described here: [https://support.microbit.org/support/solutions/articles/19000136323-share-a-makecode-program](https://support.microbit.org/support/solutions/articles/19000136323-share-a-makecode-program) (then past in the URL here so others can take a look).
