Electronic Components Datasheet Search
  English  ▼

X  

DFR0647 Datasheet(PDF) 13 Page - DFROBOT

Part # DFR0647
Description  Monochrome OLED Display
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  DFROBOT [DFROBOT]
Direct Link  https://www.dfrobot.com/
Logo DFROBOT - DFROBOT

DFR0647 Datasheet(HTML) 13 Page - DFROBOT

Back Button DFR0647 Datasheet HTML 9Page - DFROBOT DFR0647 Datasheet HTML 10Page - DFROBOT DFR0647 Datasheet HTML 11Page - DFROBOT DFR0647 Datasheet HTML 12Page - DFROBOT DFR0647 Datasheet HTML 13Page - DFROBOT DFR0647 Datasheet HTML 14Page - DFROBOT DFR0647 Datasheet HTML 15Page - DFROBOT DFR0647 Datasheet HTML 16Page - DFROBOT DFR0647 Datasheet HTML 17Page - DFROBOT Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 19 page
background image
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
13/19
* Draw solid triangles and hollow triangles
*/
void u8g2_triangle(uint8_t a) {
uint16_t offset = a;
u8g2.drawStr( 0, 0, "drawTriangle");
u8g2.drawTriangle(14,7, 45,30, 10,40);
//Draw a triangle (solid polygon). (Argument is triangle three vertex coordinates
u8g2.drawTriangle(14+offset,7-offset, 45+offset,30-offset, 57+offset,10-offset);
u8g2.drawTriangle(57+offset*2,10, 45+offset*2,30, 86+offset*2,53);
u8g2.drawTriangle(10+offset,40+offset, 45+offset,30+offset, 86+offset,53+offset);
}
/*
* Show characters in the ASCII code table
*/
void u8g2_ascii_1() {
char s[2] = " ";
uint8_t x, y;
u8g2.drawStr( 0, 0, "ASCII page 1");
for( y = 0; y < 2; y++ ) {
for( x = 0; x < 16; x++ ) {
s[0] = y*16 + x + 32;
u8g2.drawStr(x*7, y*10+10, s);
}
}
}
void u8g2_ascii_2() {
char s[2] = " ";
uint8_t x, y;
u8g2.drawStr( 0, 0, "ASCII page 2");
for( y = 0; y < 2; y++ ) {
for( x = 0; x < 16; x++ ) {
s[0] = y*16 + x + 160;
u8g2.drawStr(x*7, y*10+10, s);
}
}
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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