Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Microswitch problem (http://www.chiefdelphi.com/forums/showthread.php?t=53193)

Mark McLeod 01-02-2007 11:55

Re: Microswitch problem
 
1 Attachment(s)
Here is a table of how to set the relay values to get the different results possible. It's from the IFI Spike document: http://www.ifirobotics.com/docs/spik...uide-sep05.pdf

We don't usually set both "rev" and "fwd" to 1 at the same time.

Both fwd=0;rev=0; as well as fwd=1;rev=1; should mean the motor is off.

This code will execute one section only as long as the switch is depressed and the other whenever the switch is not pressed.


All times are GMT -5. The time now is 23:49.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi