ssd1362 for python
Project description
# ssd1362
oled(ssd1363) controller (tested with jetson nano)
This module use linux’s spidev, g4l(gpio), numpy
link : (https://gitlab.com/telelian/peripheral-library/ssd1362.git)
## Usage
### class
Ssd1362(spibus, spidev, io_dc)
parameters
spibus, spidev - spi device info - looks like /dev/spidev{spibus}.{device}
io_dc - data/command select pin number for ssd1362 - check your schematics
### methods
Ssd1362.loadframe(buf)
parameters
buf - load buffer for oled’s pixel - width : 256, height : 64 - list[height][width] - pixel’s gray level : 0 ~ 255 (convert to 16 level in show)
Ssd1362.show(gray_level)
parameters
gray_level - ssd1362’s pixel gray scale - min:0 ~ max:15
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ssd1362_py-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1835d6b01ee3d05e6ef87b978f298a6da1aa395d134535feacdfe1a2220968 |
|
MD5 | 98ac569d19cb8d850d7eade24952852a |
|
BLAKE2b-256 | 1c4d07408368d6dbed1794d711c8c7afc037b8d8956692b27bd15c7ed4c73199 |