I need to implement the following condition in to my program which runs in 10ms cycles:
if (FLAG)F_SW == ON, then nothing needs to happen until F_SW turns OFF, in which I then want it to toggle a different flag.
I am not certain how to set this up by using IF statements, which is basically all I use since I am not a very good programmer. So I would like to know what the best way to write this out would be? Hopefully it is fairly simple, THANKS!