/* ************************************************ */ /* This program uses fast switching of the LCD */ /* to simulate gray scale display mode */ /* Authors: Lecerlcq, Braunl, 2000 */ /* ************************************************ */ #include const int bwimagerows = 64; const int bwimagecolumns = 128; void make_parts(image gray_image, BYTE *bwimg1, BYTE *bwimg2, BYTE *bwimg3) { int column,row,i; for (row=1; row> 1; /* range 0..7 */ value1 |= ((lum&4)>>2) <>1) <