}
void loop() { val = analogRead(analogPin); Serial.print("val = "); Serial.println(val); if (val < 500 and x == 0) { LINE.notify(message); delay(1000); } if (val < 500) { x = 1; } else { x = 0; } delay(1000);
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!