Skip to content

Instantly share code, notes, and snippets.

@vnetb
vnetb / main.cpp
Created June 14, 2025 12:11
デュアルボタンユニット を M5Unified で使う方法?
#include <M5Unified.h>
#include <utility/Button_Class.hpp>
m5::Button_Class _buttons[5];
void setup()
{
auto cfg = M5.config();
M5.begin(cfg);
M5.Log.println("setup");
@vnetb
vnetb / main.cpp
Last active June 9, 2025 09:41
M5UnitUnifiedENV 使い方確認
/*
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
*
* SPDX-License-Identifier: MIT
*/
/*
Example using M5UnitUnified for UnitTVOC and UnitENV3
*/
#include <M5Unified.h>
#include <M5UnitUnified.h>