Browse Source

Update 'pointlights/pointlights.ino'

fix an accidental deletion
main
rra 3 years ago
parent
commit
349924a550
  1. 1
      pointlights/pointlights.ino

1
pointlights/pointlights.ino

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

Loading…
Cancel
Save