1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

(SSD1306)「こんにちは...」を表示して遊ぶ。(M5NanoC6)(M5UnitGLASS2)(M5Unified)

Last updated at Posted at 2024-10-14

(SSD1306)「こんにちは...」を表示して遊ぶ。(M5NanoC6)(M5UnitGLASS2)(M5Unified)

x 過去ログを見よ!!
x M5Unifiedのインストール
x M5UnitGLASS2のインストール

参考

o_coq516.jpg

目的

SSD1306のらびあん様系のツール系を
@nodrin様の記事を元にArduino IDEで実験してみました。

結果

o_coq512.jpg

プログラム


#include <M5UnitGLASS2.h>
#include <M5Unified.h>

// Port.A SDA(G2), SCL(G1)
M5UnitGLASS2 SSD1306Display(2, 1);

void setup() {
  M5.begin();
  SSD1306Display.init();
  SSD1306Display.setFont(&fonts::lgfxJapanGothicP_16);
  SSD1306Display.println("こんにちは世界!!");
  SSD1306Display.setFont(&fonts::FreeMonoBold9pt7b);
  SSD1306Display.println("SSD1306\nGME12864-51");
}

void loop() {
}



1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?