newegor Posted August 22, 2014 Report Posted August 22, 2014 Hi,I have a display which is connected to MCU using SPI interface. This display uses 1 bit per pixel format. Due to display uses fluorescent technology I need to update it always. As I see frame buffer driver can't support 1 bit per pixel format. What is the simple way to implement this driver? May be I can take frame buffer driver and add a conversion from gray scale(8 bit per pixel) to 1 bit per pixel. Or I need to write my own driver.Could you suggest something to me?Thank you.
inmarket Posted August 22, 2014 Report Posted August 22, 2014 The framebuffer driver is not the best one to model it from.Monochrome drivers don't fit into the framebuffer model because there is more than one pixel packed into a byte. To add that capability to the framebuffer would needlessly complicate the code.Instead try using the PCD8544 driver as a base.It also is a monochrome driver running over SPI.
Joel Bodenmann Posted August 23, 2014 Report Posted August 23, 2014 We are very curious, could you please tell us more about your display, it's purpose and probably show us a picture? We've never heard of such a display before.~ Tectu
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now