Веб-документация библиотеки расширений PureData CEAMMC
доступно с версии: 0.9.8
Only Raspberry Pi support Handles communication with the MAX7219 chip for 7-segmented or 8x8 LED dot matrix displays. Each display can be connected in series with another and controlled via a single connection. Note: in case of LED dot matrix display only write_bits and write_reg commands will work as expected Note: 7-segment LED display supports only this charset: -_0123456789ABCDEFGHIJLOPSUbcdhnoqrtu Note: if the device address argument is -1 or omitted, requested action is applied for all devices in a chain.
LEVEL intensity level
тип: int
обязательно: True
[ADDR=-1] target display address in the chain
тип: int
ADDR=0 target display address in the chain
тип: int
обязательно: True
BITS list of bits. Max length: 256
тип: list
обязательно: True
ADDR=0 target display address in the chain
тип: int
обязательно: True
DATA list of bytes. Max length: 8
тип: list
обязательно: True
VAL value
тип: float
обязательно: True
[PRECISION] precision after the dot
тип: int
[ADDR] display address in the chain. If omitted or -1: write to all displays
тип: int
INT value
тип: int
обязательно: True
[ADDR=0] display address in the chain
тип: int
INT value
тип: int
обязательно: True
[ADDR] display address in the chain. If omitted or -1: write to all displays
тип: int
REG max7219 register index
тип: int
обязательно: True
DATA the register value
тип: int
обязательно: True
[ADDR=0] target display address in the chain
тип: int
STR string. maxlength: 8 chars
тип: symbol
обязательно: True
[DOTS] dots as bit value. For ex.: 0b00000011 turn on a two leftmost dots
тип: int
[ALIGN=right] string align
тип: symbol
[ADDR=0] display address in the chain
тип: int
@cs (initonly)
Запросить/установить CS (ChipSelect, SlaveSelect or ChipEnable) index
тип: int
диапазон: 0..3
по умолчанию: 0
@displays (initonly)
Запросить/установить number of displays connected into the chain
тип: int
диапазон: 1..8
по умолчанию: 1
@spi (initonly)
Запросить/установить SPI bus number.
тип: int
диапазон: 0..6
по умолчанию: 0
led display max7219 spi rpi arduino
Авторы: Serge Poltavsky
Лицензия: GPL3 or later