Crowtail- LED

From Elecrow
(Difference between revisions)
Jump to: navigation, search
(Description)
(3 intermediate revisions by one user not shown)
Line 13: Line 13:
  
 
== Specification ==
 
== Specification ==
 +
*Dimensions(mm):20.0(L)x20.0(W)x13.0(H)
 +
 
<table border="1" cellspacing="0" width="80%">
 
<table border="1" cellspacing="0" width="80%">
 
<tr>
 
<tr>
Line 36: Line 38:
 
2. Plug it onto the Arduino/Crowduino. Connect the board to PC using USB cable.
 
2. Plug it onto the Arduino/Crowduino. Connect the board to PC using USB cable.
 
   
 
   
[[File:ledcontrol.jpg |600px]]
+
[[File:ledcontro.jpg |600px]]
  
 
3.Copy the demo code to your sketch, then upload to Arduino or Crowduino board.You will see the LED blink every second.
 
3.Copy the demo code to your sketch, then upload to Arduino or Crowduino board.You will see the LED blink every second.

Revision as of 10:13, 13 July 2019

Contents

Description

The Crowtail-LED is designed for the beginners of Arduino. It is the best way to step into the Aduino from it’s I/O pins. The LED is the best choice to help you learn I/O pins.

Model: CT0006LD

Crowtail-LED1.JPG

Features

  • Crowtail compatible interface
  • 3.3V/5V Compatible
  • 8mm LED

Specification

  • Dimensions(mm):20.0(L)x20.0(W)x13.0(H)
Item Description
LED Control Mode Digital Pin of Arduino
Working Voltage 5V
Supply Mode Crowtail Interface

Usage

1. Connect the LED to Base Shield's digital port 5 with 3pin Crowtail Cable.

2. Plug it onto the Arduino/Crowduino. Connect the board to PC using USB cable.

Ledcontro.jpg

3.Copy the demo code to your sketch, then upload to Arduino or Crowduino board.You will see the LED blink every second.

#define LED 5 //connect LED to digital pin5
void setup() {                
 // initialize the digital pin5 as an output.
 pinMode(LED, OUTPUT);     
}

void loop() {
 digitalWrite(LED, HIGH);   // set the LED on
 delay(500);               // for 500ms
 digitalWrite(LED, LOW);   // set the LED off
 delay(500);
}

4.Test result:
LED result1.jpg LED result2.jpg

Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox