That's exactly what I want to do, to inform the user about that it is going to end and constant light means it ends.
Thank you for the instruction, I will try this.
The user can change the Timer and for compare part I think I should do this:
For example T/2< Mi<T , T/3<Mi<T/2 MI< T/3 and Mi = 0
Is That right ??