Digital_piranha_LED_light_module_(SKU__DFR0031)
Angelo edited this page Sep 21, 2016
·
3 revisions
Piranha LED light module, and special sensors Arduino board and ambient light sensor extension combination, can be used in the interaction with the light works.
When the LED light module connected to Arduino, the digital pin (LOW on, HIGH off) is used to control it. The brightness of LED can be controller via PWM output.
- Voltage: +3.3-5V
- Weight: 5g
LED module pin definition :
:#Input
:#Power
:#GND
///Arduino Sample Code for DFR0021
///www.DFRobot.com
///Last modified on 16th September 2010
int led = 3;
void setup()
{
pinMode(led, OUTPUT); //Set Pin3 as output
}
void loop()
{
digitalWrite(led, HIGH); //Turn off led
delay(2000);
digitalWrite(led, LOW); //Turn on led
delay(2000);
}
shopping digital piranha led light module (sku: dfr0031)
category: Product_Manual category: DFR_Series category: Components category: source