Metadata-Version: 2.0
Name: ssd1362-py
Version: 0.1.5
Summary: ssd1362 for python
Home-page: https://gitlab.com/telelian/peripheral-library/ssd1362.git
Author: mrzjo
Author-email: mrzjo05@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Hardware
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy (==1.18.1)
Requires-Dist: spidev (==3.4)
Requires-Dist: g4l (==0.1.3)

# 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


