Hi.
The function WriteLEDTex from the SimpleMicrobit extension is not working.
Somethimes the screen is just turned off.
Other times the app crashes without saying why.
Extensions:
I am using this bluetoothLE extension:
Download the BluetoothLE extension (version 20200828)
iot.appinventor.mit.edu/assets/resources/edu.mit.appinventor.ble-20200828.aix
Found here:
iot.appinventor.mit.edu/#/bluetoothle/bluetoothleintro
The microbit extension is this one:
Download the BBC micro:bit extension
iot.appinventor.mit.edu/assets/resources/SimpleMicrobit.aix
Found here:
iot.appinventor.mit.edu/#/microbit/microbitintro
Code:
Here is my app:
BluetoothBL_Microbit_example.aia (304.4 KB)
And here is an example code from the makecode:
( It looks like the flags about pairing are not working as they should. )
Tutorials:
To connect the bluetooth I used this tutorial:
drive.google .com/file/d/0B51cwz24uqobanJ2XzhLbGpQOFk/view?resourcekey=0-A5MBkOxnWL2Wlgm_xbaEQA
To write to the microbit I used this one:
iot.appinventor.mit.edu/assets/howtos/MIT_App_Inventor_Microbit_LED.pdf
Preview of microbit code:
Preview appInventor code: