| поискавой системы для электроныых деталей |
|
104020249 датащи(PDF) 6 Page - Seeed Technology Co.,Ltd. |
|
|
|||||||||||||||||||||||||||||
104020249 датащи(HTML) 6 Page - Seeed Technology Co.,Ltd. |
|
6 / 11 page ![]() 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 } |
|
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |