I’m working on controlling a Spike relay via PWM on a HERO board. The wiring is setup right, and the libraries seem to be good. However, I am new to pulse width stuff, and would appreciate some help.
My goal: set the spike relay to what I imagine is a value of “1” or “on”, and then turn it off again (back to “0”).
My problem: How do I determine the pulse width needed for this? Where does the period between pulses come into play?
Are there any resources out there for programming a HERO to operate a Spike? I’ve seen this, but I am confused on how I can take these concepts and implement them on my own thing.