数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

104020249 数据表(PDF) 6 Page - Seeed Technology Co.,Ltd.

部件名 104020249
功能描述  Grove - OLED Display 0.96" (SSD1315)
PDF  11 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  SEEEDSTUDIO [Seeed Technology Co.,Ltd.]
网页  https://www.seeedstudio.com/
标志 SEEEDSTUDIO - Seeed Technology Co.,Ltd.

104020249 数据表(HTML) 6 Page - Seeed Technology Co.,Ltd.

Back Button 104020249 Datasheet HTML 2Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 3Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 4Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 5Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 6Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 7Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 8Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 9Page - Seeed Technology Co.,Ltd. 104020249 Datasheet HTML 10Page - Seeed Technology Co.,Ltd. Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 11 page
background image
7/23/22, 9:53 PM
Grove - OLED Display 0.96" (SSD1315) - Seeed Wiki
https://wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315/
6/11
Step 1. Navigate to Sketch -> Include Library -> Manage
Libraries... and Search and Install U8g2 library in the Library
Manager.
Step 2. Open the Arduino IDE and create a new le, then copy
the following code into the new le.
If this is the rst time you work with Arduino, we strongly recommend you
to see Getting Started with Arduino
[https://wiki.seeedstudio.com/Getting_Started_with_Arduino/] before the
start.
1
#include <Arduino.h>
2
#include <U8g2lib.h>
3
4
#ifdef U8X8_HAVE_HW_SPI
5
#include <SPI.h>
6
#endif
7
#ifdef U8X8_HAVE_HW_I2C
8
#include <Wire.h>
9
#endif
10
11
12 U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* cloc
13
14 // U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* c
15
16 void setup(void) {
17
u8g2.begin();
18 }
19
20 void loop(void) {
21
u8g2.clearBuffer();
// clear the inte
22
u8g2.setFont(u8g2_font_ncenB08_tr);
// choose a suita
23
u8g2.drawStr(0,10,"Hello World!");
// write somethin
24
u8g2.sendBuffer();
// transfer inter
25
delay(1000);
26 }



Html Pages

1 2 3 4 5 6 7 8 9 10 11


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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