i want to create my own device, and i don’t know how to display value of block on screen, such as time value of timer
How to display value of block on screen
Hi duongthelongnv,
Please try this:
In the extension builder, please first check the option:
“This block comes with a checkbox for reading value”
Then in the “love mode handler” section, please return something (like a string, you can also pass in variables) in the code:
And now it will work (if the device is connected):
Please make sure your device is connected, and only in that mode, the live mode handler will work.
Best,
Allen