Hey! This is the most creative thing I have seen to be done on Nextion, and actually thought about doing something like this a while back. While I can’t be sure, FatCache Error means that there is a buffer overload going on, and the system is unable to keep up. My guess is you have an image file set in the editor as the image source, and you update the file by stream, so you have to cut down on how much you update the file per period.
UPDATE
Yes! That’s buffer overflow, look carefully in the serial output “24 FF FF FF”
Hi Xwintk - Thanks - I’m working to tigten up the serial writes to avoid overrun… that’s helpful because of course I had bkcmd=3 for general debugging purposes. And yes when I defined the exp0 control I set path in editor to non-existent “ram/0.jpg” which causes 0x06 invalid file operation once when nextion starts up. I’ll post the app when I get it working (as of now i have the ESP in the middle like traffic cop grabbing a frame from the OpenMV cam via socket and serial.writing to the Nextion). Cheers
This forum is in no way affiliated with NEXTION®, ITEAD STUDIO®, TJC®, or anyone else really. All product names, logos, and brands are property of their respective owners. All company, product, and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement from the respective rights holder(s).