Hello everyone!
I recently ordered my first PICAXE 18M2 and have been messing around with everything for about a week, I know its the noob way for most of you veteran but I'm loving logicator!
I have a question though about the easiest way of counting inputs. I want to start an event based on this input (High/low/High-Hold 3 second input). I have figured out how to make it work by using this below(Input 1 for this example) (Note Accidentally deleted line from start to first event before screen shot)
Decision (Input 1 high yes/no) if yes move forward. wait check for low, if yes wait .5 then check for low, if low wait 1 seconds then check for high again. Wait 1 more if still high then activate procedure.
I know there is a counting function and I can assign a variables that increase with high/low transition but only during a time frame before it moves on. Is there a better way to detect this input pattern?
Any help or tips are appreciated!
I recently ordered my first PICAXE 18M2 and have been messing around with everything for about a week, I know its the noob way for most of you veteran but I'm loving logicator!
I have a question though about the easiest way of counting inputs. I want to start an event based on this input (High/low/High-Hold 3 second input). I have figured out how to make it work by using this below(Input 1 for this example) (Note Accidentally deleted line from start to first event before screen shot)
Decision (Input 1 high yes/no) if yes move forward. wait check for low, if yes wait .5 then check for low, if low wait 1 seconds then check for high again. Wait 1 more if still high then activate procedure.
I know there is a counting function and I can assign a variables that increase with high/low transition but only during a time frame before it moves on. Is there a better way to detect this input pattern?
Any help or tips are appreciated!
Last edited: