您是說感測器觸發後要Line推撥"1次"嗎? 一定要發生後指定10秒才Line推撥嗎?
除了加入line library之外,基本上您需要旗標和timer.setTimeout,分開寫入練習,再把line、旗標、timer.setTimeout結合在一起即可,下面連結供您參考。
旗標
https://www.lazytomatolab.com/as-09/
Timer
https://playground.arduino.cc/Code/SimpleTimer/
timer1 = timer.setTimeout(10000, lineNotify);
der36 wrote:
大大請問:原本感測器(恕刪)
備註:
blynk全新第2代已上線囉!