config.py

Configurations for LEDScorebard program

config.BRIGHTNESS = 60

Brightness (1-100) for LEDs of the matrix

Type

int

config.COLS = 64

Number of columnns in the LED matrix

Type

int

config.GPIO_CONTROL = 25

GPIO for control button

Type

int

config.GPIO_MAPPING = 'adafruit-hat'

Type of GPIO mappings for LED matrix bonet

Type

str

config.LALIGA_FAVS = ['FCB', 'ATB']

List of abbreviations of favorite teams in La Liga

Type

List[str]

config.MLB_FAVS = ['BOS']

List of abbreviations of favorite teams in MLB

Type

List[str]

config.NBA_FAVS = ['BKN', 'DAL']

List of abbreviations of favorite teams in NBA

Type

List[str]

config.NHL_FAVS = ['PHI', 'EDM', 'BOS', 'WIN']

List of abbreviations of favorite teams in NHL

Type

List[str]

config.ROWS = 32

Number of rows in the LED matrix

Type

int