#include "Arduino.h"; int led = 13;; int main(); {; pinMode(led, OUTPUT);; while(1) ... isPressed;; // 當按鈕按住時進入無窮迴圈; while(digitalRead(btn));; } ...
確定! 回上一頁