Hello guys.so firstly I think its better I explain about my project and my current progress.
parental control gaming system.
My project require to scan qr code using qr code scanner to turn led on.There are 2 qr code both for parent n children.the children will let led to turn on for only 2 hours(in this project i just make it 2min) while parent will allow the led to turn on without time limit. the lcd n rtc will display current time the moment qr code scanned. In 2 minutes , the led will automatically turn off. If the qr code is being scan again,it will not turn on the led.instead the current time will be send to the arduino. Aftr that,the current time will be send to display/shown in mobile apps to notify other ppl somebody try to turn led agn.. my own mobile apps created using mit has 2 function which is as scanner and to display time whenever somebody scan the qr code.
right now, im able to turn the led on n display the current time when the qr code is scanned using my apps, however,I have some problemmm on 2 things.
1)the coding to calculate 2 min from real time the moment it scan to turn led off
2)the coding to get the data from rtc to arduino so that i can send it to my apps.
I dont know how to manipulate the programming from rtc to solve the problem. led actually just act as gaming console.
I hope somebody can help me or give some idea on how to solve my problem. Appreciate much!