Noiasca HT16K33
A library for HT16K33 LED displays - 7 segment and 14 segment
|
class for HT16K33 displays with 14 segment LEDs More...
#include <NoiascaHt16k33.h>
Public Member Functions | |
uint32_t | scroll () |
scroll the text More... | |
void | setScrollInterval (uint16_t newInterval) |
set scroll interval More... | |
void | setScrollWait (uint16_t newWait) |
set wait time between scrolling More... | |
void | setScrolltext (const char *newText) |
set a scrolltext More... | |
![]() | |
uint8_t | begin (uint8_t i2c_addr, uint8_t numDevices=1) |
initialise hardware More... | |
void | blinkRate (uint8_t b) |
set the blink rate of the display | |
void | clear (void) |
Clear the display and place cursor to 0. More... | |
void | off (void) |
Turn the display off. | |
void | on (void) |
Turn the display on. | |
bool | isConnected (void) |
check if all ICs are responding More... | |
void | setBrightness (uint8_t b) |
set the brightness of the display More... | |
void | setCursor (uint8_t newPosition) |
set the cursor for the next writing position More... | |
void | setDigits (uint8_t newDigits) |
set the number of digits per device More... | |
void | writeLowLevel (uint8_t position, uint16_t bitmask) |
write to I2C More... | |
class for HT16K33 displays with 14 segment LEDs
This is for displays with up to eight 14 segment LEDs. This class can be used to scroll the text in the display.
uint32_t Noiasca_ht16k33_hw_14_ext::scroll | ( | ) |
scroll the text
The tick/run/do method for scrolling text. Call this function in your loop().
void Noiasca_ht16k33_hw_14_ext::setScrollInterval | ( | uint16_t | newInterval | ) |
set scroll interval
Set the speed of the scroll effect.
newInterval | speed in milliseconds |
void Noiasca_ht16k33_hw_14_ext::setScrollWait | ( | uint16_t | newWait | ) |
set wait time between scrolling
sets the wait/timeout after all letters are scrolled to the display
newWait | the new wait time in milliseconds |
void Noiasca_ht16k33_hw_14_ext::setScrolltext | ( | const char * | newText | ) |
set a scrolltext
sets the new scrolltext to be displayed and scrolled
*newText | the new text (or number) |