| Electronic Components Datasheet Search |
|
DFR0650 Datasheet(PDF) 15 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0650 Datasheet(HTML) 15 Page - DFROBOT |
|
15 / 25 page ![]() 2023/10/12 10:58 DFRobot Monochrome_0.96_128x64_IIC_SPI_OLED_Display_SKU_DFR0650 https://wiki.dfrobot.com/Monochrome_0.96_128x64_IIC_SPI_OLED_Display_SKU_DFR0650 15/25 @param Just connect the DC pin (pins are optional) * */ U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(/* rotation=*/U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // M0/ESP32/ESP8266/mega2560/Uno/Leonard //U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(/* rotation=*/U8G2_R0, /* cs=*/ 10, /* dc=*/ 9); //width:30,height:30 const uint8_t col[] U8X8_PROGMEM= {0x00,0xc0,0x00,0x00,0x00,0xe0,0x01,0x00,0x00,0xe0,0x01,0x00,0x00, 0xc0,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0xe0, 0x01,0x00,0x00,0xf8,0x07,0x00,0x06,0xfe,0x1f,0x18,0x07,0xff,0x3f, 0x38,0xdf,0xff,0xff,0x3e,0xfa,0xff,0xff,0x17,0xf0,0xff,0xff,0x03, 0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0,0xff,0xff,0x01,0xe0, 0xff,0xff,0x01,0x20,0x00,0x00,0x01,0xa0,0xff,0x7f,0x01,0xa0,0x01, 0x60,0x01,0x20,0x07,0x38,0x01,0xe0,0x0c,0xcc,0x01,0xe0,0x39,0xe7, 0x01,0xe0,0xe7,0xf9,0x01,0xc0,0x1f,0xfe,0x00,0x80,0xff,0x7f,0x00, 0x00,0xfe,0x1f,0x00,0x00,0xf8,0x07,0x00,0x00,0xe0,0x01,0x00,0x00, 0xc0,0x00,0x00}; void setup() { u8g2.begin(); u8g2.setFontPosTop();/**When you use drawStr to display strings, the default criteria is to display the lower-left * coordinates of the characters.The function can be understood as changing the coordinate position to the upper left * corner of the display string as the coordinate standard.*/ } void Rotation() { u8g2.setFont(u8g2_font_bracketedbabies_tr ); u8g2.firstPage(); do { u8g2.drawXBMP( /* x=*/0 , /* y=*/0 , /* width=*/30 , /* height=*/30 , col );//Draw an image /*@brief Set the drawing direction of all strings or glyphs setFontDirection(uint8_t dir) *@param dir=0 dir=1, rotate 0° dir=2, rotate 180° dir=3, rotate 270° */ u8g2.setFontDirection(0); u8g2 drawStr( /* x=*/64 /* y=*/32 " DFR"); //Draw a string |
|
|
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 |