• Preço reduzido
LED RGB common cathode 5MM
  • LED RGB common cathode 5MM
  • LED RGB common cathode 5MM

LED RGB common cathode 5MM

0 Review
1,48 €
1,40 €
Com IVA
BE15000256
Poupe 5%

LED RGB common cathode 4-PINS F5 5MM Super Bright

Quantidade

  • Política de segurança Política de segurança
  • Política de entrega 24/48H Política de entrega 24/48H
  • Política de devolução Política de devolução

Arduino Example:

 

 

Code:

int redPin=11;  //set red LED pin to 11
int greenPin=10; //set green LED pin to 10
int bluePin=6; //set blue LED pin to 6
int brightness=100; //Set brightness to 100

void setup() {
  // put your setup code here, to run once:

Serial.begin(9600); //Turn on Serial port
pinMode(redPin, OUTPUT); //Set redPin to be an output
pinMode(greenPin, OUTPUT); //Set greenPin to be an output
pinMode(bluePin, OUTPUT); //set bluePin to be an output

}

void loop() {
  // put your main code here, to run repeatedly:
 
  analogWrite(redPin, 0); //turn off red pin
  analogWrite(greenPin, 0); //turn off green pin
  analogWrite(bluePin, brightness); //write 100 (brightness) to blue pin
}

BE15000256

No customer reviews for the moment.

Add a review

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

Clientes que compraram este produto também compraram:

Relacionados Produtos