|
Re: Can Relay Outputs Directly Drive LEDS ? (for testing)
I don't understand why you don't want to read the state of the spike with the LED already on there. I'm not sure if the signal from the relays goes to a negative voltage, if that's the case then you wouldn't want to wire a LED to the relay output.
You can always write a printf() to print out whenever a relay is forward or reverse.
if(relay1_fwd == 1)
printf("relay 1 foward");
__________________
Kevin Li
596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
|