Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

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

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
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?