Closed mayurpatelgec closed 3 years ago
How are you driving it from userspace?
Remember that any RGB565 value except pure black (zero) will turn on the pixel:
vmem16[(y*8+i)*132+x] ? 1 : 0
Sidenote: This driver does grayscale conversion and dithering: http://elixir.free-electrons.com/linux/latest/source/drivers/staging/fbtft/fb_agm1264k-fl.c But it's better to do this in userspace.
hi Thanks for reply..
actually after loading the driver with modprobe i want to use it for QT project but when i start the app with
./Helloworld -qws -Display LinuxFb:/dev/fb0
then display shows all the pixels. i also know that i have to create a project that uses only monochrome colors..
when it's not possible to drive this display with QT then i want to know what are the other possible ways to drive this display from user space...
I'm sorry I don't know. I haven't got any experience with graphics libraries. A search for 'qt monochrome' gave me this: https://machinekoder.com/rendering-to-a-monochrome-oled-display-with-qml/
thanx. i am already working with it (compatibility issues Qt4 and Qt5 in QML)
can you suggest me any other option to drive this monochrome LCD with this fb driver?
As a said, I haven't got any experience with graphics libraries.
ok thank you for your support.. it was great help from your side.. i will keep updating if i got any success :)
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Hi @notro,
I am working on ST7565 based monochrome GLCD and i followed your and @zanaster work zanaster/st7565 his fb_st7565 FB driver. All goes well and initializes and shows initialization text. but when i try anything else then all pixels (99%) goes on. I came to know it is developed for 16 bpp and I need 1 bpp. Can you help me in it ?