Веб-документация библиотеки расширений PureData CEAMMC
доступно с версии: 0.9.8
Both I²C and SPI connections are supported. I²C connection is not fast. Note: you should send [flush( message to transfer internal pixel buffer to the device
flush
flush internal buffer to the device
X X coord (from the left)
тип: int
обязательно: True
Y Y coord (from the top)
тип: int
обязательно: True
VALUE pixel value
тип: bool
обязательно: True
TXT text
тип: symbol
обязательно: True
X left text X coordinate
тип: int
обязательно: True
Y top text Y coordinate
тип: int
обязательно: True
X bitmap X coordinate
тип: int
обязательно: True
Y bitmap Y coordinate
тип: int
обязательно: True
WIDTH bitmap width in pixels
тип: int
обязательно: True
PIXELS list of pixels (0 or 1)
тип: list
обязательно: True
@i2c_addr (initonly)
Запросить/установить I²C address. Also 'default' value is accepted (for addr 0x3c) and 'alt' (for
addr 0x3d)
тип: int
диапазон: -4..119
по умолчанию: -1
@i2c_bus (initonly)
Запросить/установить I²C bus
тип: atom
варианты: 1, 2, 3, 4, 5, 6, default, none
по умолчанию: none
@mode (initonly)
Запросить/установить display connection
тип: symbol
варианты: i2c, spi
по умолчанию: i2c
@size (initonly)
Запросить/установить display size
тип: list
по умолчанию: 128 64
@spi_bus (initonly)
Запросить/установить SPI bus
тип: int
диапазон: 0..6
по умолчанию: 0
@spi_cs (initonly)
Запросить/установить CS (chip select) GPIO pin
тип: int
диапазон: -1..127
по умолчанию: -1
@spi_dc (initonly)
Запросить/установить DC (data/command) GPIO pin
тип: int
диапазон: -1..127
по умолчанию: -1
@spi_freq (initonly)
Запросить/установить SPI frequency
тип: int
единица: Hz
диапазон: 100000..10000000
по умолчанию: 1000000
@spi_rs (initonly)
Запросить/установить RS (reset) GPIO pin
тип: int
диапазон: -1..127
по умолчанию: -1
Авторы: Serge Poltavsky
Лицензия: GPL3 or later