sTodo-m5paper-client/libraries/M5UnitUnified/examples/Basic/Simple
2025-06-30 20:47:33 +02:00
..
main first commit 2025-06-30 20:47:33 +02:00
README.md first commit 2025-06-30 20:47:33 +02:00
Simple.ino first commit 2025-06-30 20:47:33 +02:00

M5UnitUnified example

Simple

Overview

Here is an example of the most standard usage.
The source uses UnitCO2, so if you want to use other units, you will need to modify it accordingly.

ArduinoIDE

Install each unit's library with the library manager.

PlatformIO

For convenience of unit testing, the libraries for each unit are registered in lib_deps.
Use the env of the applicable Core device.


概要

最もスタンダードな使い方の例です。
ソースでは UnitCO2 を使用していますので、他のユニットを使用する場合は適宜変更が必要です。

ArduinoIDE

各ユニットのライブラリをライブラリマネージャでインストールしてください。

PlatformIO

ユニットテストの都合上、各ユニット毎のライブラリは lib_deps に登録されています 該当する Core デバイスの env を使用しください。