O
I'm trying to find a "clean" way of making a single input pulse relay function that toggles the output on each positive flank input. I would like to use this function x amount of times in the program.
I've already tried a number of ways and have it working successfully, but not without using individual memory bits or DB bits for the positive edge RLO memory.
Since I would like to use this function an undefined number of times, it would be nice not to have to add memory bits manually in the source function.
Is there a smart way to do this?
Thanks.
I've already tried a number of ways and have it working successfully, but not without using individual memory bits or DB bits for the positive edge RLO memory.
Since I would like to use this function an undefined number of times, it would be nice not to have to add memory bits manually in the source function.
Is there a smart way to do this?
Thanks.