x 過去ログを見よ!!!
x M5Unified 0.2.3
x UNIT_GLASS 0.0.1
x M5GFX 0.2.5
x ESP32 3.0.7
x M5Satck_Avatar 0.10.0
x なぜかNanoC6を抜いて挿したら動いた
x ESP32 3.0.7にダウンバージョンしたら動いた。
x M5NanoC6 は、 M5Stack NanoC6 , NanoC6 , M5NanoC6 , M5 NanoC6 , M5Nano C6 の事
目的
スタックチャンで遊ぶ。
いろいろ
理系フリマ
結果
プログラム
#include <M5UnitGLASS2.h>
#include <M5Unified.h>
#include <Avatar.h>
m5avatar::Avatar avatar;
void setup() {
auto cfg=M5.config();
cfg.unit_glass2.pin_sda=2;
cfg.unit_glass2.pin_scl=1;
M5.begin(cfg);
//M5.Lcd.setFont(&fonts::lgfxJapanGothicP_16);
//M5.Lcd.println("こんにちは世界!!");
//M5.Lcd.setFont(&fonts::FreeMonoBold9pt7b);
//M5.Lcd.println("SSD1306\nGME12864-51");
avatar.setScale(.3);
avatar.setPosition(-88,-96);
avatar.init();
}
void loop() {
}