Changed some default values
This commit is contained in:
parent
9bce215a08
commit
1720088813
|
@ -35,6 +35,7 @@ There are a view different configuration options (like on-time, color, ...), whi
|
||||||
These settings are important:
|
These settings are important:
|
||||||
- Processor-Speed to 9.6 Mhz
|
- Processor-Speed to 9.6 Mhz
|
||||||
- Millis, Tone Support to "No Millis, No Tone"
|
- Millis, Tone Support to "No Millis, No Tone"
|
||||||
|
- Programmer: "Arduino as ISP" (**NOT Arduino ISP**)
|
||||||
|
|
||||||
**After that Press `Burn Bootloader` to make sure that these Settings are applied.**
|
**After that Press `Burn Bootloader` to make sure that these Settings are applied.**
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,7 @@ void loop()
|
||||||
}
|
}
|
||||||
ws2812_setleds((struct cRGB *)pixel, PIXEL_NUM);
|
ws2812_setleds((struct cRGB *)pixel, PIXEL_NUM);
|
||||||
|
|
||||||
delay(400 - random_avr() % d_delay);
|
delay(350 - random_avr() % d_delay);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int on_val = 400; //LDR Value below that to switch the Light on
|
int on_val = 300; //LDR Value below that to switch the Light on
|
||||||
int off_val = 500; //LDR Value above that to switch the Light off
|
int off_val = 400; //LDR Value above that to switch the Light off
|
||||||
unsigned long max_on_time = 666666; // Calculation: ('on_time_in_minutes' * 60) / 0.027
|
unsigned long max_on_time = 666666; // Calculation: ('on_time_in_minutes' * 60) / 0.027
|
||||||
//Example: 5h (=300min) ON-time: max_on_time = (300 * 60) / 0.027 = 666666
|
//Example: 5h (=300min) ON-time: max_on_time = (300 * 60) / 0.027 = 666666
|
||||||
#define PIXEL_NUM 3 //Ammount of WS2812 LEDs
|
#define PIXEL_NUM 3 //Ammount of WS2812 LEDs
|
||||||
|
@ -21,7 +21,7 @@ unsigned long max_on_time = 666666; // Calculation: ('on_time_in_minutes' * 60)
|
||||||
//----------- Flickering Effect -----------
|
//----------- Flickering Effect -----------
|
||||||
//Default Colours
|
//Default Colours
|
||||||
int red = 255;
|
int red = 255;
|
||||||
int green = 70;
|
int green = 50;
|
||||||
int blue = 20;
|
int blue = 20;
|
||||||
|
|
||||||
// Purple flame:
|
// Purple flame:
|
||||||
|
@ -29,16 +29,16 @@ int blue = 20;
|
||||||
// Green flame:
|
// Green flame:
|
||||||
//int red = 74, green = 150, blue = 12;
|
//int red = 74, green = 150, blue = 12;
|
||||||
|
|
||||||
int indensity = 40; // Maximum Flickering offset
|
int indensity = 30; // Maximum Flickering offset
|
||||||
int d_delay = 300; // Maximum Delay offset
|
int d_delay = 300; // Maximum Delay offset
|
||||||
|
|
||||||
|
|
||||||
// ----- colour after timeout ----
|
// ----- colour after timeout ----
|
||||||
// This is the Colour with which the leds light up, after the timeout (max_on_time) is reached until it gets light again
|
// This is the Colour with which the leds light up, after the timeout (max_on_time) is reached until it gets light again
|
||||||
// If you want it to be off, set all values to 0
|
// If you want it to be off, set all values to 0
|
||||||
int timeout_red = 0;
|
int timeout_red = 10;
|
||||||
int timeout_green = 0;
|
int timeout_green = 0;
|
||||||
int timeout_blue = 5;
|
int timeout_blue = 0;
|
||||||
|
|
||||||
|
|
||||||
// ------ color throughout the day -------
|
// ------ color throughout the day -------
|
||||||
|
|
Loading…
Reference in New Issue