e-paper whereabouts board program
Dependencies: SDFileSystem mbed
extdio.h@0:e4c67c26ba3f, 2016-05-01 (annotated)
- Committer:
- kohacraft
- Date:
- Sun May 01 03:12:28 2016 +0000
- Revision:
- 0:e4c67c26ba3f
- Child:
- 1:cb28911c7ba5
ver1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kohacraft | 0:e4c67c26ba3f | 1 | #define LE 0x01 |
kohacraft | 0:e4c67c26ba3f | 2 | #define OE 0x02 |
kohacraft | 0:e4c67c26ba3f | 3 | #define NC10 0x04 |
kohacraft | 0:e4c67c26ba3f | 4 | #define SPH 0x08 |
kohacraft | 0:e4c67c26ba3f | 5 | #define GMODE 0x10 |
kohacraft | 0:e4c67c26ba3f | 6 | #define SPV 0x20 |
kohacraft | 0:e4c67c26ba3f | 7 | #define CKV 0x40 |
kohacraft | 0:e4c67c26ba3f | 8 | #define EN 0x80 |
kohacraft | 0:e4c67c26ba3f | 9 | |
kohacraft | 0:e4c67c26ba3f | 10 | //set CL pin |
kohacraft | 0:e4c67c26ba3f | 11 | void setCL( bool state ); |
kohacraft | 0:e4c67c26ba3f | 12 | |
kohacraft | 0:e4c67c26ba3f | 13 | //chane the contral port |
kohacraft | 0:e4c67c26ba3f | 14 | void setContBas( char mask , bool state ); |
kohacraft | 0:e4c67c26ba3f | 15 | |
kohacraft | 0:e4c67c26ba3f | 16 | //change the data port |
kohacraft | 0:e4c67c26ba3f | 17 | void setDataBas( bool d7 , bool d6 , bool d5 , bool d4 , bool d3 , bool d2 , bool d1 , bool d0 ); |
kohacraft | 0:e4c67c26ba3f | 18 |