| Os motores de busca de Datasheet de Componentes eletrônicos |
|
DFR0669 Folha de dados(PDF) 13 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0669 Folha de dados(HTML) 13 Page - DFROBOT |
|
13 / 26 page ![]() /* Test to draw a rectangle*/ void testRects(uint16_t color1, uint16_t color2) { screen.fillScreen(COLOR_RGB565_BLACK); int16_t x=screen.width()-12; for (; x > 100; x-=screen.width()/40) { /* * @ brief draw a hollow rectangle * @ param x The x-coordinate of the vertex * @ param y The y-coordinate of the vertex * @ param w horizontal side length * @ param h longitudinal side length * @ param color Fill color, RGB color with 565 structure */ screen.drawRect(/*x=*/screen.width()/2 -x/2, /*y=*/screen.height()/2 -x/ delay(100); } /* * @ brief draw a filled rectangle * @ param x The x-coordinate of the vertex * @ param y The y-coordinate of the vertex * @ param w horizontal side length * @ param h longitudinal side length * @ param color Fill color, RGB color with 565 structure */ screen.fillRect(/*x=*/screen.width()/2 -x/2, /*y=*/screen.height()/2 -x/2 delay(100); for(; x > 6; x-=screen.width()/40){ screen.drawRect(screen.width()/2 -x/2, screen.height()/2 -x/2 , x, x, co delay(100); } } /* Test to draw a rounded rectangle */ void testRoundRects() { screen.fillScreen(COLOR_RGB565_BLACK); // 0xF00F is the color data in the format of RGB565 int color = 0xF00F; int i; int x = 0; int y = 0; 7/7/24, 7:12 PM 3.5”480x320 TFT LCD Capacitive Touchscreen Breakout Wiki - DFRobot https://wiki.dfrobot.com/3.5inches_480_320_TFT_LCD_Capacitive_Touchscreen_SKU_DFR0669 13/26 |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |