Quote:
Originally Posted by DomenicR
I guess I was assuming that kOn would be equivalent to kForward by default; thanks for the heads up. So adding a call to Relay#setDirection() would give the desired behavior, right?
|
Yes.
Quote:
Originally Posted by DomenicR
Normally I would just use kForward. The reasoning here was to avoid accidentally setting the relay to kReverse and potentially damaging the LEDs. Granted, it's easy enough to just remember not to use kReverse...
|
The nice thing about LEDs is they can't be damaged by reverse polarity (unless the thing you're driving has integrated control electronics also, but then you probably wouldn't be driving it from a spike).