e-paper whereabouts board program
Dependencies: SDFileSystem mbed
Diff: extdio.h
- Revision:
- 0:e4c67c26ba3f
- Child:
- 1:cb28911c7ba5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extdio.h Sun May 01 03:12:28 2016 +0000 @@ -0,0 +1,18 @@ +#define LE 0x01 +#define OE 0x02 +#define NC10 0x04 +#define SPH 0x08 +#define GMODE 0x10 +#define SPV 0x20 +#define CKV 0x40 +#define EN 0x80 + +//set CL pin +void setCL( bool state ); + +//chane the contral port +void setContBas( char mask , bool state ); + +//change the data port +void setDataBas( bool d7 , bool d6 , bool d5 , bool d4 , bool d3 , bool d2 , bool d1 , bool d0 ); +