x 過去ログを見よ!!!
x M5Unified 0.2.3
x UNIT_GLASS 0.0.1
x M5GFX 0.2.5
x 3.1.2
目的
SSD1306(OLED)に漢字を表示して遊ぶ
いろいろ
なぜかM5NanoC6では、何も表示されない(20250214)、
ESP32 3.0.7にしたら動いた(20250215)
結果
イメージ
プログラム
#include <M5UnitGLASS2.h>
#include <M5Unified.h>
void setup() {
auto cfg=M5.config();
cfg.unit_glass2.pin_sda=13;
cfg.unit_glass2.pin_scl=15;
M5.begin(cfg);
M5.Lcd.setFont(&fonts::lgfxJapanGothicP_16);
M5.Lcd.println("こんにちは世界!!");
M5.Lcd.setFont(&fonts::FreeMonoBold9pt7b);
M5.Lcd.println("SSD1306\nGME12864-51");
}
void loop() {
}