i want to press a button, take my finger off it and still keep the activated motor or relay running. and if i press it again i want it to stop. i tried doing this with a bunch of loops but failed miserably. any ideas?
theres a thread already for this, http://www.chiefdelphi.com/forums/showthread.php?p=815916
it was very helpful for my programmers.