e-paper whereabouts board program
Dependencies: SDFileSystem mbed
Diff: extdio.h
- Revision:
- 1:cb28911c7ba5
- Parent:
- 0:e4c67c26ba3f
--- a/extdio.h Sun May 01 03:12:28 2016 +0000 +++ b/extdio.h Tue May 23 05:06:14 2017 +0000 @@ -1,3 +1,5 @@ +/* EDP interface board control progtam */ + #define LE 0x01 #define OE 0x02 #define NC10 0x04 @@ -7,12 +9,11 @@ #define CKV 0x40 #define EN 0x80 -//set CL pin +//Set CL pin void setCL( bool state ); -//chane the contral port -void setContBas( char mask , bool state ); +//Set conrol bus +void setContBus( 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 ); - +//Set data bus +void setDataBus( char data );