alexthomazo / TM1637_RT

TM1637 library for Arduino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

TM1637 library for Arduino

License:MIT License


Languages

Language:C++ 100.0%