View Single Post
  #12   Spotlight this post!  
Unread 07-02-2003, 19:38
rust710's Avatar
rust710 rust710 is offline
Registered User
#0862 (Lightning Robotics)
 
Join Date: Dec 2002
Location: Canton, MI
Posts: 103
rust710 is an unknown quantity at this point
Send a message via AIM to rust710
Programming spikes is extremely simple. First find out what port the spike is on and go to your code.

To make a spike go forward relay1_fwd = 1. To make it go backward relay1_rev = 1 . Always remember to set the opposite direction you are using to zero. If you want to stop the relay all together set both variables to zero. Change the number after relay to the port you are using.
__________________
Andrew Radamis
Programmer on 862
info@lightingrobotics.com