PureData CEAMMC library web documentation
available since version: 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)
type: int
required: True
Y Y coord (from the top)
type: int
required: True
VALUE pixel value
type: bool
required: True
TXT text
type: symbol
required: True
X left text X coordinate
type: int
required: True
Y top text Y coordinate
type: int
required: True
X bitmap X coordinate
type: int
required: True
Y bitmap Y coordinate
type: int
required: True
WIDTH bitmap width in pixels
type: int
required: True
PIXELS list of pixels (0 or 1)
type: list
required: True
@i2c_addr (initonly)
Get/set I²C address. Also 'default' value is accepted (for addr 0x3c) and 'alt' (for
addr 0x3d)
type: int
range: -4..119
default: -1
@i2c_bus (initonly)
Get/set I²C bus
type: atom
enum: 1, 2, 3, 4, 5, 6, default, none
default: none
@mode (initonly)
Get/set display connection
type: symbol
enum: i2c, spi
default: i2c
@size (initonly)
Get/set display size
type: list
default: 128 64
@spi_bus (initonly)
Get/set SPI bus
type: int
range: 0..6
default: 0
@spi_cs (initonly)
Get/set CS (chip select) GPIO pin
type: int
range: -1..127
default: -1
@spi_dc (initonly)
Get/set DC (data/command) GPIO pin
type: int
range: -1..127
default: -1
@spi_freq (initonly)
Get/set SPI frequency
type: int
units: Hz
range: 100000..10000000
default: 1000000
@spi_rs (initonly)
Get/set RS (reset) GPIO pin
type: int
range: -1..127
default: -1
Authors: Serge Poltavsky
License: GPL3 or later