Pcratch IoT デバイスに boot.py と言う名前のファイルを作成し、以下のコードをコピペしてください。
Capacitive Soil Moisture Sensor(静電容量式土壌水分センサ)とPcratch IoT を以下のように接続します。
センサ Pcratch IoT
黒 ---------- ー
黄 ---------- A1
赤 ---------- +
https://github.com/jcodeorg/pcratch-iot/blob/main/plantmini/growlogmini.py
※動作には、Googleスプレッドシートと wifi_config.txt ファイルの用意が必要です。