| Electronic Components Datasheet Search |
|
DFR0649 Datasheet(PDF) 14 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0649 Datasheet(HTML) 14 Page - DFROBOT |
|
14 / 28 page ![]() * @ param r radius * @ param color Circle color, RGB color with 565 structure */ screen.drawCircle(/*x0=*/x, /*y0=*/y, /*r=*/radius, /*color=*/color); if(x == y ||x == -y ||x == y + 2*radius) /* * @ brief Draw a filled circle * @ param x0 The x-coordinate of the center point * @ param y0 The y-coordinate of the center point * @ param r radius * @ param color Fill color, RGB color with 565 structure */ screen.fillCircle(/*x0=*/x, /*y0=*/y, /*r=*/radius, /*color=*/color); color += 800; delay(100); } } } /* Test to draw a triangle */ void testTriangles(uint16_t color){ screen.fillScreen(COLOR_RGB565_BLACK); for (int16_t i=0; i <=screen.width(); i+=24) /* * @ brief Draw a hollow triangle * @ param x0 The x-coordinate of the start vertex * @ param y0 The y-coordinate of the start vertex * @ param x1 The x-coordinate of the second vertex * @ param y1 The y-coordinate of the second vertex * @ param x2 The x-coordinate of the third vertex * @ param y2 The y-coordinate of the third vertex * @ param color border color, 565 structure RGB color */ screen.drawTriangle(/*x0=*/i,/*y0=*/0,/*x1=*/0,/*y1=*/screen.height()-i,/*x2=*/screen.width()-i,/*y2=*/screen.height(), /*color=*/ for (int16_t i=0; i <screen.width(); i+=24) d T i l ( idth() i*4/3 0 h i ht() i*4/3 i 0 l ) |
|
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 |