Hi,
I can drive relays on MOD-IO borad, it works fine.
Is there a way to read the status of relays?
Thanks,
Marc
Hi Marc,
There is no direct way to do that. You could make some hardware magic to use digital inputs.
Best regards,
Stefan/Olimex
OK. Thanks for replay.
Marc
The way that I'm using is to assign a byte into my program area that is written an relay command, so that this byte contain the status of the relays.
You can get wrong information if you reset only one of your boards, to solve this you can periodically force the relay state via I2C and reset them in the begin() of your application.
This should let you have consistent information.
Regards,
Dario.