please can any one help me with my first project. My project is using gyroscope MPU 6050 and Ldr with arduino mega board.
the functions are:-
1- timer that makes a buzzer and a led turns on after 15 minutes
2- gyroscope that starts working after 2 minutes and if the device moves after that the buzzer and the led turns on
3- Ldr that starts working after 2 minutes and if the device moves after that the buzzer and the led turns on.
the problems that i face are :-
1- the main timer is not working after the 15 minutes passes.
2- if i adjust the timer for the gyroscope and the ldr more than 30 seconds they don't work
can any one please fix my codes ??
best regards