| Electronic Components Datasheet Search |
|
DFR0649 Datasheet(PDF) 21 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0649 Datasheet(HTML) 21 Page - DFROBOT |
|
21 / 28 page ![]() //0x30FF is the color data in the format of RGB565 screen.setTextColor(0x30FF); screen.setTextSize(3); screen.setCursor(30, 30); screen.println("Time:"); //0x00FF is color data in RGB565 format screen.setTextColor(0x00FF); screen.setTextSize(3); screen.setCursor(120, 30); a = millis()/1000; screen.println(a, 1); /** * @brief Fill a rounded rectangle * @param x The x-coordinates of the starting point of the rectangle * @param y The y-coordinates of the starting point of the rectangle * @param w Rectangle width * @param h Rectangle height * @param r Fillet radius * @param color Rectangle color */ screen.fillRoundRect(w/2-48-12, h/2-16-8, 32*3+12*2, 32+8*2, 20, 0x0000); /** * @brief Draw horizontal and vertical lines to draw frame * @param x The x-coordinate of the starting point of the line * @param y The y-coordinate of the starting point of the line * @param h Line length * @param color Line color */ for(int x = 0; x<16 ;x++) screen.drawFastVLine(/*x=*/x,/*y=*/0,/*h=*/h,/*color=*/color); for(int y = 0; y<16 ;y++) screen.drawFastHLine(/*x=*/16,/*y=*/y,/*w=*/w-16*2,/*color=*/color); for(int x = w-1; x>=w-16 ;x--) screen.drawFastVLine(x,0,h, color); for(int y = h-1; y>=h-16 ;y--) screen.drawFastHLine(16,y,w-16*2,color); /** * @b i f D h i t ith diff t d i d |
|
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 |