Open kuroda opened 1 day ago
A couple of things to try:
IO.puts(fb)
— this will output a bunch of things about the framebuffer... does the geometry make sense?fb.fix_screeninfo
vs its fb.var_screeninfo
.export NIF_DEBUG=true
and recompile. You might need to add force: true
to your mix install to make it recompile.When I was working on this, it was for a pretty simple display that had pretty low bits per pixel. My initial guess is that the NIF is either getting incorrect values for the screen out of ioctl or that I have bad arithmetic for the color space of your device.
Also just wanted to note that this library draws pretty slows, and I never got to the point of trying to optimizing anything. I'm also kind of swamped by work so don't have a whole lot of time to add features—if you can figure out what's going wrong I'll be happy to merge pull requests, without much ability to verify them myself.
Hi.
I created the following script to test this library against the LCD of M5Stack CoreMP135.
No errors occurred, but there was no change in the LCD.
If there are any errors in the usage, I would appreciate it if you could let me know.
I understand that this library is a work in progress.