#include <FastLED.h>
#define NUM_LEDS 16
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, A3, GRB>(leds, NUM_LEDS);
}
void loop() {
fill_solid(leds, NUM_LEDS,
CHSV(
map(analogRead(A0), 0, 1023, 0, 255),
map(analogRead(A1), 0, 1023, 0, 255),
map(analogRead(A2), 0, 1023, 0, 255)
)
);
FastLED.show();
delay(50);
}