TM1638 LED controller. Max 80 LEDs, Max 24 Key scan. Supports LED&KEY, QYF-TM1638 and JY-LKM1638 module.
Dependents: mbed_TM1638 Otjimaniya RL0201-V1
TM1638_Config.h
00001 /* mbed TM1638 Library, for TM1638 LEDcontroller 00002 * Copyright (c) 2015, v01: WH, Initial version 00003 * 2016, v02: WH, Added ASCII alphabet display selector 00004 * 2016, v03: WH, Added QYF-TM1638 and LKM1638 00005 * 00006 * Permission is hereby granted, free of charge, to any person obtaining a copy 00007 * of this software and associated documentation files (the "Software"), to deal 00008 * in the Software without restriction, including without limitation the rights 00009 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 00010 * copies of the Software, and to permit persons to whom the Software is 00011 * furnished to do so, subject to the following conditions: 00012 * 00013 * The above copyright notice and this permission notice shall be included in 00014 * all copies or substantial portions of the Software. 00015 * 00016 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00017 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00018 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 00019 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00020 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 00021 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 00022 * THE SOFTWARE. 00023 */ 00024 00025 #ifndef TM1638_CONFIG_H 00026 #define TM1638_CONFIG_H 00027 00028 // Select one of the testboards for TM1638 LED controller 00029 #define TM1638_TEST 0 00030 #define LEDKEY8_TEST 1 00031 #define QYF_TEST 0 00032 #define LKM1638_TEST 0 00033 00034 // Select the display mode: only digits and hex or ASCII 00035 #define SHOW_ASCII 1 00036 00037 #endif
Generated on Tue Jul 12 2022 19:03:47 by 1.7.2