> Currently I can turn the motor on and of but am having trouble > making it > pause. > Does anyone know how to do this? Looks like this is your first post - welcome to the list. Your problem is probably better phrased either "can someone tell me how to program" or "how do I control an electric motor". That is, you have already described the problem in English language pseudo code. You know what you want to do. What you need to know is how to "run" a PIC. Starting with the "hello world"/"flash a LED" type program and getting competent with that is probably the path to what you want to do. Re your specific question above - as phrased it doesn't seem to make sense. If you can turn the motor off, then it will pause, so apparently you mean something different from what it appears you mean. Can you break your problem down into smaller simpler parts so we can understand what you are trying to achieve and what parts you are finding hard? Otherwise: MState = hall switch level Turn motor on Do 5 times wait until hall switch level <> MState wait until hall switch level = MState end do Turn motor off. _________ Along the way to turning that into real code you will learn quite a lot about debounce, motor acceleration and speed and quite a few other related things :-) Ask more questions and provide more detail and we should be able to help. Russell McMahon -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist