Ks0229 keyestudio EASY plug Digital Green LED Module: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
Line 39: Line 39:


==Buy from ==
==Buy from ==
'''Official Website'''
http://www.keyestudio.com/easy-plug-digital-green-led-module.html
http://www.keyestudio.com/easy-plug-digital-green-led-module.html


[[category:Module]]
[[category:Module]]

Revision as of 16:51, 15 November 2017

EASY plug Digital Green LED Module


thumb

Introduction

This LED module emits shiny green light, ideal for Arduino starters. It can be easily connected to IO/Sensor shield. Note: this module needs to be used together with EASY plug control board. You can also choose other LED to emit different color of light like blue, red, yellow and white.

Specification

  • Interface: Easy plug
  • Sensor Type: Digital
  • PH2.54 socket
  • Enables interaction with light-related works
  • Size: 33.7*20mm
  • Weight: 5g

Connection Diagram


thumb

Sample Code

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

Resources

PDF https://drive.google.com/open?id=1nPsN7XYPcfNdOvvuaP-bf5p8FjBJKBJE

Buy from

Official Website

http://www.keyestudio.com/easy-plug-digital-green-led-module.html