PicoQVGA icon indicating copy to clipboard operation
PicoQVGA copied to clipboard

Configuring for mono?

Open UKTailwind opened this issue 4 years ago • 1 comments

Hi

Great software - many thanks I'm trying to work out how to use the S/W with a single bit per pixel (mono display) I have set 1 BPP in the pio file and 1 pin in config.h The bit I can't see is where to set the DMA transfer count(s) to reduce it(them) by a factor of 8

I've got the code already for manipulating a 1 bit framebuffer so don't need help on this but just want to get the basic background DMA running and have failed so far

UPDATE: found it :-)

` *cb++ = WIDTH/32; cb++ = (u32)&pFrameBuf[lineWIDTHBYTE];

UPDATE-UPDATE

works perfectly in 640x480 by doubling the clock and the various clock counts - just what I was hoping ` Thanks

UKTailwind avatar Dec 11 '21 11:12 UKTailwind

Maybe it could be better not to modify source codes, use mono graphics mode FORM_MONO and use only 1 output GPIO bit.

Panda381 avatar Dec 11 '21 17:12 Panda381