![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Embedded software Assessment 2
Dependencies: MCP23017 SDFileSystem USBDevice WattBob_TextLCD mbed
Diff: Function.h
- Revision:
- 15:d33c51364fac
- Parent:
- 14:17be0f2d153f
- Child:
- 16:0a2138a18f26
--- a/Function.h Wed Feb 26 11:49:12 2014 +0000 +++ b/Function.h Wed Feb 26 11:55:20 2014 +0000 @@ -3,7 +3,9 @@ #include "mbed.h" #include "SDFileSystem.h" -MCP23017 Port(p9,p10,0x40) ; // 16-bit parallel I/O object +#define uint8_t MCPAddr 0X40 + +MCP23017 Port(p9,p10,MCPAddr) ; // 16-bit parallel I/O object WattBob_TextLCD LCD(&Port); // Varaible to 2*16 chacater LCD object