Basic library of routines to interface to a Microchip MCP23017 16-bit I/O expander using an I2C interface.
Dependents: Assignment_2_herpe Final_V1 ass2 ass2 ... more
Diff: MCP23017.cpp
- Revision:
- 4:32fd6ee97dff
- Parent:
- 2:2a17f52c550a
- Child:
- 5:79b8535dc5ac
--- a/MCP23017.cpp Sun Nov 28 21:21:17 2010 +0000 +++ b/MCP23017.cpp Sun Nov 28 21:38:25 2010 +0000 @@ -14,8 +14,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#include "MCP23017.h" #include "mbed.h" -#include "MCP23017.h" union { uint8_t value8[2];