Library for TM1640 LED controller Initial version

Dependents:   mbed_TM1640

See here for more information.

Committer:
wim
Date:
Thu Jan 28 19:25:49 2016 +0000
Revision:
0:7e120ffa56d3
Library for TM1640 LED controller; Initial version

Who changed what in which revision?

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