Ks0238 keyestudio Yellow LED Module

From Keyestudio Wiki
Jump to: navigation, search

Yellow LED Module


thumb

Introduction

This LED light module has a shiny color, ideal for Arduino starters. It can be easily connected to IO/Sensor shield.
Note: You can also choose other LED to emit light of different colors like green, white, red and blue.

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);
}

After uploading the code, you can see the LED blink in yellow.
thumb

Resources

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

Buy from

Official Website

http://www.keyestudio.com/yellow-led-module.html