|
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.
|