for motor
Fork of TM1638 by
Revision 5:4c879f562e2a, committed 2017-09-05
- Comitter:
- jack__zen
- Date:
- Tue Sep 05 01:39:03 2017 +0000
- Parent:
- 4:b2bbdc58967e
- Commit message:
- ADXL345Test_for_motor
Changed in this revision
TM1638.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b2bbdc58967e -r 4c879f562e2a TM1638.cpp --- a/TM1638.cpp Sun Jan 31 12:11:06 2016 +0000 +++ b/TM1638.cpp Tue Sep 05 01:39:03 2017 +0000 @@ -1,3 +1,4 @@ + /* mbed TM1638 Library, for TM1638 LED controller * Copyright (c) 2015, v01: WH, Initial version * 2016, v02: WH, Added ASCII alphabet display selector, refactored display and keyboard defines @@ -53,6 +54,14 @@ _writeCmd(TM1638_DATA_SET_CMD, TM1638_DATA_WR | TM1638_ADDR_INC | TM1638_MODE_NORM); // Data set cmd, normal mode, auto incr, write data } +// +#if(0) +void TM1638::Switches() { + int Switches = 0; + if (keydata[LEDKEY8_SW2_IDX]) Switches = 1; + +} +#endif /** Clear the screen and locate to 0