Repeating a script a defined number of times?
Picked up a BlinkM MaxM a few months ago, and just got around to tinkering with it. I'm just barely beginning to try and modify my own scripts using the Script tool.
I'd like to run a simple script a set number of times, then have the MaxM go dark until powered on again.
For example, when power is applied, run...
{
{ 255, {'c', 0xff,0x00,0x00}},
{ 255, {'c', 0x00,0xff,0x00}},
{ 255, {'c', 0x00,0x00,0xff}},
}
...for, say, 50 times. Then fade to black, and stay black.
Is this possible? What's the code I'd use to do it? And what's the maximum number of times the script can be looped before stopping?
Thanks!
I'd like to run a simple script a set number of times, then have the MaxM go dark until powered on again.
For example, when power is applied, run...
{
{ 255, {'c', 0xff,0x00,0x00}},
{ 255, {'c', 0x00,0xff,0x00}},
{ 255, {'c', 0x00,0x00,0xff}},
}
...for, say, 50 times. Then fade to black, and stay black.
Is this possible? What's the code I'd use to do it? And what's the maximum number of times the script can be looped before stopping?
Thanks!
2
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
Loading Profile...


