| Electronic Components Datasheet Search |
|
DFR0649 Datasheet(PDF) 25 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0649 Datasheet(HTML) 25 Page - DFROBOT |
|
25 / 28 page ![]() delay(50); obj.setValue(value1); if(value1 < 100) value1++; } //Callback function of progress bar2 void barCallback2(DFRobot_UI:: sBar_t &obj){ //Enable the progress bar plus 1 in each time, it enters the callback function. delay(50); delay(50); obj.setValue(value2); if(value2 < 100) value2++; } //Callback function of progress bar3 void barCallback3(DFRobot_UI:: sBar_t &obj){ //Enable the progress bar plus 1 in each time, it enters the callback function. delay(50); delay(50); obj.setValue(value3); if(value3 < 100) value3++; } void setup() { Serial.begin(9600); //Initialize UI ui.begin(); ui.setTheme(DFRobot_UI::MODERN); //Display a string on the screen ui.drawString(/*x=*/33,/*y=*/screen.height()/5*4,"Page of loading",COLOR_RGB565_WHITE,ui.bgColor,/*fontsize =*/2,/*Invert=*/0); //Create a progress bar control DFRobot_UI::sBar_t &bar1 = ui.creatBar(); /** User-defined progress bar parameter **/ bar1.setStyle(DFRobot_UI::COLUMN); bar1.fgColor = COLOR_RGB565_GREEN; bar1.setCallback(barCallback1); i d (&b 1 /* */33 /* */ h i ht()/5*3) |
|
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 |