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

A demo file library for TM1637 module Works on Model 4 Carries out series of tests demonstrating arduino library TM1637plus. Project Name: Display_Lib_RPI. More...

#include <TM1637plus_Model4_RDL.hpp>

Detailed Description

A demo file library for TM1637 module Works on Model 4 Carries out series of tests demonstrating arduino library TM1637plus. Project Name: Display_Lib_RPI.

Author
Gavin Lyons

setSegments function those not touch the ASCII font table and takes raw data Segment data used by other functions is is from the ASCII table in font file gfedcba (seven segments ) In gfedcba representation, a byte value of 0x06 would turn on segments "c" and "b", which would display a "1". https://en.wikipedia.org/wiki/Seven-segment_display URL: https://github.com/gavinlyonsrepo/Display_Lib_RPI

Note
Only tested on 4 digit + semi colon model,
Test:
  1. Test 1 setSegments and encode digit functions
  2. Test 2 decimal number testing
  3. Test 3 string display
  4. Test 4 Brightness & on/off