TM1638_plus 2.1.0
Arduino library for Tm1638 modules
Macros | Functions | Variables
TM1638plus_TEST_Model3.ino File Reference

demo file library for TM1638 module(8 bicolour green and red LEDs & 8 pushbuttons). More...

#include <TM1638plus_Model3.h>

Macros

#define STROBE_TM   4
 
#define CLOCK_TM   6
 
#define DIO_TM   7
 
#define myTestDelay   5000
 
#define myTestDelay1   1000
 
#define myTestDelay3   3000
 

Functions

void setup ()
 
void loop ()
 
void Test0 ()
 
void Test1 ()
 
void Test2 ()
 
void Test3 ()
 
void Test4 ()
 
void Test5 ()
 
void Test6 ()
 
void Test7 ()
 
void Test8 ()
 
void Test9 ()
 
void Test10 ()
 
void Test11 ()
 
void Test12 ()
 
void Test13 ()
 
void Test14 ()
 
void Serialinit ()
 

Variables

bool high_freq = false
 
TM1638plus_model3 tm (STROBE_TM, CLOCK_TM, DIO_TM, high_freq)
 
uint8_t testcount = 1
 

Detailed Description

demo file library for TM1638 module(8 bicolour green and red LEDs & 8 pushbuttons).

Author
Gavin Lyons
Note
Called Model 3 in this library. This model is labelled LKM1638 or tm1638 v1.3 Carries out series of tests demonstrating arduino library TM1638plus.
Test:
  1. Test 0 Reset
  2. Test 1 Brightness
  3. Test 2 ASCII display
  4. Test 3 Set a single segment
  5. Test 4 Hex digits
  6. Test 5 Text String with Decimal point
  7. Test 6 TEXT + ASCII combo
  8. Test 7 Integer Decimal number
  9. Test 8 Text String + Float
  10. Test 9 Text String + decimal number
  11. Test 10 Multiple dots
  12. Test 11 Display Overflow
  13. Test 12 Scrolling text
  14. Test 13 Green + red LEDS, setLED and setLEDs functions.
  15. Test 14 Buttons + LEDS