#include <Adafruit_NeoPixel.h>
Adafruit_NeoPixel kruh(16,A0,NEO_GRB + NEO_KHZ800);
long modra= kruh.Color(0,0,255);
void setup() {
// put your setup code here, to run once:
kruh.begin();
pinMode(A1, INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
int a = analogRead(A1);
a = map(a,0,1023,0,16);
kruh.fill(kruh.Color(0,0,255),0,a);
kruh.fill(kruh.Color(0,0,0),a,0);
kruh.show();
}