Cant read from the device


#1

I am working on the sprites’ extension that reads text from the device in life mode. But the “device” is empty always. The physical device is connected and the Live Mode is ON.

That stack into the await device.readText();

image

Also, I’ve tried to use the @Device holder in the block. In this case, the block is not visible in the menu :wink:


#2

I have never had a problem with the Device dropdown. Have you tried putting another one in to see if it has the same problem or testing strings with it too?


#3

Have a look , it just does not render the submenu.
readaccline.zip (39.2 KB)

Anyway, should I use the @Device thing to read from the device or there are other options?


#4

Looks like an mBlock bug, I’ll notify them.