RGB LED Module (Surface Mount)

(26 customer reviews)

$4.15

20 in stock

Description

SMD RGB LED Module Code


/* SETUP

SMD RGB LED     Arduino
-         -     GND
G         -     D9
R         -     D10
B         -     D11
GND       -     GND
*/
 
int redpin = 10; // select the pin for the red LED
int greenpin = 9 ;// select the pin for the green LED
int bluepin = 11; // select the pin for the blue 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 (10);
    Serial.println (val, DEC);
  }
  for (val = 0; val <255; val ++)
  {
    analogWrite (11, val);
    analogWrite (10, 255-val);
    analogWrite (9, 128-val);
    delay (10);
    Serial.println (val, DEC);
  }
}

Additional information

Weight 0.002 kg
  1. Ciponn

    buy lipitor 40mg pills lipitor 10mg tablet buy atorvastatin 80mg pill

  2. Seqeag

    baycip order online – cephalexin 125mg without prescription cost augmentin 625mg

  3. Stmcci

    buy ciprofloxacin pill – myambutol 600mg uk augmentin 375mg over the counter

  4. Vtavtt

    order ciplox – buy chloramphenicol order erythromycin 500mg online

  5. Lkazww

    flagyl uk – how to get clindamycin without a prescription buy azithromycin 250mg sale

  6. Mrbszq

    ivermectin 12 mg online – sumycin oral buy sumycin paypal

  7. Dvahgb

    valtrex 500mg canada – buy nateglinide sale acyclovir 800mg tablet

  8. Eazkgr

    purchase ampicillin buy penicillin generic order amoxil generic

  9. Zxwoqz

    order metronidazole 200mg generic – buy flagyl pill zithromax brand

  10. Aagbyk

    lasix 100mg usa – tacrolimus over the counter buy capoten 25 mg

  11. Xbyzdj

    buy glucophage 500mg online cheap – epivir over the counter lincocin 500 mg without prescription

  12. Lhtnrd

    purchase zidovudine generic – allopurinol 300mg drug purchase allopurinol generic

  13. Cuober

    order clozapine without prescription – purchase perindopril pill brand famotidine 40mg

  14. Hjzuhq

    buy anafranil 25mg for sale – buy sinequan online buy sinequan pills

  15. Snxlqr

    quetiapine pills – purchase trazodone generic eskalith drug

  16. Sllrqv

    atarax brand – sarafem cheap buy endep generic

  17. Aokegv

    buy augmentin 375mg generic – brand zyvox order ciprofloxacin 1000mg generic

  18. Qwfwsf

    buy amoxicillin no prescription – trimox 500mg usa buy cipro without prescription

  19. Ftphwe

    azithromycin where to buy – ciplox 500 mg over the counter ciplox 500 mg cheap

  20. Hkfcbo

    purchase cleocin online – purchase cleocin online chloromycetin where to buy

  21. Nsxaxw

    ivermectin 6 mg over counter – buy cefaclor 500mg generic where can i buy cefaclor

  22. Xnadwh

    buy albuterol inhalator – allegra 180mg cost theo-24 Cr brand

  23. Onzwnu

    order depo-medrol for sale – buy fml-forte medication buy astelin 10 ml

  24. Soavcl

    desloratadine order – buy beclomethasone no prescription albuterol 2mg brand

  25. Xydoxg

    cost glycomet 1000mg – order januvia 100 mg pills pill acarbose

  26. Dohcys

    micronase 2.5mg us – cheap dapagliflozin 10 mg forxiga 10 mg drug

Add a review

Your email address will not be published. Required fields are marked *