|
|
@ -8,6 +8,7 @@ unsigned long currentMillis; |
|
|
|
int brightness = 0; // our main variable for setting the brightness of the LED
|
|
|
|
float velocity = 1.0; // the speed at which we change the brightness.
|
|
|
|
int ledPin = 9; // we use pin 9 for PWM
|
|
|
|
int p = 0; // use to keep track how often we plot
|
|
|
|
int plotFrequency = 2; // how often we plot, every Nth time.
|
|
|
|
|
|
|
|
void setup() { |
|
|
|