// gray scale palette
DISPLAY_SET_WHITE(0,0,0,0);
- DISPLAY_SET_LGRAY(3,3,3,3);
- DISPLAY_SET_DGRAY(6,6,6,6);
+ DISPLAY_SET_LGRAY(5,5,5,5); // obviously 3, but it's too bright!
+ DISPLAY_SET_DGRAY(7,7,7,7); // obviously 6, but again too bright!
DISPLAY_SET_BLACK(9,9,9,9);
/* normal mode, display depending ram content */
DISPLAY_RAM_CONTENTS_ON;
display_clear_screen();
- DISPLAY_NORMAL;
+ DISPLAY_NORMAL; // 00 -> white, 11 -> black
+ DISPLAY_SET_COM_ODIR_REMAPPED; // start counting at the top
/* switch on the display */
DISPLAY_SET_ON;
DISPLAY_SET_PAGE_ADDR(p);
for(c=x;c<x+w;c++) {
DISPLAY_SET_C_ADDR(c);
- b[0]=DISPLAY_DATA; // dummy read
+ b[0]=DISPLAY_DATA; // dummy read (p.16)
b[0]=DISPLAY_DATA;
b[1]=DISPLAY_DATA;
rmax=y+8>y+h?y+h:y+8;