Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 2 months ago.
I've copied the programs from https://os.mbed.com/teams/microbit/code/microbit-simple-radio-rx/ & https://os.mbed.com/teams/microbit/code/microbit-simple-radio-tx/ . These links are posted as an answer to a similar problem.
I wrote a program in micropython it uses radio. The program got too big for microbit so i decided to give it a go in C++. I've created 2 projects radio-consumer for radio-rx and radio-producer for radio-tx. When I press a button on the producer which should send a datagram nothing happens. When i broadcast a "1" from a micropython producer nothing happens. I have a c++ consumer based directly on radio-rx and one written in micropython neither reacts to a c++ producer. these microbits have working radio I have tested them using micropython programs
Question relating to:
4 years, 10 months ago.
Bluetooth is sketchy on microbit on some programming platform. I had quite the struggle last year.
But, if you are willing to treat microbit as nRF51822 board it works great for bluetooth with nRF BLE Apps.
This might help : https://os.mbed.com/users/suntopbd/code/uBit_BLE_UART_Voltmeter_IoT/