Jump to content

How would you write this?


AnthemAVM

Recommended Posts

Hello AnthemAVM,

 

I would write it like this:

If 
  Time is 6:30 AM
  And Status Kids-room is not On
Then
  Set kids-room to 25%
  Wait 1 minute
  Set kids-room to 30%
  Wait 1 minute
  Set-kids-room to 35%
  ....
Else


 

With kind regards,

Michel

 

I want to turn the lights on in my kids room at 6:30am on at 25%, and then each minute it will go up 5%, until its gets to 100%. What is the best way to write that one?

 

Thanks

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...