<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.myows.top/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=178.197.194.173&amp;*</id>
	<title> - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.myows.top/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=178.197.194.173&amp;*"/>
	<link rel="alternate" type="text/html" href="https://wiki.myows.top/index.php?title=Special:Contributions/178.197.194.173"/>
	<updated>2026-05-13T22:25:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.myows.top/index.php?title=U8g2_for_Seeeduino_boards&amp;diff=1353</id>
		<title>U8g2 for Seeeduino boards</title>
		<link rel="alternate" type="text/html" href="https://wiki.myows.top/index.php?title=U8g2_for_Seeeduino_boards&amp;diff=1353"/>
		<updated>2025-08-31T13:25:18Z</updated>

		<summary type="html">&lt;p&gt;178.197.194.173: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== U8g2 for Seeeduino boards ==&lt;br /&gt;
&lt;br /&gt;
=== Setup ===&lt;br /&gt;
&lt;br /&gt;
Pour installer la Bibliothèque&amp;lt;br&amp;gt;&lt;br /&gt;
Open the Library Manager (Sketch &amp;gt; Include Library &amp;gt; manage Libraries…)&amp;lt;br&amp;gt;&lt;br /&gt;
Taper &amp;lt;b&amp;gt;u8g2&amp;lt;/b&amp;gt;&lt;br /&gt;
Choisir &amp;lt;b&amp;gt;By oliver&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Code 1 ===&lt;br /&gt;
&lt;br /&gt;
On va afficher la phase &amp;quot;&amp;lt;b&amp;gt;Hello World!&amp;lt;/b&amp;gt;&amp;quot;&lt;br /&gt;
sur 4 lignes, avec un police de caractères différente à chaque ligne&lt;br /&gt;
et sur la 5eme ligne on affiche un symbole.&lt;br /&gt;
&lt;br /&gt;
https://www.seeedstudio.com/blog/2019/07/05/u8g2-for-seeeduino-boards/ &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Grove Base for XIAO 1.PNG|200px]]&lt;br /&gt;
[[File:XIAO RA4M1 4.PNG|125px]]&lt;br /&gt;
[[File:OLED Display 96x96 recto.jpg|150px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Grove Base for XIAO&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
XIAO-RA4M1 &amp;lt;br&amp;gt;&lt;br /&gt;
Grove - OLED Display 1.12 inches (&amp;lt;b&amp;gt;Port I2c&amp;lt;/b&amp;gt;) &amp;lt;br&amp;gt;&lt;br /&gt;
(Pilote SH1107G) (128 × 128 pixels) &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino.h&amp;gt;&lt;br /&gt;
#include &amp;lt;U8g2lib.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U8G2_SH1107_SEEED_128X128_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);&lt;br /&gt;
&lt;br /&gt;
void setup(void) {&lt;br /&gt;
  u8g2.begin();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(void) {&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  u8g2.setFont(u8g2_font_ncenB08_tr); // choose a suitable font&lt;br /&gt;
  u8g2.drawStr(0,10,&amp;quot;Hello World!&amp;quot;);  // write something to the internal memory&lt;br /&gt;
  u8g2.setFont(u8g2_font_ncenB18_tr); // choose a suitable font&lt;br /&gt;
  u8g2.drawStr(0,40,&amp;quot;Hello World!&amp;quot;);  // write something to the internal memory&lt;br /&gt;
  u8g2.setFont(u8g2_font_pieceofcake_mel_tr); // choose a suitable font&lt;br /&gt;
  u8g2.drawStr(0,60,&amp;quot;Hello World!&amp;quot;);  // write something to the internal memory&lt;br /&gt;
  u8g2.setCursor(40, 80);&lt;br /&gt;
  u8g2.setFont(u8g2_font_ncenB08_tr); // choose a suitable font&lt;br /&gt;
  u8g2.print(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
   u8g2.setFont(u8g2_font_unifont_t_symbols);&lt;br /&gt;
  u8g2.drawGlyph(40, 100, 0x2603);&lt;br /&gt;
  u8g2.sendBuffer();          // transfer internal memory to the display&lt;br /&gt;
  delay(1000);  &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Code 2 ===&lt;br /&gt;
&lt;br /&gt;
Ce code permet d’afficher le logo de Seeed Studio&lt;br /&gt;
&lt;br /&gt;
Pour plus d’information voir l’article de Elaine Wu &lt;br /&gt;
&lt;br /&gt;
https://www.seeedstudio.com/blog/2019/07/05/u8g2-for-seeeduino-boards/ &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Grove Base for XIAO 1.PNG|200px]]&lt;br /&gt;
[[File:XIAO RA4M1 4.PNG|125px]]&lt;br /&gt;
[[File:OLED Display 96x96 recto.jpg|150px]] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Grove Base for XIAO&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
XIAO-RA4M1 &amp;lt;br&amp;gt;&lt;br /&gt;
Grove - OLED Display 1.12 inches (&amp;lt;b&amp;gt;Port I2c&amp;lt;/b&amp;gt;) &amp;lt;br&amp;gt;&lt;br /&gt;
(Pilote SH1107G) (128 × 128 pixels) &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino.h&amp;gt;&lt;br /&gt;
#include &amp;lt;U8g2lib.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U8G2_SH1107_SEEED_128X128_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);&lt;br /&gt;
&lt;br /&gt;
static const unsigned char logo_2018_horizontal_bits[] = {&lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0x02, 0x00, 0xC0, 0x40, 0x00, &lt;br /&gt;
  0x00, 0x80, 0x02, 0x80, 0x00, 0x40, 0x00, 0x80, 0x00, 0x00, 0x38, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x80, 0x00, 0x00, 0xE0, 0x0F, 0xF8, 0x07, 0xF8, 0x07, 0xF8, &lt;br /&gt;
  0x07, 0xF0, 0x39, 0x00, 0x00, 0x60, 0x00, 0x01, 0x00, 0xF0, 0x3F, 0xFC, &lt;br /&gt;
  0x0F, 0xFC, 0x0F, 0xFC, 0x0F, 0xFC, 0x3B, 0x00, 0x00, 0x20, 0x80, 0x02, &lt;br /&gt;
  0x00, 0x38, 0x18, 0x3E, 0x1E, 0x3E, 0x1E, 0x3E, 0x1F, 0xFE, 0x3F, 0x00, &lt;br /&gt;
  0x00, 0x10, 0x00, 0x00, 0x00, 0x38, 0x00, 0x0E, 0x3C, 0x0F, 0x3C, 0x0F, &lt;br /&gt;
  0x3C, 0x1F, 0x3F, 0x00, 0x00, 0x10, 0x00, 0x01, 0x04, 0x78, 0x00, 0x0F, &lt;br /&gt;
  0x38, 0x0F, 0x38, 0x0F, 0x38, 0x0F, 0x3C, 0x00, 0x00, 0x28, 0x00, 0x06, &lt;br /&gt;
  0x00, 0xF8, 0x07, 0xEF, 0x3F, 0xDF, 0x3F, 0xF7, 0x3F, 0x07, 0x3C, 0x02, &lt;br /&gt;
  0x10, 0x28, 0x00, 0x04, 0x04, 0xF0, 0x1F, 0xFF, 0x3F, 0xFF, 0x3F, 0xFF, &lt;br /&gt;
  0xBF, 0x07, 0x38, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0xC0, 0x3F, 0xFF, &lt;br /&gt;
  0x7F, 0xFF, 0x7F, 0xFF, 0xBF, 0x07, 0x3C, 0x08, 0x18, 0x10, 0x00, 0x06, &lt;br /&gt;
  0x02, 0x00, 0x38, 0x0F, 0x00, 0x07, 0x00, 0x07, 0x00, 0x07, 0x3C, 0x00, &lt;br /&gt;
  0x00, 0x28, 0x00, 0x00, 0x04, 0x00, 0x78, 0x0F, 0x00, 0x0F, 0x00, 0x0F, &lt;br /&gt;
  0x00, 0x0F, 0x3C, 0x00, 0x20, 0x10, 0x00, 0x06, 0x04, 0x38, 0x38, 0x1E, &lt;br /&gt;
  0x0C, 0x1E, 0x0C, 0x1E, 0x0C, 0x1F, 0x3F, 0x04, 0x18, 0x28, 0x00, 0x01, &lt;br /&gt;
  0x01, 0xF8, 0x3F, 0xFC, 0x1F, 0xFC, 0x1F, 0xFC, 0x1F, 0xFE, 0x3F, 0x00, &lt;br /&gt;
  0x00, 0x20, 0x00, 0x04, 0x02, 0xF8, 0x1F, 0xF8, 0x0F, 0xF8, 0x0F, 0xF8, &lt;br /&gt;
  0x1F, 0xFC, 0x3B, 0x01, 0x60, 0x10, 0x00, 0x82, 0x02, 0xC0, 0x07, 0xE0, &lt;br /&gt;
  0x03, 0xE0, 0x03, 0xE0, 0x03, 0xF0, 0x39, 0x00, 0x40, 0x20, 0x00, 0x42, &lt;br /&gt;
  0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0xA0, 0x60, 0x80, 0x40, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x40, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0x80, 0xB0, &lt;br /&gt;
  0x00, 0x58, 0x80, 0x60, 0x10, 0x40, 0x00, 0x00, 0x03, 0x88, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x02, 0x00, 0x48, 0x00, 0xD8, 0x88, 0x64, 0x14, 0x40, 0x00, 0x10, &lt;br /&gt;
  0x21, 0x88, 0x00, 0x00, 0x00, 0x09, 0x20, 0x28, 0x00, 0x98, 0x95, 0x2A, &lt;br /&gt;
  0xDE, 0x7D, 0xDD, 0x2E, 0x7B, 0xBB, 0x36, 0x00, 0x00, 0x04, 0x00, 0x04, &lt;br /&gt;
  0x00, 0x50, 0x9F, 0x2A, 0xD6, 0x57, 0xAD, 0x3A, 0x91, 0xAB, 0x17, 0x00, &lt;br /&gt;
  0x00, 0x50, 0x80, 0x02, 0x00, 0x50, 0x99, 0x6E, 0xD4, 0x75, 0xEF, 0x1A, &lt;br /&gt;
  0xAF, 0xBB, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, &lt;br /&gt;
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, };&lt;br /&gt;
&lt;br /&gt;
void setup(void) {&lt;br /&gt;
  u8g2.begin();&lt;br /&gt;
  Serial.begin(115200);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(void) {&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  u8g2.drawXBM(0,0, 128, 32, logo_2018_horizontal_bits);&lt;br /&gt;
  u8g2.sendBuffer();          // transfer internal memory to the display&lt;br /&gt;
  //Serial.println(sizeof(ironman_bits));&lt;br /&gt;
  Serial.println(&amp;quot;work&amp;quot;);&lt;br /&gt;
  delay(1000);  &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Code 3 ===&lt;br /&gt;
&lt;br /&gt;
C’est une démo complète avec des courbes, des carrés, etc.&lt;br /&gt;
&lt;br /&gt;
https://www.seeedstudio.com/blog/2019/07/05/u8g2-for-seeeduino-boards/&lt;br /&gt;
&lt;br /&gt;
[[File:Grove Base for XIAO 1.PNG|200px]]&lt;br /&gt;
[[File:XIAO RA4M1 4.PNG|125px]]&lt;br /&gt;
[[File:OLED Display 96x96 recto.jpg|150px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Grove Base for XIAO&amp;lt;/b&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
XIAO-RA4M1 &amp;lt;br&amp;gt;&lt;br /&gt;
Grove - OLED Display 1.12 inches (&amp;lt;b&amp;gt;Port I2c&amp;lt;/b&amp;gt;) &amp;lt;br&amp;gt;&lt;br /&gt;
(Pilote SH1107G) (128 × 128 pixels) &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino.h&amp;gt;&lt;br /&gt;
#include &amp;lt;U8g2lib.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U8G2_SH1107_SEEED_128X128_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);&lt;br /&gt;
&lt;br /&gt;
void setup(void) {&lt;br /&gt;
  u8g2.begin();  // start a display.&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//&lt;br /&gt;
void drawPixels()&lt;br /&gt;
{&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  for(int i = 0; i &amp;lt; 100; i++){&lt;br /&gt;
    // generate 100 points randomly&lt;br /&gt;
    u8g2.drawPixel(random(128), random(128));&lt;br /&gt;
    u8g2.sendBuffer();&lt;br /&gt;
    delay(5);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void drawLines()&lt;br /&gt;
{&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  u8g2.drawLine(0,0, u8g2.getDisplayWidth(), u8g2.getDisplayHeight());&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawLine(u8g2.getDisplayWidth(),0, 0, u8g2.getDisplayHeight());&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawLine(0, u8g2.getDisplayHeight()/2, u8g2.getDisplayWidth(), u8g2.getDisplayHeight()/2);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawLine(u8g2.getDisplayWidth()/2,0, u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight());&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void drawBoxes()&lt;br /&gt;
{&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  u8g2.drawBox(0, 0, u8g2.getDisplayWidth()/2-5,u8g2.getDisplayHeight()/2-5);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawBox(0, u8g2.getDisplayHeight()/2+5, u8g2.getDisplayWidth()/2-5,u8g2.getDisplayHeight());&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawBox(u8g2.getDisplayWidth()/2+5, u8g2.getDisplayHeight()/2+5, u8g2.getDisplayWidth(),u8g2.getDisplayHeight());&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawBox(u8g2.getDisplayWidth()/2+5, 0, u8g2.getDisplayWidth(),u8g2.getDisplayHeight()/2-5);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void drawFrames()&lt;br /&gt;
{&lt;br /&gt;
  u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
  u8g2.drawFrame(u8g2.getDisplayWidth()/2-10, u8g2.getDisplayHeight()/2-10, 20, 20);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawFrame(u8g2.getDisplayWidth()/2-20, u8g2.getDisplayHeight()/2-20, 40, 40);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawFrame(u8g2.getDisplayWidth()/2-30, u8g2.getDisplayHeight()/2-30, 60, 60);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawFrame(u8g2.getDisplayWidth()/2-40, u8g2.getDisplayHeight()/2-40, 80, 80);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
  delay(1000);&lt;br /&gt;
  u8g2.drawFrame(u8g2.getDisplayWidth()/2-50, u8g2.getDisplayHeight()/2-50, 100, 100);&lt;br /&gt;
  u8g2.sendBuffer();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void drawCircles()&lt;br /&gt;
{&lt;br /&gt;
   u8g2.clearBuffer();          // clear the internal memory&lt;br /&gt;
   u8g2.drawCircle(u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight()/2, 30, U8G2_DRAW_UPPER_RIGHT);&lt;br /&gt;
   u8g2.sendBuffer();&lt;br /&gt;
   delay(1000);&lt;br /&gt;
   u8g2.drawCircle(u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight()/2, 30, U8G2_DRAW_UPPER_LEFT);&lt;br /&gt;
   u8g2.sendBuffer();&lt;br /&gt;
   delay(1000);&lt;br /&gt;
   u8g2.drawCircle(u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight()/2, 30, U8G2_DRAW_LOWER_LEFT);&lt;br /&gt;
   u8g2.sendBuffer();&lt;br /&gt;
   delay(1000);&lt;br /&gt;
   u8g2.drawCircle(u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight()/2, 30, U8G2_DRAW_LOWER_RIGHT);&lt;br /&gt;
   u8g2.sendBuffer();&lt;br /&gt;
   delay(1000);&lt;br /&gt;
   u8g2.drawCircle(u8g2.getDisplayWidth()/2, u8g2.getDisplayHeight()/2, 50, U8G2_DRAW_ALL);&lt;br /&gt;
   u8g2.sendBuffer();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(void) {&lt;br /&gt;
&lt;br /&gt;
  drawPixels();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  drawLines();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  drawFrames();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  drawCircles();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
  drawBoxes();&lt;br /&gt;
  delay(2000);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.197.194.173</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.myows.top/index.php?title=OLED_Display_0.96_(SSD1315)&amp;diff=1352</id>
		<title>OLED Display 0.96 (SSD1315)</title>
		<link rel="alternate" type="text/html" href="https://wiki.myows.top/index.php?title=OLED_Display_0.96_(SSD1315)&amp;diff=1352"/>
		<updated>2025-08-31T10:45:33Z</updated>

		<summary type="html">&lt;p&gt;178.197.194.173: /* Communication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Grove - OLED Display 0.96 (SSD1315) inches (Seeed-Studio) ==&lt;br /&gt;
&lt;br /&gt;
=== Caractéristiques ===&lt;br /&gt;
Dot Matrix 128×64&lt;br /&gt;
Monochrome(white)&amp;lt;br&amp;gt;&lt;br /&gt;
3.3V/5V compatible&lt;br /&gt;
&lt;br /&gt;
=== Communication ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;I2C&amp;lt;/b&amp;gt; : Adresse &amp;#039;&amp;#039;&amp;#039;0x3C&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Si votre carte est ATmega328, comme Seeeduino V4.2 et Arduino UNO, vous devez passer à &amp;lt;b&amp;gt;soft I2C&amp;lt;/b&amp;gt; lorsque vous utilisez la bibliothèque &amp;lt;b&amp;gt;U8G2&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ceci n&amp;#039;est pas nécessaire si vous utilisez une carte de développement SAMD.&lt;br /&gt;
&lt;br /&gt;
=== Images ===&lt;br /&gt;
[[File:OLED-Display-0-96-SSD1315.png |300px]]&lt;br /&gt;
&lt;br /&gt;
=== Tableau ===&lt;br /&gt;
{| class=&amp;quot;wikitable centre&amp;quot; width=&amp;quot;250&amp;quot;&lt;br /&gt;
|+ Seeed-Studio&lt;br /&gt;
|-&lt;br /&gt;
! scope=col | Seeeduino&lt;br /&gt;
! scope=col | Sensor&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
5V&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Red&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
GND&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Black&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
SDA&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
White&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
SCL&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Yellow&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
Grove - OLED Display 0.96 inches -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Drivers ===&lt;br /&gt;
SSD1315 chip&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Voltage ===&lt;br /&gt;
3.3 ~ 5.5V&lt;br /&gt;
&lt;br /&gt;
==== Liens externes ====&lt;br /&gt;
[https://www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html] &amp;lt;font color=red&amp;gt;shop&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315] &amp;lt;font color=red&amp;gt;wiki&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Code Hello World ! ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino.h&amp;gt;&lt;br /&gt;
#include &amp;lt;U8x8lib.h&amp;gt;&lt;br /&gt;
#include &amp;lt;Wire.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // OLEDs without Reset of the Display&lt;br /&gt;
&lt;br /&gt;
void setup(void) {&lt;br /&gt;
  u8x8.begin();&lt;br /&gt;
  u8x8.setFlipMode(1);   // set number from 1 to 3, the screen word will rotary 180&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(void) {&lt;br /&gt;
  u8x8.setFont(u8x8_font_chroma48medium8_r);&lt;br /&gt;
  u8x8.setCursor(0, 0);&lt;br /&gt;
  u8x8.print(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.197.194.173</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.myows.top/index.php?title=OLED_Display_0.96_(SSD1315)&amp;diff=1351</id>
		<title>OLED Display 0.96 (SSD1315)</title>
		<link rel="alternate" type="text/html" href="https://wiki.myows.top/index.php?title=OLED_Display_0.96_(SSD1315)&amp;diff=1351"/>
		<updated>2025-08-31T10:45:09Z</updated>

		<summary type="html">&lt;p&gt;178.197.194.173: /* Communication */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Grove - OLED Display 0.96 (SSD1315) inches (Seeed-Studio) ==&lt;br /&gt;
&lt;br /&gt;
=== Caractéristiques ===&lt;br /&gt;
Dot Matrix 128×64&lt;br /&gt;
Monochrome(white)&amp;lt;br&amp;gt;&lt;br /&gt;
3.3V/5V compatible&lt;br /&gt;
&lt;br /&gt;
=== Communication ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;I2C&amp;lt;/b&amp;gt; : Adresse &amp;#039;&amp;#039;&amp;#039;0x3C&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
If your board is ATmega328, such as Seeeduino V4.2 and Arduino UNO, you need to change to soft I2C when using the U8G2 library.This is not required if you are using a SAMD development board.&lt;br /&gt;
&lt;br /&gt;
Si votre carte est ATmega328, comme Seeeduino V4.2 et Arduino UNO, vous devez passer à &amp;lt;b&amp;gt;soft I2C&amp;lt;/b&amp;gt; lorsque vous utilisez la bibliothèque &amp;lt;b&amp;gt;U8G2&amp;lt;/b&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Ceci n&amp;#039;est pas nécessaire si vous utilisez une carte de développement SAMD.&lt;br /&gt;
&lt;br /&gt;
=== Images ===&lt;br /&gt;
[[File:OLED-Display-0-96-SSD1315.png |300px]]&lt;br /&gt;
&lt;br /&gt;
=== Tableau ===&lt;br /&gt;
{| class=&amp;quot;wikitable centre&amp;quot; width=&amp;quot;250&amp;quot;&lt;br /&gt;
|+ Seeed-Studio&lt;br /&gt;
|-&lt;br /&gt;
! scope=col | Seeeduino&lt;br /&gt;
! scope=col | Sensor&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
5V&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Red&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
GND&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Black&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
SDA&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
White&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;33%&amp;quot; |&lt;br /&gt;
SCL&lt;br /&gt;
| width=&amp;quot;34%&amp;quot; |&lt;br /&gt;
Yellow&lt;br /&gt;
|-&lt;br /&gt;
| align=&amp;quot;center&amp;quot; colspan=&amp;quot;3&amp;quot; |&lt;br /&gt;
Grove - OLED Display 0.96 inches -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Drivers ===&lt;br /&gt;
SSD1315 chip&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Voltage ===&lt;br /&gt;
3.3 ~ 5.5V&lt;br /&gt;
&lt;br /&gt;
==== Liens externes ====&lt;br /&gt;
[https://www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html] &amp;lt;font color=red&amp;gt;shop&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315] &amp;lt;font color=red&amp;gt;wiki&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Code Hello World ! ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino.h&amp;gt;&lt;br /&gt;
#include &amp;lt;U8x8lib.h&amp;gt;&lt;br /&gt;
#include &amp;lt;Wire.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // OLEDs without Reset of the Display&lt;br /&gt;
&lt;br /&gt;
void setup(void) {&lt;br /&gt;
  u8x8.begin();&lt;br /&gt;
  u8x8.setFlipMode(1);   // set number from 1 to 3, the screen word will rotary 180&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop(void) {&lt;br /&gt;
  u8x8.setFont(u8x8_font_chroma48medium8_r);&lt;br /&gt;
  u8x8.setCursor(0, 0);&lt;br /&gt;
  u8x8.print(&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.197.194.173</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.myows.top/index.php?title=IPS_Display_1.22_inch&amp;diff=1350</id>
		<title>IPS Display 1.22 inch</title>
		<link rel="alternate" type="text/html" href="https://wiki.myows.top/index.php?title=IPS_Display_1.22_inch&amp;diff=1350"/>
		<updated>2025-08-31T10:40:34Z</updated>

		<summary type="html">&lt;p&gt;178.197.194.173: /* Caractéristiques */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Grove - IPS Display 1.22 inch (Seeed-Studio) ==&lt;br /&gt;
&lt;br /&gt;
=== Caractéristiques ===&lt;br /&gt;
&lt;br /&gt;
RGB OLED Display 1.22&amp;#039;&amp;#039; &amp;lt;ST7789&amp;gt; v1.0&amp;lt;br&amp;gt;&lt;br /&gt;
écran à cristaux liquides de 1,2 pouce&amp;lt;br&amp;gt;&lt;br /&gt;
240 x 240 pixels&amp;lt;br&amp;gt;&lt;br /&gt;
l&amp;#039;écran peut afficher jusqu&amp;#039;à 65 000 couleurs RGB &amp;lt;br&amp;gt;&lt;br /&gt;
3.3V or 5V&amp;lt;br&amp;gt;&lt;br /&gt;
l&amp;#039;écran utilise le ST7789 comme circuit intégré de pilotage&amp;lt;br&amp;gt;&lt;br /&gt;
l&amp;#039;écran utilise la technologie IPS. Quel que soit l&amp;#039;angle de vue, l&amp;#039;expérience visuelle est quasiment identique sous tous les angles.&lt;br /&gt;
&lt;br /&gt;
[[File:1.22 Inch IPS Display 1.PNG|350px]]&lt;br /&gt;
[[File:1.22 Inch IPS Display 2.PNG|250px]]&lt;br /&gt;
&lt;br /&gt;
[[File:1.22 Inch IPS Display 3.PNG|350px]]&lt;br /&gt;
&lt;br /&gt;
Sa bibliothèque de pilotes open source et son code d&amp;#039;exemple facilitent la prise en main&lt;br /&gt;
&lt;br /&gt;
=== Communication ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;D7&amp;lt;/b&amp;gt; (D7/D8) port&lt;br /&gt;
&lt;br /&gt;
==== Liens externes ====&lt;br /&gt;
&lt;br /&gt;
[https://www.seeedstudio.com/Grove-1-2-Inch-IPS-Display-p-5699.html https://www.seeedstudio.com/Grove-1-2-Inch-IPS-Display-p-5699.html]&amp;amp;nbsp; &amp;lt;font color =red&amp;gt;shop&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[https://wiki.seeedstudio.com/grove_1.2inch_ips_display/ wiki.seeedstudio.com/grove_1.2inch]&amp;amp;nbsp; &amp;lt;font color =red&amp;gt;wiki&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Bibliothèques ====&lt;br /&gt;
&lt;br /&gt;
https://github.com/adafruit/Adafruit-GFX-Library&amp;lt;br&amp;gt;&lt;br /&gt;
https://github.com/adafruit/Adafruit_BusIO&amp;lt;br&amp;gt;&lt;br /&gt;
https://github.com/limengdu/Arduino_ST7789_Fast/tree/master&lt;br /&gt;
&lt;br /&gt;
La librairie a été mis à jours, aout 2025, veuillez réinstaller la bibliothèque en cas de problème&lt;br /&gt;
&lt;br /&gt;
==== Code ====&lt;br /&gt;
&lt;br /&gt;
[[File:UNO v3 front angle.jpg|75px]]&lt;br /&gt;
[[File:Base Shield V2 recto plat.jpg|75px]]&lt;br /&gt;
[[File:1.22 Inch IPS Display 1.PNG|75px]]&lt;br /&gt;
&lt;br /&gt;
Arduino IDE 2.3.6&amp;lt;br&amp;gt;&lt;br /&gt;
Arduino UNO&amp;lt;br&amp;gt;&lt;br /&gt;
Base Shield (5 Volts)&amp;lt;br&amp;gt;&lt;br /&gt;
Grove-1.2 Inch IPS Display (Port &amp;lt;b&amp;gt;D7&amp;lt;/b&amp;gt;)&amp;lt;br&amp;gt; ici OK&lt;br /&gt;
&lt;br /&gt;
Testé sur D8, ici rien aucun affichage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Adafruit_GFX.h&amp;gt;&lt;br /&gt;
#include &amp;lt;Arduino_ST7789_Fast.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define SCK   7&lt;br /&gt;
#define SDA   8&lt;br /&gt;
&lt;br /&gt;
Arduino_ST7789 lcd = Arduino_ST7789(SCK, SDA);&lt;br /&gt;
&lt;br /&gt;
void setup(void)&lt;br /&gt;
{&lt;br /&gt;
    lcd.init();&lt;br /&gt;
    lcd.fillScreen(BLACK);&lt;br /&gt;
&lt;br /&gt;
    lcd.setCursor(0, 0);&lt;br /&gt;
    lcd.setTextColor(RED,BLACK);&lt;br /&gt;
    lcd.setTextSize(3);&lt;br /&gt;
    lcd.println(&amp;quot;HELLO WORLD&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
void loop()&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://github.com/adafruit/Adafruit-ST7735-Library/tree/master&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;Adafruit_GFX.h&amp;gt; // graphics library&lt;br /&gt;
#include &amp;lt;Adafruit_ST7789.h&amp;gt; // library for this display&lt;br /&gt;
#include &amp;lt;SPI.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define TFT_CS 7 // if your display has CS pin&lt;br /&gt;
#define TFT_DC 8  // data pin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#define TFT_RST -1 // reset pin&lt;br /&gt;
&lt;br /&gt;
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);&lt;br /&gt;
&lt;br /&gt;
void setup() {&lt;br /&gt;
  tft.init(240, 240, SPI_MODE2); &lt;br /&gt;
  tft.setRotation(2); // rotates the screen&lt;br /&gt;
  tft.fillScreen(ST77XX_BLACK); // fills the screen with black colour&lt;br /&gt;
  tft.setCursor(10, 10); // starts to write text at y10 x10&lt;br /&gt;
  tft.setTextColor(ST77XX_WHITE); // text colour to white you can use hex codes like 0xDAB420 too&lt;br /&gt;
  tft.setTextSize(3); // sets font size&lt;br /&gt;
  tft.setTextWrap(true);&lt;br /&gt;
  tft.print(&amp;quot;HELLO WORLD!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
void loop() {&lt;br /&gt;
  &lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>178.197.194.173</name></author>
		
	</entry>
</feed>