olikraus / u8g2

U8glib library for monochrome displays, version 2
Other
5.16k stars 1.05k forks source link

CAD SSD13xx_fast_i2c #768

Open olikraus opened 5 years ago

olikraus commented 5 years ago

followup for: https://github.com/olikraus/u8g2/issues/735

u8x8_cad_ssd13xx_i2c            Put a I2C start/stop around each command and each argument  --> many start/stop commands
u8x8_cad_ssd13xx_fast_i2c       Put a I2C start/stop around each command+arg sequence       --> start/stop is probably halfed --> 4% faster

in codebuild,c, replace the existing i2c cad procedure with the fast_i2c procedure. Candidates are listed below. Criteria: 1) No cmd arg must be longer than 31 bytes. 2) fast_i2c mode (cmd and args are sent together) must be supported. Clarification: The controller must support the combination of cmd and arg together. This is probably the case for all controllers.

SH1106 SH1107 --> DONE SH1108 SH1122 SSD1309 SSD1317 SSD1325 SSD0323 SSD1326 SSD1327 ST7567 ST7588

olikraus commented 2 years ago

see also #1804