5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Arduino Project: White LED Module

Posted by Fiona Su on

thumb

Introduction 

This LED light module has a shiny color, ideal for Arduino starters. It can be easily connected to IO/Sensor shield.

Specification 

  • Type: Digital
  • PH2.54 socket
  • White LED module
  • Enables interaction with light-related works
  • Size: 30*20mm
  • Weight: 3g

Connection Diagram

thumb

Sample Code

int led = 3;
 void setup()
{
  pinMode(led, OUTPUT);     //Set Pin3 as output
}
void loop()
{
          digitalWrite(led, HIGH);   //Turn on led
          delay(2000);
          digitalWrite(led, LOW);    //Turn off led
          delay(2000);
}

Tutotials Overview

Buy  Sensor Starter Kit-K1 For Arduino Education Learning Programming 

PDF

https://drive.google.com/open?id=1GGebaeu7kf7nhjiadoBD3x9FIgQzxgzh 

0 comments

Leave a comment

Please note, comments must be approved before they are published