Lua module for ePaper
Posted: Sat Apr 15, 2017 5:14 am
I added a C Lua module for ePaper, see my project page for details:
https://hackaday.io/project/20466-wifi-epaper
I forked the nodemcu-firmware Github repository, here are the changes:
https://github.com/FrankBuss/nodemcu-fi ... f694403cf3
It is working, but still a bit of a hack with the long blocking delays which might cause trouble with the WiFi stack, and I run into memory problems with normal update scheme which requires to delete the previous image first. But if there is any interest, I can try to improve it.
Any ideas how to get rid of the blocking delays? Can I create timer callbacks from within the C code, or should I implement a lower-level interface in C for e.g. just transferring one line of image data and then implement the rest in Lua?
https://hackaday.io/project/20466-wifi-epaper
I forked the nodemcu-firmware Github repository, here are the changes:
https://github.com/FrankBuss/nodemcu-fi ... f694403cf3
It is working, but still a bit of a hack with the long blocking delays which might cause trouble with the WiFi stack, and I run into memory problems with normal update scheme which requires to delete the previous image first. But if there is any interest, I can try to improve it.
Any ideas how to get rid of the blocking delays? Can I create timer callbacks from within the C code, or should I implement a lower-level interface in C for e.g. just transferring one line of image data and then implement the rest in Lua?