Basic library for MCP23017 16-bit I/O expander using an I2C interface used in aconno ACD52832 dev board.
Dependents: tof100 gaasgjdvas LED_GAME11 tof100
Fork of MCP23017 by
Diff: MCP23017.cpp
- Revision:
- 2:2a17f52c550a
- Parent:
- 0:a6a5d942b58f
- Child:
- 4:32fd6ee97dff
--- a/MCP23017.cpp Sun Nov 28 20:47:17 2010 +0000 +++ b/MCP23017.cpp Sun Nov 28 21:10:15 2010 +0000 @@ -14,15 +14,15 @@ 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 "mbed.h" #include "MCP23017.h" -#include "mbed.h" union { uint8_t value8[2]; uint16_t value16; } tmp_data; -using namespace mbed; +// using namespace mbed; /* * */