Windrose
ähnlich wie beim „analogen“ Termometer, nur in Rund… Bilder Arduino Code #include <Adafruit_NeoPixel.h> #define Pin_Windrose 2 Adafruit_NeoPixel Windrose = Adafruit_NeoPixel(16, Pin_Windrose, NEO_GRB + NEO_KHZ800); void setup() { Windrose.begin(); Windrose.show(); } void loop() { LED_Windrose(); } void LED_Windrose() { int Wind3 = Windrichtung; //Windrichtung auslesen Serial.println(Wind3); if (Wind3 < 11) { Windrose.setPixelColor(0, 128, 0, 0); Windrose.setPixelColor(1, … [Read more…]