Lines Matching refs:lcd
35 upm::ST7735 * lcd = new upm::ST7735(7, 4, 9, 8); in main() local
36 lcd->fillScreen (ST7735_RED); in main()
37 lcd->refresh (); in main()
39 lcd->fillScreen (ST7735_CYAN); in main()
40 lcd->refresh (); in main()
42 lcd->fillScreen (ST7735_BLACK); in main()
43 lcd->refresh (); in main()
45 lcd->drawLine(10, 10, 10, 100, ST7735_MAGENTA); in main()
46 lcd->drawLine(20, 20, 10, 100, ST7735_YELLOW); in main()
47 lcd->drawLine(30, 30, 50, 100, ST7735_WHITE); in main()
48 lcd->refresh (); in main()
50 lcd->drawPixel (20, 20, ST7735_GREEN); in main()
51 lcd->refresh (); in main()
53 lcd->drawTriangle (50, 50, 80, 80, 60, 90, ST7735_GREEN); in main()
54 lcd->refresh (); in main()
56 lcd->drawCircle (100, 110, 10, ST7735_BLUE); in main()
57 lcd->refresh (); in main()
60 lcd->setTextWrap(0x0); in main()
62 lcd->setCursor(0, 30); in main()
63 lcd->setTextColor(ST7735_RED, ST7735_RED); in main()
64 lcd->setTextSize(1); in main()
65 lcd->print("Hello World!"); in main()
67 lcd->setCursor(10, 50); in main()
68 lcd->setTextColor(ST7735_RED, ST7735_YELLOW); in main()
69 lcd->setTextSize(2); in main()
70 lcd->print("BIG"); in main()
72 lcd->refresh (); in main()
76 delete lcd; in main()