You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
micropython radio channel and MakeCode radio Group #669
I'm confused about how radio Group in MakeCode relates to radio channel in micropython. After numerous attempts I've failed to get any communication between one microbit programmed in micropython and another programmed in MakeCode. I see that micropython also has a setting for Group which adds to my confusion.
I'd appreciate if someone could clarify this.
(Can't see how to add labels to this post. Does someone else do this?)
Thanks for these links. I was never going to get it to work simply exporting a string from micropython and expecting the MakeCode microbit to understand it.
Still trying to make it work using make_radio, but at the moment I can't get the Mu editor to import make_radio.py from the same folder. It says "No module named make_radio".
Your original issue has been answered so I'm not sure this the right place to continue this conversation.
You have not given enough information for me to guess what might be going wrong. I am assuming you are copying over the make_radio.py file to the micro:bit like shown on this page: https://codewith.mu/en/tutorials/1.0/microbit
Another option is to copy and paste the make_radio class in to your main file.
Activity
ukBaz commentedon Sep 24, 2019
@simonc8 ,
MakeCode adds a little extra information in the radio packets.
I've written this up at: https://ukbaz.github.io/howto/ubit_radio.html
@rhubarbdog has written a class to help with communicating with the MakeCode Radio format:
https://github.com/rhubarbdog/microbit-radio
simonc8 commentedon Sep 25, 2019
Thanks for these links. I was never going to get it to work simply exporting a string from micropython and expecting the MakeCode microbit to understand it.
Still trying to make it work using make_radio, but at the moment I can't get the Mu editor to import make_radio.py from the same folder. It says "No module named make_radio".
ukBaz commentedon Sep 25, 2019
Your original issue has been answered so I'm not sure this the right place to continue this conversation.
You have not given enough information for me to guess what might be going wrong. I am assuming you are copying over the make_radio.py file to the micro:bit like shown on this page:
https://codewith.mu/en/tutorials/1.0/microbit
Another option is to copy and paste the make_radio class in to your main file.
There is also more information about modules at:
https://forum.micropython.org/viewtopic.php?t=4431
rhubarbdog commentedon Nov 7, 2022
You need to use file transfer to copy
make_radio.pyto your microbit