done

Dependents:   AwesomeAlarm_BLE

Committer:
yungsung
Date:
Thu Jan 09 19:19:04 2020 +0000
Revision:
2:4d982132b42d
Parent:
1:f63d87466f55
done

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wim 0:dc8789a6e21f 1 /* mbed TM1637 Library, for TM1637 LEDcontroller
wim 0:dc8789a6e21f 2 * Copyright (c) 2016, v01: WH, Initial version
wim 1:f63d87466f55 3 * 2017, v02: WH, Added RobotDyn 6 Digit module,
wim 1:f63d87466f55 4 * Added Eyewink 6 Digit + 6 Keys module,
wim 1:f63d87466f55 5 * Constructor adapted to 2 pins: dio, clk
wim 0:dc8789a6e21f 6 *
wim 0:dc8789a6e21f 7 * Permission is hereby granted, free of charge, to any person obtaining a copy
wim 0:dc8789a6e21f 8 * of this software and associated documentation files (the "Software"), to deal
wim 0:dc8789a6e21f 9 * in the Software without restriction, including without limitation the rights
wim 0:dc8789a6e21f 10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
wim 0:dc8789a6e21f 11 * copies of the Software, and to permit persons to whom the Software is
wim 0:dc8789a6e21f 12 * furnished to do so, subject to the following conditions:
wim 0:dc8789a6e21f 13 *
wim 0:dc8789a6e21f 14 * The above copyright notice and this permission notice shall be included in
wim 0:dc8789a6e21f 15 * all copies or substantial portions of the Software.
wim 0:dc8789a6e21f 16 *
wim 0:dc8789a6e21f 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
wim 0:dc8789a6e21f 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
wim 0:dc8789a6e21f 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
wim 0:dc8789a6e21f 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
wim 0:dc8789a6e21f 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
wim 0:dc8789a6e21f 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
wim 0:dc8789a6e21f 23 * THE SOFTWARE.
wim 0:dc8789a6e21f 24 */
wim 0:dc8789a6e21f 25
wim 0:dc8789a6e21f 26 #ifndef TM1637_CONFIG_H
wim 0:dc8789a6e21f 27 #define TM1637_CONFIG_H
wim 0:dc8789a6e21f 28
wim 0:dc8789a6e21f 29 // Select one of the testboards for TM1637 LED controller
wim 1:f63d87466f55 30 #define TM1637_TEST 0
wim 1:f63d87466f55 31 #define CATALEX_TEST 0
wim 1:f63d87466f55 32 #define ROBOTDYN_TEST 0
wim 1:f63d87466f55 33 #define EYEWINK_TEST 1
wim 1:f63d87466f55 34
wim 1:f63d87466f55 35 // Select when you wish to keep the DEPRECATED Constructor with 3 Pins for mosi, miso and sclk
wim 1:f63d87466f55 36 // The new component Constructor uses only 2 pins: dio and clk
wim 1:f63d87466f55 37 #define SPI 1
wim 0:dc8789a6e21f 38
wim 0:dc8789a6e21f 39 // Select the display mode: only digits and hex or ASCII
wim 1:f63d87466f55 40 #define SHOW_ASCII 1
wim 0:dc8789a6e21f 41
wim 0:dc8789a6e21f 42 #endif