How to use LCD small LCD
How to use LCD small LCD, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
# include "common.h" # include "include.h" / *! * @ brief main function * @ since v5.0 * @ note wildfire LCD flexbus test * / void main (void) {uint16 I = 0; Site_t site; LCD_init (); / / initialize site.x = 0; site.y = 0 / / x = 10, y = 20 Size_t size1 = {128128}; / / W = 50, H = 60 LCD_rectangle (site, size1, RED); site.x = 5; site.y = 5; / / x = 10, y = 20 Size_t size2 = {118118}; / / W = 50, H = 60 LCD_rectangle (site, size2, BLACK); site.x = 10; site.y = 15 LCD_str (site, "HELLO world!", BLUE, BLACK); site.x = 20; site.y = 35; LCD_str (site, "For bing,", BLUE, BLACK); site.x = 30; site.y = 50; LCD_str (site, "for dream", BLUE, BLACK); site.y = 75; LCD_num (site, 20140313, BLUE, BLACK); site.y = 95 / / Site_t r