User manual

Table Of Contents
mikroC PRO for PIC32
MikroElektronika
559
break;
case 2:
// non blinking cursor
T6963C_cursor(1);
T6963C_cursor_blink(0);
break;
}
Delay_ms(300);
}
#ifdef PARTIAL_IMAGE_DEMO
/*
* If RC13 is pressed, perform the “Partial image” demostration
*/
else if(RB13_bit) {
T6963C_setGrPanel(0);
T6963C_setTxtPanel(0);
T6963C_txtFill(0);
T6963C_setGrPanel(1);
T6963C_setTxtPanel(0);
T6963C_graphics(1);
T6963C_text(1);
T6963C_displayGrPanel(1);
T6963C_write_text(txt2, 5, 15, T6963C_ROM_MODE_XOR);
Delay_1sec();
T6963C_grFill(0);
T6963C_PartialImage(0, 0, 64, 64, 240, 128, mikroE_240x128_bmp);
Delay_1sec();
T6963C_PartialImage(0, 0, 128, 128, 240, 128, mikroE_240x128_bmp);
Delay_1sec();
T6963C_PartialImage(0, 0, 240, 128, 240, 128, mikroE_240x128_bmp);
Delay_1sec();
T6963C_txtFill(0);
T6963C_write_text(txt, 0, 0, T6963C_ROM_MODE_XOR);
T6963C_write_text(txt1, 0, 15, T6963C_ROM_MODE_XOR);
}
#endif
/*
* Move cursor, even if not visible
*/
cposx++;
if(cposx == T6963C_txtCols) {
cposx = 0;
cposy++;
if(cposy == T6963C_grHeight / T6963C_CHARACTER_HEIGHT) {
cposy = 0;
}
}
T6963C_set_cursor(cposx, cposy);
Delay_ms(100);
}
}