-
Notifications
You must be signed in to change notification settings - Fork 5
Digital_White_LED_Light_Module_(SKU__DFR0021)
Angelo edited this page Sep 21, 2016
·
3 revisions
This LED light module has a shiny color. It is ideal for Arduino starter. This module can be easy to be plugged on IO/Sensor expansion shield.
NOTE: This LED was wired to light up when the Signal pin is set to low before. The reason for this is to prevent the LED from demanding too much current from the microcontroller and damaging the I/O. But now, we have the Ver.2 with the same convenience in use and effectiveness in prevent,and the different that this LED is wired to light up when the Signal pin is set to high like general.
- Type:Digital
- PH2.0 socket
- White LED light modules
- Special sensors with the arduino board and expansion combined with ambient light sensors
- Enables interaction with the light-related works
LED light module pin definition :
:#Input
:#Power
:#GND
///Arduino Sample Code for DFR0021
///www.DFRobot.com
///Last modified on 26th February 2015
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);
}
shopping digital white led light module (sku: dfr0021)
category: Product_Manual category: DFR_Series category: Components category: source