#include <otOptoShield.h>
Inheritance diagram for otOptoShield:

Public Member Functions | |
| otOptoShield () | |
| void | init (U8 addressIndex=0) |
| void | output (U8 pin, bool set) |
| U8 | input (U8 pin) |
| U8 | read () |
|
|
Create the class. |
|
|
Set the base address
|
|
|
Read the value of a specified input
|
|
||||||||||||
|
Set or reset a specified output
|
|
|
Read the input port.
Reimplemented from otMCP23017. |