added flickerlight

This commit is contained in:
ottona 2022-02-06 17:30:27 +01:00
parent 35baa17bdb
commit 839aa75db5

View File

@ -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 <noise.h>
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);
}