How do I pass a value back to this string?
问题 Summary: I have a microbit connected to a rpi-zero. I coded the microbit, when A button is pressed it will then send data through uart.write to the rpi-zero. In this test, the microbit will uart.write("Test") , write a "Test" word to the rpi-zero. My ultimate goal is to use rpi-zero's BLE capabilities to act as a control device with instructions sent from microbit buttons. I found this GATT Server Code written in python for rpi. Which it ran with no problem at all. The code below will be used