This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD | |
* | |
* SPDX-License-Identifier: MIT | |
*/ | |
/* | |
Example using M5UnitUnified for UnitTVOC and UnitENV3 | |
*/ | |
#include <M5Unified.h> | |
#include <M5UnitUnified.h> |