This is the first time i have posted any thing on this forum.
I do hope this is the right way.
The reason is becaus I'am going to write an application where I shall make a process doing the following:
The process can be cycled up to 6 times.
1.)_The process starts by activating LED #1.
2.)_After 30 seconds, LED #2 and LED #3 are activated.
3.)_After 15 additional seconds LED#4 is activated.
4.)_Hold this state for (x) minutes. (e.g. a value read from variable xValue).
5.)_After (x) minutes deactivate LED#2, and activate LED#5.
6.)_ Set TIMER#01 to timeout(15, 30 or 45 -> selectable minutes).
In the meantime do the following:
7.)_30 seconds after step 5 deactivate LED#3, LED#4 and LED#5.
8.)_Activate LED#6
9.)_After 5 minutes, deactivate LED#6
10.)_Wait until TIMER#01 has timed out.
If (Cycles -= 1) > 0, repeat the process, else
11.)_Deactivate LED#1, Process done.
Is QStateMachine the way to go?
Can someone point me in the right direction?
Examples would be much appreciated.
rgds, John Eric (newbie++)
Bookmarks