sTodo-m5paper-client/libraries/M5UnitUnified/examples/Basic/SelfUpdate
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
SelfUpdate.ino first commit 2025-06-30 20:47:33 +02:00

M5UnitUnified example

SelfUpdate

Overview

Here is an example of how to update a unit independently in a separate task.
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 を使用しください。