diff --git a/flickerlight/flickerlight.ino b/flickerlight/flickerlight.ino new file mode 100644 index 0000000..79baf1c --- /dev/null +++ b/flickerlight/flickerlight.ino @@ -0,0 +1,23 @@ +/* sketch of flickering light post using perlin noise + * 2019 / otto@socialnerds.org + * don't forget to install the FastLED lib */ + +#include + +uint16_t brt = 0; + +void setup() { + // put your setup code here, to run once: + pinMode(11, OUTPUT); + brt = 0; + //Serial.begin(9600); +} + +void loop() { + // put your main code here, to run repeatedly: + analogWrite(11, inoise8(brt+=20)); + + //Serial.println(inoise8(brt)); + + delay(10); +}