The Arduino Reference text is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Find anything that can be improved? Suggest corrections and new documentation via GitHub.
Doubts on how to use Github? Learn everything you need to know in this tutorial.
Perform a “Read Coils” operation for the specified address for a single coil.
int coilRead(int address); int coilRead(int id, int address);
coil value on success, -1 on failure.