mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
.. | ||
.github/workflows | ||
examples | ||
test | ||
.arduino-ci.yml | ||
keywords.txt | ||
library.json | ||
library.properties | ||
LICENSE | ||
README.md | ||
TM1637.cpp | ||
TM1637.h |
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