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?

M5NanoC6でアバター(Avatar.h)で遊ぶ。(スタックチャン)「スタックチャンフェス

Last updated at Posted at 2025-02-14

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 の事

目的
スタックチャンで遊ぶ。

いろいろ
理系フリマ

結果

image_original(4).jpg

プログラム



#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() {
}



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?