Hello there I know this is a bit wrong and trust me I have tried doing it myself but having no luck, so can someone just tell me how to do it please. I am making an alarm to go in a safe and need to make a program in flowchart (or basic if I must). I need this program to be split into 2 parts, the first being when the alarm is active, the other being when the alarm is inactive. During the innactive period there just needs to be a delay of 5 minutes. However, during the part where the alarm is active, the alarm needs to be scanning for an input going low regularily whilst still maintaining an accurate 5 minute time delay. I have tried using Inc and compare, but you can only increase that to 255 milliseconds - so no good. I have tried using wait commands, and although they can be looped it means I cant do it because if I have a decision box then the procedure will keep repeating. Bit hard to explain but I know what I mean
So could you guys tell me, a PIC noob how to do it or do it for me. By the way, once the alarm is triggered I need to go to a subprocedure, but I can do that part