Page 1
USER MANUAL RGB LED module WPM307 whadda.com...
Page 2
If in doubt, contact your local waste disposal authorities. Thank you for choosing Whadda! Please read the manual thoroughly before bringing this device into service. If the device was damaged in transit, do not install or use it and contact your dealer.
Page 3
Product Overview RGB LED module with on-board current limiting resistors. Specifications • voltage: 5 VDC • connection: 4-pin male header • pins: GND, RED, GREEN, BLUE • dimensions: 24 x 16 x 16 mm • weight: 2 g Connection Arduino® WPM307...
Page 4
This Arduino demo will fade the red, green and blue channels of the RGB LED module in and out. For more information about the Whadda WPM307 RGB LED Module, consult the manual, available online at whadda.com Example based on Arduino fade example: This example code is in the public domain.
Page 5
analogWrite(rgbLed[GREEN], fadeValue); // wait for 30 milliseconds to see the dimming effect delay(30); // fade GREEN LED out from max to min in increments of 5 points: for (int fadeValue = 255 ; fadeValue >= 0; fadeValue -= 5) { // sets the value (range from 0 to 255) of the RED LED: analogWrite(rgbLed[GREEN], fadeValue);...
Need help?
Do you have a question about the WPM307 and is the answer not in the manual?
Questions and answers