| Electronic Components Datasheet Search |
|
DFR0649 Datasheet(PDF) 11 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0649 Datasheet(HTML) 11 Page - DFROBOT |
|
11 / 28 page ![]() * y The y-coordinate of the first vertex * w Length of line segment * c line color */ screen.drawFastHLine(/*x=*/0, /*y=*/y, /*w=*/screen.width(),/*c=*/color2); delay(10); } for(int16_t x=0; x < screen.width(); x+=3) { /* * @ brief draw a line * @ param x The x-coordinate of the first vertex * y The y-coordinate of the first vertex * h length of line segment * c line color */ screen.drawFastVLine(/*x=*/x, /*y=*/0, /*h=*/screen.height(), /*c=*/color1); delay(10); } } /* 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/2 , /*w=*/x, /*h=*/x, /*color=*/color2+=0x0F00); delay(100); } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |