Retour à la recherche
Bicolor LED common cathode module 3MM
Bicolor LED common cathode module 3MM
Bicolor LED common cathode module 3MM
1 / 3
Voir sur le site du vendeurLes prix et la disponibilité sont mis à jour quotidiennement. Veuillez vérifier sur le site du vendeur avant d'acheter.

Bicolor LED common cathode module 3MM

Development platfome

DZD 250

Voir sur le site du vendeurLes prix et la disponibilité sont mis à jour quotidiennement. Veuillez vérifier sur le site du vendeur avant d'acheter.
Description
Introduction: RGB LED module is made of a SMD full-color LED. You can adjust the three primary colors (red/blue/green) by using the PWM voltage input of the R, G, B three pins to realize full color mixing effect. You can realize cool lighting effect using Arduino's control over this module. Product features: 1. the use of 5050 full-color LED 2. RGB tricolor connected to current-limiting resistance to prevent burn out 3. PWM regulate three primary colors to produce different colors 4. can be connected to various MCU 5. Working voltage: 5V 6. LED drive mode: common-cathode drive Arduino test code: int redpin = 11; //select the pin for the red LED int bluepin =10; // select the pin for the blue LED int greenpin =9;// select the pin for the green LED int val; void setup() { pinMode(redpin, OUTPUT); pinMode(bluepin, OUTPUT); pinMode(greenpin, OUTPUT); Serial.begin(9600); } void loop() { for(val=255; val>0; val--) { analogWrite(11, val); analogWrite(10, 255-val); analogWrite(9, 128-val); delay(1); } for(val=0; val<255; val++) { analogWrite(11, val); analogWrite(10, 255-val); analogWrite(9, 128-val); delay(1); } Serial.println(val, DEC);
Produits similaires

Raspberry Pi 5 Real-time Clock Battery case RTC Battery Powered JST Connector CASE ONLY NO BATTERY
Voir
Raspberry Pi 5 Real-time Clock Battery case RTC Battery Powered JST Connector CASE ONLY NO BATTERY
DZD 500

Development platfome