@felmue
This error occurs inconsistently—sometimes very frequently, and other times, it only happens after 4,000 or 5,000 scans. In some cases, I encounter the issue after just 20 scans.
@greenleaf Images have to be of a very optimised specification to work as the memory of devices is limited.
I haven't replied because I have been so busy with other things.
If I find time today I will have a look at these specifications.
Hello @whatsinaname
I cannot present a solution, unfortunately - I can just confirm the issue you are describing.
That said, I don't think it is hardware related as a similar example I wrote in Arduino works just fine - the screen comes back alive after light sleep.
My conclusion is that it has to do about how Micropython handles light sleep...
Thanks
Felix
Hello @iamnoob
well, what have you already tried?
You should be able to use the UIFlow2 blocks for the IR unit. See here. I think it is using a similar IR receiver circuit as the KY-022.
Thanks
Felix
Hello @IAMLIUBO
thank you for confirming, much appreciated.
In the past I worked on projects which had similar restrictions - for various reasons some parts had to stay close - so I fully understand.
BTW: no need to be sorry. I am very glad most of UIFlow2 firmware is open source, so thank you for that.
Thanks
Felix
Hi,
I can't get a response from the server with the "When BLE client on notify" block or with the "When BLE client on read complete" block
I need help, or a lot of help. :)
[image: 1725040231466-uiflow2_block_1725040150735.png]
Thanks.
@rodrigob For info I managed to get things going by patching https://github.com/m5stack/uiflow-micropython/ to add the Unicode font from examples/Advanced/Display/Display_Unicode in the firmware.