Forum >Extension maqueen not compatible with Bluetooth
Extension maqueen not compatible with Bluetooth

I tried to make robot maqeen controlled over bluetooth programmed on MakeCode. Looks like extension maqueen is not compatible with extension Bluetooth.
In MakeCode I added extension Bluetooth and created following program (see below)
When I added to the program an extension maqueen, the program started to show icons Sad and number 0 and 2.
Can it be fixed?
bluetooth.onBluetoothConnected(function () {
basic.showIcon(IconNames.Yes)
})
bluetooth.onBluetoothDisconnected(function () {
basic.showIcon(IconNames.No)
})
bluetooth.onUartDataReceived(serial.delimiters(Delimiters.Hash), function () {
s = bluetooth.uartReadUntil(serial.delimiters(Delimiters.SemiColon))
if (s == список[0]) {
basic.showIcon(IconNames.Happy)
} else {
basic.showIcon(IconNames.Sad)
}
})
let s = ""
let список: string[] = []
bluetooth.startUartService()
basic.showIcon(IconNames.Heart)
список = ["f", "b", "s"]
In MakeCode I added extension Bluetooth and created following program (see below)
When I added to the program an extension maqueen, the program started to show icons Sad and number 0 and 2.
Can it be fixed?
bluetooth.onBluetoothConnected(function () {
basic.showIcon(IconNames.Yes)
})
bluetooth.onBluetoothDisconnected(function () {
basic.showIcon(IconNames.No)
})
bluetooth.onUartDataReceived(serial.delimiters(Delimiters.Hash), function () {
s = bluetooth.uartReadUntil(serial.delimiters(Delimiters.SemiColon))
if (s == список[0]) {
basic.showIcon(IconNames.Happy)
} else {
basic.showIcon(IconNames.Sad)
}
})
let s = ""
let список: string[] = []
bluetooth.startUartService()
basic.showIcon(IconNames.Heart)
список = ["f", "b", "s"]
2020-11-14 04:24:52 maqueen.motorRun(maqueen.Motors.All, maqueen.Dir.CW, 128)
basic.pause(5000)
maqueen.motorStop(maqueen.Motors.All)
this program doesn't work if there is Bluetooth extension in the project
mi_semion
basic.pause(5000)
maqueen.motorStop(maqueen.Motors.All)
this program doesn't work if there is Bluetooth extension in the project

2020-11-14 03:23:15 minimal program with the problem:
bluetooth.startUartService()
basic.showIcon(IconNames.Heart)
mi_semion
bluetooth.startUartService()
basic.showIcon(IconNames.Heart)

2020-11-14 00:16:50 I updated firmaware on micro:bit, now it's 0250
created a new project and program described in the first post
- after load into micro:bit it was only static picture on screen, as expected
I added maqueen extension to the project:
- new program shows in cycle 0 2 and 'sad", as was described in original post.
Adding maqueen extension crearly change behavior of the program even without usage of maqueen blocks in the program
mi_semion
created a new project and program described in the first post
- after load into micro:bit it was only static picture on screen, as expected
I added maqueen extension to the project:
- new program shows in cycle 0 2 and 'sad", as was described in original post.
Adding maqueen extension crearly change behavior of the program even without usage of maqueen blocks in the program

2020-11-13 23:54:24 Update of micro:bit firmware produces no effect.
Please update extension maqueen available in MakeCode
mi_semion
Please update extension maqueen available in MakeCode

2020-11-13 23:29:31 Are there 2 statements:
1. maybe not latest firmware on my micro:bit
2. DFrobot has not updated maqueen extension available via MakeCode
?
1. Firmware on my micro:bit probably is not the latest, I'll update
If 2) is correct, Dfrobot would better update extension in MakeCode
mi_semion
1. maybe not latest firmware on my micro:bit
2. DFrobot has not updated maqueen extension available via MakeCode
?
1. Firmware on my micro:bit probably is not the latest, I'll update
If 2) is correct, Dfrobot would better update extension in MakeCode

2020-11-13 18:06:22 You may be using a previous version of the firmware, you can search DFRobot on the makecode official website to get the latest version of maqueen
347945801
