Datasheet
Glcd_Set_Font(Character8x7, 8, 7, 32); // Change font
someText = "8x7 Font";
Glcd_Write_Text(someText, 5, 0, 2); // Write string
Glcd_Write_Text(someText, 5, 1, 2); // Write string
delay2S();
Glcd_Set_Font(System3x5, 3, 5, 32); // Change font
someText = "3X5 CAPITALS ONLY";
Glcd_Write_Text(someText, 60, 5, 2); // Write string
Glcd_Write_Text(someText, 60, 6, 2); // Write string
delay2S();
Glcd_Set_Font(font5x7, 5, 7, 32); // Change font
someText = "5x7 Font";
Glcd_Write_Text(someText, 5, 5, 2); // Write string
Glcd_Write_Text(someText, 5, 6, 2); // Write string
delay2S();
Glcd_Set_Font(FontSystem5x7_v2, 5, 7, 32); // Change font
someText = "5x7 Font (v2)";
Glcd_Write_Text(someText, 5, 3, 2); // Write string
Glcd_Write_Text(someText, 5, 2, 2); // Write string
delay2S();
}
}
297
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6