|
Adafruit LED Backpack Library
|
Class for four-digit alphanumeric displays. More...
#include <Adafruit_LEDBackpack.h>
Public Member Functions | |
| Adafruit_AlphaNum4 (void) | |
| Constructor for four-digit alphanumeric displays. | |
| void | writeDigitRaw (uint8_t n, uint16_t bitmask) |
| Write single character of alphanumeric display as raw bits (not a general print function). More... | |
| void | writeDigitAscii (uint8_t n, uint8_t ascii, bool dot=false) |
| Write single ASCII character to alphanumeric display. More... | |
Public Member Functions inherited from Adafruit_LEDBackpack | |
| Adafruit_LEDBackpack (void) | |
| Constructor for HT16K33 devices. | |
| bool | begin (uint8_t _addr=0x70, TwoWire *theWire=&Wire) |
| Start I2C and initialize display state (blink off, full brightness). More... | |
| void | setDisplayState (bool state) |
| Turn display on or off. More... | |
| void | setBrightness (uint8_t b) |
| Set display brightness. More... | |
| void | blinkRate (uint8_t b) |
| Set display blink rate. More... | |
| void | writeDisplay (void) |
| Issue buffered data in RAM to display. | |
| void | clear (void) |
| Clear display. | |
Additional Inherited Members | |
Public Attributes inherited from Adafruit_LEDBackpack | |
| uint16_t | displaybuffer [8] |
| Raw display data. | |
Protected Attributes inherited from Adafruit_LEDBackpack | |
| Adafruit_I2CDevice * | i2c_dev = NULL |
| Pointer to I2C bus interface. | |
Class for four-digit alphanumeric displays.
| void Adafruit_AlphaNum4::writeDigitRaw | ( | uint8_t | n, |
| uint16_t | bitmask | ||
| ) |
Write single character of alphanumeric display as raw bits (not a general print function).
| n | Character index (0-3). |
| bitmask | Segment bitmask. |
| void Adafruit_AlphaNum4::writeDigitAscii | ( | uint8_t | n, |
| uint8_t | ascii, | ||
| bool | dot = false |
||
| ) |
Write single ASCII character to alphanumeric display.
| n | Character index (0-3). |
| ascii | ASCII character. |
| dot | If true, also light corresponding dot segment. |
1.8.13