質問編集履歴

1

一切関係ないところを編集しました

2022/08/26 03:55

投稿

Bbee7358
Bbee7358

スコア11

test CHANGED
File without changes
test CHANGED
@@ -113,14 +113,16 @@
113
113
  }
114
114
  else if(a == 20) //集めたデータを表示
115
115
  {
116
+ for(int i=0; i<=1000; i++)
117
+ {
116
- Serial.println(pd_value[i]);
118
+ Serial.println(pd_value[i]);
119
+ };
117
120
  a = 30;
118
121
  }
119
122
  else if(a == 30)
120
123
  {
121
124
  if(digitalRead(ta_switch) == LOW)
122
125
  {
123
- k = 0; //リセット
124
126
  a = 20; //計測データをみる
125
127
  };
126
128
  }