daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // LED点滅プログラム
  2.  
  3. #define ledPin 2
  4.  
  5. void setup() {
  6.  
  7.   pinMode(ledPin, OUTPUT);
  8.  
  9. }
  10.  
  11. void loop() {
  12.  
  13.     digitalWrite(ledPin, HIGH);
  14.  
  15.     delay(200); //ここと
  16.  
  17.     digitalWrite(ledPin, LOW);
  18.  
  19.     delay(200); //ここを増やすと、点滅が遅くなります。
  20.  
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top