Skip to content

Struct SYN_Seg7

ClassList > 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

uint8_t SYN_Seg7::active_digit;

Active scanning digit index


variable digit_buffers

uint8_t SYN_Seg7::digit_buffers[SYN_SEG7_MAX_DIGITS];

Raw segment bitmask per digit


variable digit_pins

SYN_GPIO_Pin SYN_Seg7::digit_pins[SYN_SEG7_MAX_DIGITS];

Digit selection pins


variable leading_zeros

bool SYN_Seg7::leading_zeros;

True to display leading zeros


variable num_digits

uint8_t SYN_Seg7::num_digits;

Total number of digits (1 to 8)


variable segment_pins

SYN_GPIO_Pin SYN_Seg7::segment_pins[8];

Segment pins: A, B, C, D, E, F, G, DP


variable type

SYN_Seg7Type SYN_Seg7::type;

Common Cathode or Common Anode



The documentation for this class was generated from the following file src/syntropic/display/syn_seg7.h