Noiasca HT16K33
A library for HT16K33 LED displays - 7 segment and 14 segment
Public Member Functions | List of all members
Noiasca_ht16k33_hw_14_ext Class Reference

class for HT16K33 displays with 14 segment LEDs More...

#include <NoiascaHt16k33.h>

Inheritance diagram for Noiasca_ht16k33_hw_14_ext:
Noiasca_ht16k33_hw_14 Noiasca_ht16k33

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...
 
- Public Member Functions inherited from Noiasca_ht16k33
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...
 

Detailed Description

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.

Member Function Documentation

◆ scroll()

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().

◆ setScrollInterval()

void Noiasca_ht16k33_hw_14_ext::setScrollInterval ( uint16_t  newInterval)

set scroll interval

Set the speed of the scroll effect.

Parameters
newIntervalspeed in milliseconds

◆ setScrollWait()

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

Parameters
newWaitthe new wait time in milliseconds

◆ setScrolltext()

void Noiasca_ht16k33_hw_14_ext::setScrolltext ( const char *  newText)

set a scrolltext

sets the new scrolltext to be displayed and scrolled

Parameters
*newTextthe new text (or number)