Display_Lib_RPI 2.3.0
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
Macros
main.cpp File Reference

A demo file library for TM1638 module Works on Model 1 and Model 3 Carries out series of tests demonstrating arduino library TM1638plus. Project Name: Display_Lib_RPI URL: https://github.com/gavinlyonsrepo/Display_Lib_RPI. More...

#include <cstdio>
#include <ctime>
#include <signal.h>
#include <cstdlib>

Detailed Description

A demo file library for TM1638 module Works on Model 1 and Model 3 Carries out series of tests demonstrating arduino library TM1638plus. Project Name: Display_Lib_RPI URL: https://github.com/gavinlyonsrepo/Display_Lib_RPI.

Author
Gavin Lyons
Note
Change the define in USER OPTION SECTION to change between model 1 & model 3
Test:
  1. Test0 = reset
  2. Test1 = Brightness
  3. Test2 = ASCII display
  4. Test3 = Set a single segment
  5. Test4 = Hex digits
  6. Test5 = Text String with Decimal point
  7. Test6 = TEXT + ASCII combo
  8. Test7 = Integer Decimal number
  9. Test8 = Text String + Float hack
  10. Test9 = Text String + decimal number
  11. Test10 = Multiple Decimal points
  12. Test11 = Display Overflow
  13. Test12 = Scrolling text
  14. Test13 = setLED and setLEDs
  15. Test14 = Buttons + LEDS NOTE: Press S1 & S8 together to quit