9/9

Hover on image to enlarge
13 disponibles
$125.00
Puntos de recompensa: 6 puntos
+
MarcaDIYMORE MPNM-P9813
Descripción

Controlador tira led RGB 12V P9813.

Código de Arduino

https://gist.github.com/esmarr58/f84f733d143dbd2905623ec5107e4cd8

#include <FastLED.h>

#define NUM_LEDS 1
#define DATA_PIN 15//8__15
#define CLOCK_PIN 13

CRGB leds[NUM_LEDS];

void setup() {
 FastLED.addLeds<P9813, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
}

int hue = 0;
void loop(){
 for(int i = 0; i < NUM_LEDS; i++) {
 leds[i] = CHSV(hue + i*255/NUM_LEDS , 255, 255);
 }
 FastLED.show();
 delay(20);
 hue += 2;
}
Opiniones

No se encontraron opiniones

Opinar sobre este producto

Comparte tu opinión con otros clientes

Escribe una opinión