| Electronic Components Datasheet Search |
|
DFR0647 Datasheet(PDF) 8 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0647 Datasheet(HTML) 8 Page - DFROBOT |
|
8 / 19 page ![]() 2023/10/12 10:55 Monochrome OLED Display with Chip Pad https://wiki.dfrobot.com/Monochrome 0.91”128x32 I2C OLED Display Chip Pad SKU: DFR0647 8/19 void setup(void) { u8g2.begin(); //init u8g2.enableUTF8Print(); // Enable UTF8 support for Arduino print ()function. } void loop(void) { /* *The font takes up a lot of memory, so please use it with caution. Get your own Chinese encode for displaying only seve *Display by drawXBM or use controller with larger memory *Chinese Font :require a controller with larger memory than Leonardo *Japanese Font :require a controller with larger memory than UNO *Korean Font :Arduino INO files of the current version do not support for displaying Korean, but it can displayed proper */ u8g2.setFont(u8g2_font_unifont_t_chinese2); //Set all fonts in “ 你好世界” to chinese2 //u8g2.setFont(u8g2_font_b10_t_japanese1); // Japanese 1 includes all fonts in “ こんにちは世界” :Lerning level 1-6 //u8g2.setFont(u8g2_font_unifont_t_korean1); // Korean 1 includes all fonts in “ 안녕하세요세계”:Lerning level 1-2 /*@brief Set font direction of all strings setFontDirection(uint8_t dir) *@param dir=0 ,rotate 0 degree dir=1 ,rotate 90 degrees dir=2 ,rotate 180 degrees dir=3 ,rotate 270 degrees *@param When completed font setting, re-set the cursor position to display normally. Refer to API description for more d */ u8g2.setFontDirection(0); /* * firstPage Change the current page number position to 0 * Revise content in firstPage and nextPage, re-render everything every time * This method consumes less ram space than sendBuffer */ u8g2.firstPage(); do { 8 2 tC (/* */0 /* */15) //D fi th f i t f ti t t f th i t f ti ill t |
|
|
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 |