crteensy Posted April 1, 2015 Report Share Posted April 1, 2015 From the docs I understand that there is no packed monochrome framebuffer driver. Is there any inofficial code to work with or would you like to get some fresh lines? I'd rather not try to come up with a generic sub-8-bit-color packed framebuffer (I could only do that in C++ I'm afraid), but monochrome should be easy enough. Link to comment Share on other sites More sharing options...
inmarket Posted April 2, 2015 Report Share Posted April 2, 2015 You are right, there is no generic framebuffer driver for monochrome displays. They are however all very similar and it has been in the back of my mind to eventually develop one.In the mean time just take one of the existing monochrome drivers and modify it to suit. Link to comment Share on other sites More sharing options...
crteensy Posted April 2, 2015 Author Report Share Posted April 2, 2015 Yes, that was basically what I ended up doing now. I use it to have a full frame buffer for my ssd1351 display which will only show monochrome graphics. Consecutive chunks of the monochrome frame buffer are converted to RGB565 and sent to the display using DMA in the background. Now the code needs 5 ms to draw and 21 ms (without the CPU being involved) to transfer a full frame to the display, as opposed to > 60 ms per frame when drawing "directly". Link to comment Share on other sites More sharing options...
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