Arduino autonomous grey(): Lengthen breathing effect

This commit is contained in:
Petr Baudis 2012-06-30 23:39:14 +02:00
parent c0001a5cf7
commit e9d9cdefed

View file

@ -116,7 +116,7 @@ void custom(int led)
/* White "breathing" effect to a certain degree of intensity. Good for identifying a point where further intensity change does not make any difference. */ /* White "breathing" effect to a certain degree of intensity. Good for identifying a point where further intensity change does not make any difference. */
void grey(int led) void grey(int led)
{ {
static const int steps = 20; static const int steps = 200;
static int s = 0; static int s = 0;
static int d = 1; static int d = 1;