You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to test your fabulous work to see if it would allow me to pass in a single frame represented by an array of pixel values. I'm using your the matrix code but am having issues understanding how the glyphs work and what the glyph array is supposed to do. (The code only displays a black screen for me as the esp_random() function isn't found)
Can you describe what the glyph map is and how it represents data to be displayed? From the code it appears to be a sequence of bytes representing characters but I can't tell for sure.
The text was updated successfully, but these errors were encountered:
GlyphMap is a 2bpp image with a resolution of 160x32. It contains 40 characters with resolution of 8x16.
This was just a fast way to produce simple font system for me. You don't need this to use the screen.
Functions 'gblcd_output_init' (called only once) and 'gblcd_swap_buffers' will return a frame buffer pointer for you to fill with whatever you want to display. It's always 160x144, 2bpp. That makes it 5760 bytes long. Since it's a 2bpp pixel format, one byte equals to 4 pixels.
The code uses double-buffering so you must use 'gblcd_swap_buffers' after you fill the framebuffer to update the screen. It will give you new pointer that you have to use next.
Also, this function is blocking (waiting for VBlank) to avoid tearing effect.
I'm trying to test your fabulous work to see if it would allow me to pass in a single frame represented by an array of pixel values. I'm using your the matrix code but am having issues understanding how the glyphs work and what the glyph array is supposed to do. (The code only displays a black screen for me as the esp_random() function isn't found)
Can you describe what the glyph map is and how it represents data to be displayed? From the code it appears to be a sequence of bytes representing characters but I can't tell for sure.
The text was updated successfully, but these errors were encountered: