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