Experimental library for TM1637 driven displays.
TO ELABORATE
- 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()
To tune the timing of writing bytes.
- void setBitDelay(uint8_t bitDelay = 10)
- uint8_t getBitDelay()
See examples