2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【M5Stack Core2】UIFlowでセンサーの値をSDカードに書き込む

Last updated at Posted at 2023-09-10

やったこと

M5Stack Core2 で、光センサーの値をSDカードに書き込む

動作確認済環境

  • UIFlow V1.12.5

必要なもの

IMG_9952.jpeg

ちなみに、M5Stack BASICでは、このセンサーをこのまま接続しただけでは使えません。


手順

ハードウェア > SDCard
(なお、UIFlow V1.7.4 だと 「高度なブロック > SDCard」)

Image from Gyazo

Image from Gyazo

※なぜか、LIGHTユニットのPORTは Bではセンサーは反応せず、 Aにしたら反応した。(なんで?)

実行後、取り出して、PCでcsvファイルを開くと、ちゃんと書き込まれてた。

Image from Gyazo

以上です。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?