Library for TM1650 LED controller (32 LEDs max, 28 keys max)

Dependents:   mbed_TM1650

See here for more info.

Committer:
wim
Date:
Tue Oct 10 18:38:46 2017 +0000
Revision:
0:4430a1559b4f
Library for TM1650 LED controller (32 LEDs max, 27 keys max)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wim 0:4430a1559b4f 1 /* mbed TM1650 Library, for TM1650 LEDcontroller
wim 0:4430a1559b4f 2 * Copyright (c) 2017, v01: WH, Initial version
wim 0:4430a1559b4f 3 *
wim 0:4430a1559b4f 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
wim 0:4430a1559b4f 5 * of this software and associated documentation files (the "Software"), to deal
wim 0:4430a1559b4f 6 * in the Software without restriction, including without limitation the rights
wim 0:4430a1559b4f 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
wim 0:4430a1559b4f 8 * copies of the Software, and to permit persons to whom the Software is
wim 0:4430a1559b4f 9 * furnished to do so, subject to the following conditions:
wim 0:4430a1559b4f 10 *
wim 0:4430a1559b4f 11 * The above copyright notice and this permission notice shall be included in
wim 0:4430a1559b4f 12 * all copies or substantial portions of the Software.
wim 0:4430a1559b4f 13 *
wim 0:4430a1559b4f 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
wim 0:4430a1559b4f 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
wim 0:4430a1559b4f 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
wim 0:4430a1559b4f 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
wim 0:4430a1559b4f 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
wim 0:4430a1559b4f 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
wim 0:4430a1559b4f 20 * THE SOFTWARE.
wim 0:4430a1559b4f 21 */
wim 0:4430a1559b4f 22
wim 0:4430a1559b4f 23 #ifndef TM1650_CONFIG_H
wim 0:4430a1559b4f 24 #define TM1650_CONFIG_H
wim 0:4430a1559b4f 25
wim 0:4430a1559b4f 26 // Select one of the testboards for TM1650 LED controller
wim 0:4430a1559b4f 27 #define TM1650_TEST 0
wim 0:4430a1559b4f 28 #define MEIBAI_TEST 1
wim 0:4430a1559b4f 29
wim 0:4430a1559b4f 30 // Select the display mode: only digits and hex or ASCII
wim 0:4430a1559b4f 31 #define SHOW_ASCII 1
wim 0:4430a1559b4f 32
wim 0:4430a1559b4f 33 #endif