Crowtail- LED

From Elecrow
(Difference between revisions)
Jump to: navigation, search
(One intermediate revision by one user not shown)
Line 55: Line 55:
  
 
4.Test result:<br>
 
4.Test result:<br>
βˆ’
[[File:LED result1.jpg |500px]]  [[File:LED result2.jpg |500px]]
+
[[File:LED result11.jpg |500px]]  [[File:LED result22.jpg |500px]]
 
== Resource  ==
 
== Resource  ==
  
 
*[http://www.elecrow.com/wiki/index.php?title=File:LED.zip LED Program]
 
*[http://www.elecrow.com/wiki/index.php?title=File:LED.zip LED Program]
 
*[http://www.elecrow.com/wiki/index.php?title=File:Crowtail-LED_v1.1.zip Crowtail_LED_eagle_files]
 
*[http://www.elecrow.com/wiki/index.php?title=File:Crowtail-LED_v1.1.zip Crowtail_LED_eagle_files]

Revision as of 10:16, 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 result11.jpg LED result22.jpg

Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox