|
# if ROTATE_SCREEN
0xA0, // ADC = 1: reverse direction(SEG128->SEG1)
0xC0, // SHL = 1: reverse direction (COM64->COM1)
# else
0xA1, // ADC = 0: normal direction(SEG1->SEG128)
0xC8, // SHL = 0: normal direction (COM1->COM64)
# if ROTATE_SCREEN
0xA1, // ADC = 0: normal direction(SEG1->SEG132/SEG128)
0xC0, // SHL = 1: reverse direction (COM64->COM1)
# else
0xA0, // ADC = 1: reverse direction(SEG132/SEG128->SEG1)
0xC8, // SHL = 0: normal direction (COM1->COM64)
if (g_eeGeneral.rotateScreen) {
lcdSendCtl2(0xA0, 0xC0); // ADC = 1: reverse direction(SEG128->SEG1)
} else { // SHL = 1: reverse direction(COM64->COM1)
lcdSendCtl2(0xA1, 0xC8); // ADC = 0: normal direction(SEG1->SEG128)
} // SHL = 0: normal direction(COM1->COM64)
if (g_eeGeneral.rotateScreen) {
lcdSendCtl2(0xA1, 0xC0); // ADC = 0: norm direction(SEG1->SEG132/SEG128)
} else { // SHL = 1: rev direction(COM64->COM1)
lcdSendCtl2(0xA0, 0xC8); // ADC = 1: rev direction(SEG132/SEG128->SEG1)
} // SHL = 0: norm direction(COM1->COM64)
#if defined(CPUM128) || defined(CPUM2561)
if (g_eeGeneral.rotateScreen) {
lcdSendCtl(0xA1); // ADC = 0: norm direction(SEG1->SEG132/SEG128)
lcdSendCtl(0xC0); // SHL = 1: rev direction(COM64->COM1)
} else {
lcdSendCtl(0xA0); // ADC = 1: rev direction(SEG132/SEG128->SEG1)
lcdSendCtl(0xC8); // SHL = 0: norm direction(COM1->COM64)
已经改成这样了 但是还是么有反向呢
|
|