User manual

Table Of Contents
556
mikoC PRO for PIC32
MikroElektronika
/*
* Cursor
*/
T6963C_cursor_height(8); // 8 pixel height
T6963C_set_cursor(0, 0); // Move cursor to top left
T6963C_cursor(0); // Cursor off
/*
* Draw solid boxes
*/
T6963C_box(0, 0, 239, 8, T6963C_WHITE);
T6963C_box(0, 119, 239, 127, T6963C_WHITE);
/*
* Draw rectangles
*/
#ifdef LINE_DEMO
T6963C_rectangle(0, 0, 239, 127, T6963C_WHITE);
T6963C_rectangle(20, 20, 219, 107, T6963C_WHITE);
T6963C_rectangle(40, 40, 199, 87, T6963C_WHITE);
T6963C_rectangle(60, 60, 179, 67, T6963C_WHITE);
#endif
/*
* Draw rounded edge rectangle
*/
#ifdef LINE_DEMO
T6963C_Rectangle_Round_Edges(10, 10, 229, 117, 12, T6963C_WHITE);
T6963C_Rectangle_Round_Edges(30, 30, 209, 97, 12, T6963C_WHITE);
T6963C_Rectangle_Round_Edges(50, 50, 189, 77, 12, T6963C_WHITE);
#endif
/*
* Draw lled rounded edge rectangle
*/
#ifdef FILL_DEMO
T6963C_Rectangle_Round_Edges_Fill(10, 10, 229, 117, 12, T6963C_WHITE);
T6963C_Rectangle_Round_Edges_Fill(20, 20, 219, 107, 12, T6963C_BLACK);
T6963C_Rectangle_Round_Edges_Fill(30, 30, 209, 97, 12, T6963C_WHITE);
T6963C_Rectangle_Round_Edges_Fill(40, 40, 199, 87, 12, T6963C_BLACK);
T6963C_Rectangle_Round_Edges_Fill(50, 50, 189, 77, 12, T6963C_WHITE);
#endif
/*
* Draw a cross
*/
#ifdef LINE_DEMO
T6963C_line(0, 0, 239, 127, T6963C_WHITE);
T6963C_line(0, 127, 239, 0, T6963C_WHITE);
#endif