# Does serial redirect interrupt radio comms?

**URL:** <https://forum.makecode.com/t/does-serial-redirect-interrupt-radio-comms/15662>\
**Category:** micro:bit\
**Created:** [September 30, 2022, 12:20pm UTC](https://forum.makecode.com/t/does-serial-redirect-interrupt-radio-comms/15662 "2022-09-30T12:20:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martinlevins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/martinlevins/32/6906_2.png) [@martinlevins](https://forum.makecode.com/u/martinlevins)\
**Post date:** [September 30, 2022, 12:20pm UTC](https://forum.makecode.com/t/does-serial-redirect-interrupt-radio-comms/15662/1 "2022-09-30T12:20:03Z")

</div>

Hey

What  
I’m connecting to a MonkMakes CO2 sensor which requires a serial redirect  
Having done so I find that radio comms won’t work

Why  
Because the serial is redirected, I can’t chart or log CO2 data, so I wanted to send it over radio to another microbit which would do the logging or console charting

Ideas?  
M

---

<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:** [September 30, 2022, 4:25pm UTC](https://forum.makecode.com/t/does-serial-redirect-interrupt-radio-comms/15662/2 "2022-09-30T16:25:24Z")

</div>

There shouldn’t be a problem. One of the micro:bit examples of data collection does exactly that: [https://makecode.microbit.org/device/data-analysis/remote](https://makecode.microbit.org/device/data-analysis/remote) (The receiver uses `radio` and `serial`).

Can you share the code that you’re using for both the sender and receiver? (Via a URL, as shown here: [https://support.microbit.org/support/solutions/articles/19000086289-sharing-a-makecode-project](https://support.microbit.org/support/solutions/articles/19000086289-sharing-a-makecode-project))

Bill

---

<div class="post-metadata">

**Author:** ![martinlevins](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/martinlevins/32/6906_2.png) [@martinlevins](https://forum.makecode.com/u/martinlevins)\
**Post date:** [October 3, 2022, 5:29pm UTC](https://forum.makecode.com/t/does-serial-redirect-interrupt-radio-comms/15662/3 "2022-10-03T17:29:13Z")

</div>

Thanks Bill

The sending code is here:

[https://makecode.microbit.org/\_JffYjzJrDTzo](https://makecode.microbit.org/_JffYjzJrDTzo)

No need for the receiver code as the sending is the one that is not working

Works OK if I remove the radio blocks

The idea behind the radio blocks is that serial redirect won’t work with logging either

Have tried on both V1 & V2 ([https://makecode.microbit.org/\_JffYjzJrDTzo](https://makecode.microbit.org/_JffYjzJrDTzo) on V2 only obviously)

Any ideas?

TIA  
M
