TM1638_plus 2.2.0
Arduino library for Tm1638 modules
Classes | Macros | Functions | Variables
TM1638plus_TEST_Model2.ino File Reference

demo file library for "model 2" TM1638 module(16 KEY 16 pushbuutons). More...

#include <TM1638plus_Model2.h>

Classes

class  Button16Handler
 

Macros

#define STROBE_TM   4
 
#define CLOCK_TM   6
 
#define DIO_TM   7
 
#define myTestDelay   5000
 
#define myTestDelay1   1000
 
#define myTestDelay2   250
 

Functions

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)
 

Variables

bool swap_nibbles = false
 
bool high_freq = false
 
TM1638plus_Model2 tm (STROBE_TM, CLOCK_TM, DIO_TM, swap_nibbles, high_freq)
 

Detailed Description

demo file library for "model 2" TM1638 module(16 KEY 16 pushbuutons).

Author
Gavin Lyons

Carries out series of tests demonstrating arduino library TM1638plus. The tests will increment automatically with exception of test9, to enter press S16 during test8 Button Class included for Test8, Output to Serial monitor at 9600 baud

Test:
  1. Test 0 reset function test
  2. Test 1 decimal numbers
  3. Test 2 Hexadecimal number
  4. Test 3 manually set segments
  5. Test 4 Display strings
  6. Test 5 ASCII to segments ( no reference to font table)
  7. Test 6 Brightness control
  8. Test 7 Scroll text example
  9. Test 8 Push buttons ReadKey16() buttons function , press 16 to goto test9
  10. Test 9 Push buttons ReadKeys16Two() alternate buttons function