demo file library for "model 2" TM1638 module(16 KEY 16 pushbuutons).
More...
|
#define | STROBE_TM 4 |
|
#define | CLOCK_TM 6 |
|
#define | DIO_TM 7 |
|
#define | myTestDelay 5000 |
|
#define | myTestDelay1 1000 |
|
#define | myTestDelay2 250 |
|
|
void | setup () |
|
void | loop () |
|
void | Serialinit () |
|
void | Test1 (void) |
|
void | Test2 (void) |
|
void | Test3 (void) |
|
void | Test4 (void) |
|
void | Test5 (void) |
|
void | Test6 (void) |
|
void | Test7 (void) |
|
void | Test8 (void) |
|
void | Test9 (void) |
|
|
bool | swap_nibbles = false |
|
bool | high_freq = false |
|
TM1638plus_Model2 | tm (STROBE_TM, CLOCK_TM, DIO_TM, swap_nibbles, high_freq) |
|
uint8_t | testcount = 0 |
|
demo file library for "model 2" TM1638 module(16 KEY 16 pushbuutons).
- Author
- Gavin Lyons
- Note
- Carries out series of tests demonstrating arduino library TM1638plus. The tests will increment automatically with exception of test9, to enter press S16 during test8
- Test:
- Test 0 reset function test
- Test 1 decimal numbers
- Test 2 Hexadecimal number
- Test 3 manually set segments
- Test 4 Display strings
- Test 5 ASCII to segments ( no reference to font table)
- Test 6 Brightness control
- Test 7 Scroll text example
- Test 8 Push buttons ReadKey16() buttons function , press 16 to goto test9
- Test 9 Push buttons ReadKeys16Two() alternate buttons function