GY-63_MS5611/libraries/TM1637_RT
2021-05-28 13:17:38 +02:00
..
.github/workflows add arduino-lint 2021-05-28 13:17:38 +02:00
examples update libs 2021-04-25 19:56:44 +02:00
test update libs 2021-04-25 19:56:44 +02:00
.arduino-ci.yml update libs 2021-04-25 19:56:44 +02:00
keywords.txt update libs 2021-04-25 19:56:44 +02:00
library.json update libs 2021-04-25 19:56:44 +02:00
library.properties update libs 2021-04-25 19:56:44 +02:00
LICENSE update libs 2021-04-25 19:56:44 +02:00
README.md update libs 2021-04-25 19:56:44 +02:00
TM1637.cpp update libs 2021-04-25 19:56:44 +02:00
TM1637.h update libs 2021-04-25 19:56:44 +02:00

Arduino CI GitHub release License: MIT

TM1637

Experimental library for TM1637 driven displays.

TO ELABORATE

Interface

  • TM1637() constructor
  • void init(uint8_t clockPin, uint8_t dataPin, uint8_t digits = 6) set up the connection of the pins to the display. As the display is only tested with a 6 digit display, this is used a s the default of the digits param.
  • void displayRaw(uint8_t * data, uint8_t pointPos)
  • void displayInt(long value)
  • void displayFloat(float value)
  • void displayHex(uint32_t value)
  • void displayClear() writes spaces to all positions.
  • void setBrightness(uint8_t b)
  • uint8_t getBrightness()

tuning function

To tune the timing of writing bytes.

  • void setBitDelay(uint8_t bitDelay = 10)
  • uint8_t getBitDelay()

Operation

See examples