LoginSignup
1
0

More than 5 years have passed since last update.

GR-ADZUKIでうさぎを光らせてみた #Lチカ #電子工作

Last updated at Posted at 2019-03-09

ぽかぽかお昼寝びよりな3月9日
卒業式シーズンですね、ご卒業される皆さんおめでとうございます

春がきたのでうさぎをパリピっぽく光らせました、うさぎはかわいい🐰(3Dプリンタでまた生えてきてる)
見えないけどピンクのがじぇるねが春っぽい🌸

はんだ付けもちょっとずつ慣れてきて成長してる、といいなぁ

光るうさきばん
41f39075f6824947a388cb5720d4aa88.gif

IMG_2549.JPG

はんだめもめも
IMG_2550.JPG

コードのメモ

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.
 */

// Pin 23 has an green LED connected on most KURUMI boards.
// give it a name:
int led = 3;
int led2 = 2;


// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
 pinMode(led2, OUTPUT);  

}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(70);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(60);               // wait for a second

  digitalWrite(led2, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(80);               // wait for a second
  digitalWrite(led2, LOW);    // turn the LED off by making the voltage LOW
  delay(90);               // wait for a second 
}

うさきばんふやしていきたいな

生えるうさぎ
4d4d28a998c543b2adfbb458e6b764aa 2.gif

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0