Platform-agnostic library for SSD1315 OLED.
For font and image output lcd-image-converter is used ( Github, Sourceforge ).
Generation configuration is in SSD1315.xml
file, it are following:
- Font or image height must be exact multiple of 8 (padding can be used in lcd-image-converter).
- Width can be any (except zero).
- Conversion is monochrome.
- Conversion rules require custom script to achieve the following:
- Each byte represents column segment (with height of 8) in the image, LSB on the top and MSB on the bottom.
- Column segments go from left to right forming image row.
- Image rows go from top to bottom forming image.
- Initialization code taken from Github. Changing initialization sequence brakes operation (display stays black or hanging until power reset) whilst this sequence is not based on official datasheet.
- Horizontal addressing mode with setting page and column range (as described in datasheet) not works: changes not applied, display hanging, changing command order changes behaivior, etc. So only page addressing mode works well.
Yuriy Kapoyko [email protected]