TEST
Dependents: ADXL345Test ADXL345Test1
Fork of TM1638 by
Diff: TM1638.cpp
- Revision:
- 5:a4634cc2ab71
- Parent:
- 4:b2bbdc58967e
--- 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