|
Re: Power output on I/O port
It sounds like a spike is just what you need with the spike your code will look like this when it is connected to the relay outputs:
relay3_fwd = p3_sw_trig;
relay3_rev = 0;//So it cannot recieve reverse polarity possibly damaging something
I am pretty sure that you want to set that to 0 you may want to ask a more FRC aquianted programmer than myself
|