3W LED Module High Power Module For Arduino. A high brightness LED in an easy to use modular package .Includes a PWM input for brightness control.
Feature:
1. Instructions
This is a 3W 200 Lumen LED module that controlled by Arduino board via PWM pin.
Specification:
2. Pin Instruction
3.Example
Here is a example for this module, we control the brightness via Pin9,which output a PWM signal.
The connection as below:
“G”=======Gnd
“+”=======5V
“S”=======9
int brightness = 0; int fadeAmount = 5; void setup() { pinMode(9, OUTPUT); } void loop() { analogWrite(9, brightness); brightness = brightness + fadeAmount; if (brightness == 0 || brightness == 255) { fadeAmount = -fadeAmount ; } delay(30); }