I really would like to understand what is the interest in having the Tilt sensor in this circuit.
What makes it even change after an hour?
Wouldn't it be enough to verify that the time stipulated had already passed, in order to shut down all the LEDs?
Thank you for the help.
It's just showing you how to use the tilt sensor.
After an hour has passed and all of the lights are turned on you are supposed to turn it upside down just like a real hour glass. That will cause the project to reset.
Tilt sensors could be useful. If you have a new smart phone you will notice the screen probably changes based on if you are holding the phone vertically or horizontally. You could probably do that with a tilt sensor of some kind.