Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <M5Unified.h> // M5Unifiedライブラリを使用可能にします。
- void setup() {
- // M5Stack初期設定用の構造体を代入
- auto cfg = M5.config();
- M5.begin(cfg); // M5デバイスの初期化
- Serial.begin(460800); // シリアル通信の初期化
- setCpuFrequencyMhz(80); // CPUの動作周波数を80MHzに設定
- // Serial.println("Start");
- }
- void loop() {
- delay(1);
- }
Advertisement
Add Comment
Please, Sign In to add comment