Introduction: LED FLASH
- A box (any box that fits to your Arduino board will be fine, highly suggest that the length should be longer than 20cm, and the width should be longer than 12cm.)
- A paper
- LED lights
- Arduino Leonardo
Step 1: Build Up the Device 組裝裝置本體
Connect the positive electrode (the longer end) of the LED light to D Pin.
Connect the negative electrode (the shorter end) of the LED light to the resistor.
Connect a wire from the negative sign(-) to the GND, and another wire from the positive sign(+) to 5V.
Step 2: Prepare Your Box 加工盒子
Use the wire and pull the lightbulb out of the box.
Dig small holes on the box so you can pull the wires out.
Step 3: Copy the Code Below
1. You can change the delay time 改變延遲時間
2. Copy and Paste the code if you add more lightbulb 如果你想要加更多燈泡，將程式複製貼上即可
Step 4: Finish!
It should look like this when you are finished!
Make a small lampshade by paper if you need it.