Hi, I have tried to develop an app to receive the UART valule feedback by a micro:bit. The app is working fine however the bluetooth disconnection isn't working when I press the disconnect button.
I started by trying to the project file shared by @Ghica under the topic of App Inventor, Micro:bit and UART and it works fine. However, when i switched from Uart.write string to Uart.write number, the problem appears. I have to manually press the microbit reset button to disconnect the bluetooth connection everytime.
I have tried to insert the command of "call Microbit.uart1- requestTXCharacteristic" when bluetooth connected and "call Microbit.uart1-StopTXCharacteristicUpdates" when bluetooth disconnected yet the result is still the same. May someone enlighten me on this problem?
Thanks in advance for the advices given.