TEST
Dependents: ADXL345Test ADXL345Test1
Fork of TM1638 by
Revision 5:a4634cc2ab71, committed 2017-09-04
- Comitter:
- jack__zen
- Date:
- Mon Sep 04 01:39:58 2017 +0000
- Parent:
- 4:b2bbdc58967e
- Commit message:
- TSET
Changed in this revision
TM1638.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b2bbdc58967e -r a4634cc2ab71 TM1638.cpp --- a/TM1638.cpp Sun Jan 31 12:11:06 2016 +0000 +++ b/TM1638.cpp Mon Sep 04 01:39:58 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