|
Re: Spike relay help
"spike.set(Relay.Value.kOn;" should be "spike.set(Relay.Value.kOn);"
Try putting System.out.println statements inside the for statements to see if it's getting to the set commands.
I can't see all of your code, but you probably shouldn't use delay().
Next time please give more details, if adding the parenthesis doesn't help and you can't figure it out with the println statements, give some more details and I'll try to help more.
|