-
• #2
What it can be?
UART_OVERFLOW
The code is probably sent too fast to the device. As a workaround you can try to check Settings->Communication->Throttle Send. Then uploading will be slower.
-
• #3
Hi fanoush.
I tried your suggestion but UART_OVERFLOW error is still there :-( -
• #4
Oh, then I don't know. But it is pretty strange it didn't help because when throttle is enabled it is almost unbearably slow to upload anything so not sure how it could still overflow.
Also when thinking about it the Micro:bit 1 build it is pretty limited due to low RAM and flash memory. Can you just type
NRF.sendHIDReport
on left side if this method is even present? if not then the keyboard stuff won't work anyway and you would need custom build of Espruino to enable it.Having the micro:bit v2 would be much much better.
-
• #5
I was not precise fanoush, sorry.
I am already using Micro:bit v2.
The code works correctly, but often I need to flash it many times until the error doesn't occur.
Hi again!
I'm trying to make a BLE keyboard with micro:bit to send a keystroke when it is tilted to the right, left, front, back.
This is my code (I've not finish to write all)
I'm using the example of BLE Keyboard here and I receive this error
or this one
If I make a test with just
instead of
I've no error and the code works as I want.
What it can be?