Commit f0780e39 authored by Arnim Läuger's avatar Arnim Läuger Committed by Marcel Stör
Browse files

Add ssd1306_128x32 for U8G (#1571)

parent 7c3f7600
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
// //
// I2C based displays go into here: // I2C based displays go into here:
// U8G_DISPLAY_TABLE_ENTRY(sh1106_128x64_i2c) \ // U8G_DISPLAY_TABLE_ENTRY(sh1106_128x64_i2c) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x32_i2c) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_i2c) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_i2c) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_64x48_i2c) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1306_64x48_i2c) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1309_128x64_i2c) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1309_128x64_i2c) \
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
// U8G_DISPLAY_TABLE_ENTRY(pcd8544_84x48_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(pcd8544_84x48_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(pcf8812_96x65_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(pcf8812_96x65_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(sh1106_128x64_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(sh1106_128x64_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x32_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1306_64x48_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1306_64x48_hw_spi) \
// U8G_DISPLAY_TABLE_ENTRY(ssd1309_128x64_hw_spi) \ // U8G_DISPLAY_TABLE_ENTRY(ssd1309_128x64_hw_spi) \
......
...@@ -8,7 +8,7 @@ U8glib is a graphics library developed at [olikraus/u8glib](https://github.com/o ...@@ -8,7 +8,7 @@ U8glib is a graphics library developed at [olikraus/u8glib](https://github.com/o
I²C and SPI mode: I²C and SPI mode:
- sh1106_128x64 - sh1106_128x64
- ssd1306 - 128x64 and 64x48 variants - ssd1306 - 128x32, 128x64, and 64x48 variants
- ssd1309_128x64 - ssd1309_128x64
- ssd1327_96x96_gr - ssd1327_96x96_gr
- uc1611 - dogm240 and dogxl240 variants - uc1611 - dogm240 and dogxl240 variants
...@@ -107,6 +107,7 @@ Initialize a display via I²C. ...@@ -107,6 +107,7 @@ Initialize a display via I²C.
The init sequence would insert delays to match the display specs. These can destabilize the overall system if wifi service is blocked for too long. It is therefore advisable to disable such delays unless the specific use case can exclude wifi traffic while initializing the display driver. The init sequence would insert delays to match the display specs. These can destabilize the overall system if wifi service is blocked for too long. It is therefore advisable to disable such delays unless the specific use case can exclude wifi traffic while initializing the display driver.
- `u8g.sh1106_128x64_i2c()` - `u8g.sh1106_128x64_i2c()`
- `u8g.ssd1306_128x32_i2c()`
- `u8g.ssd1306_128x64_i2c()` - `u8g.ssd1306_128x64_i2c()`
- `u8g.ssd1306_64x48_i2c()` - `u8g.ssd1306_64x48_i2c()`
- `u8g.ssd1309_128x64_i2c()` - `u8g.ssd1309_128x64_i2c()`
...@@ -146,6 +147,7 @@ The init sequence would insert delays to match the display specs. These can dest ...@@ -146,6 +147,7 @@ The init sequence would insert delays to match the display specs. These can dest
- `u8g.pcd8544_84x48_hw_spi()` - `u8g.pcd8544_84x48_hw_spi()`
- `u8g.pcf8812_96x65_hw_spi()` - `u8g.pcf8812_96x65_hw_spi()`
- `u8g.sh1106_128x64_hw_spi()` - `u8g.sh1106_128x64_hw_spi()`
- `u8g.ssd1306_128x32_hw_spi()`
- `u8g.ssd1306_128x64_hw_spi()` - `u8g.ssd1306_128x64_hw_spi()`
- `u8g.ssd1306_64x48_hw_spi()` - `u8g.ssd1306_64x48_hw_spi()`
- `u8g.ssd1309_128x64_hw_spi()` - `u8g.ssd1309_128x64_hw_spi()`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment