Struct SYN_Seg7¶
7-Segment Display Instance Context.
#include <syn_seg7.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | active_digit |
| uint8_t | digit_buffers |
| SYN_GPIO_Pin | digit_pins |
| bool | leading_zeros |
| uint8_t | num_digits |
| SYN_GPIO_Pin | segment_pins |
| SYN_Seg7Type | type |
Public Attributes Documentation¶
variable active_digit¶
Active scanning digit index
variable digit_buffers¶
Raw segment bitmask per digit
variable digit_pins¶
Digit selection pins
variable leading_zeros¶
True to display leading zeros
variable num_digits¶
Total number of digits (1 to 8)
variable segment_pins¶
Segment pins: A, B, C, D, E, F, G, DP
variable type¶
Common Cathode or Common Anode
The documentation for this class was generated from the following file src/syntropic/display/syn_seg7.h