| Electronic Components Datasheet Search |
|
DFR0649 Datasheet(PDF) 22 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0649 Datasheet(HTML) 22 Page - DFROBOT |
|
22 / 28 page ![]() Result 2 Sample Code 3-UI control This example presents you how to load three different controls. * @brief Draw monochrome pictures with different drawing orders * @param x 0 Set the starting point to be at the upper left of the screen, near the left side * @param y 0 Near the upper side * @param bitmap gImage_XBitmap The array in the header file XBitmap, the array elements are single bytes * @param w 240 Picture width * @param h 240 Picture height * @param color Set color */ screen.drawXBitmap(/*x=*/w/2-48,/*y=*/h/2-16,/*bitmap gImage_Bitmap=*/gImage[i],/*w=*/32,/*h=*/32,color+=0x0700); //Delay 1 second delay(1000); screen.drawXBitmap(/*x=*/w/2-16,/*y=*/h/2-16,/*bitmap gImage_Bitmap=*/gImage[i+1],/*w=*/32,/*h=*/32,color+=0x0700); delay(1000); screen.drawXBitmap(/*x=*/w/2+16,/*y=*/h/2-16,/*bitmap gImage_Bitmap=*/gImage[i+2],/*w=*/32,/*h=*/32,color+=0x0700); delay(1000); } } } |
|
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 |