Library for TM1651 LED controller Initial version, Battery monitor
See here for more information.
TM1651_Config.h@1:799f85133209, 2017-10-04 (annotated)
- Committer:
- wim
- Date:
- Wed Oct 04 20:38:36 2017 +0000
- Revision:
- 1:799f85133209
- Parent:
- 0:68f5a3af8dc2
Minor Documentation fixes.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wim | 0:68f5a3af8dc2 | 1 | /* mbed TM1651 Library, for TM1651 LED controller |
wim | 1:799f85133209 | 2 | * Copyright (c) 2017, v01: WH, Initial version, Battery monitor |
wim | 0:68f5a3af8dc2 | 3 | * |
wim | 0:68f5a3af8dc2 | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
wim | 0:68f5a3af8dc2 | 5 | * of this software and associated documentation files (the "Software"), to deal |
wim | 0:68f5a3af8dc2 | 6 | * in the Software without restriction, including without limitation the rights |
wim | 0:68f5a3af8dc2 | 7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
wim | 0:68f5a3af8dc2 | 8 | * copies of the Software, and to permit persons to whom the Software is |
wim | 0:68f5a3af8dc2 | 9 | * furnished to do so, subject to the following conditions: |
wim | 0:68f5a3af8dc2 | 10 | * |
wim | 0:68f5a3af8dc2 | 11 | * The above copyright notice and this permission notice shall be included in |
wim | 0:68f5a3af8dc2 | 12 | * all copies or substantial portions of the Software. |
wim | 0:68f5a3af8dc2 | 13 | * |
wim | 0:68f5a3af8dc2 | 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
wim | 0:68f5a3af8dc2 | 15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
wim | 0:68f5a3af8dc2 | 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
wim | 0:68f5a3af8dc2 | 17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
wim | 0:68f5a3af8dc2 | 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
wim | 0:68f5a3af8dc2 | 19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
wim | 0:68f5a3af8dc2 | 20 | * THE SOFTWARE. |
wim | 0:68f5a3af8dc2 | 21 | */ |
wim | 0:68f5a3af8dc2 | 22 | |
wim | 0:68f5a3af8dc2 | 23 | #ifndef TM1651_CONFIG_H |
wim | 0:68f5a3af8dc2 | 24 | #define TM1651_CONFIG_H |
wim | 0:68f5a3af8dc2 | 25 | |
wim | 0:68f5a3af8dc2 | 26 | // Select one of the testboards for TM1651 LED controller |
wim | 0:68f5a3af8dc2 | 27 | #define TM1651_TEST 0 |
wim | 0:68f5a3af8dc2 | 28 | #define OPENSMART_TEST 1 |
wim | 0:68f5a3af8dc2 | 29 | |
wim | 0:68f5a3af8dc2 | 30 | // Select the display mode: only digits and hex or ASCII |
wim | 0:68f5a3af8dc2 | 31 | #define SHOW_ASCII 1 |
wim | 0:68f5a3af8dc2 | 32 | |
wim | 0:68f5a3af8dc2 | 33 | #endif |