I need to implement something like a loop. When the system starts I will check for a condition, if the condition is met then I will to something, then hibernate. If the condition is not met I will hibernate and set the alarm of the real time clock. When the system wakes I want to perform the same check again and this is what I want to do constantly: check, sleep, wake up, check, sleep, wake up…
What is the best way to do this with FEZ Spider?
Thank you in advance!