sed1330 update, issue #1086

This commit is contained in:
kraus 2023-06-06 21:02:04 +02:00
parent 78c6b28f08
commit a143183f0d
2 changed files with 17 additions and 13 deletions

View File

@ -305,11 +305,14 @@ https://github.com/olikraus/u8g2 ChangeLog
* SSD1306 96x39 (issue 1959) * SSD1306 96x39 (issue 1959)
* S1D15300 128x64, flip mode 1 not supported, (issue 2063) * S1D15300 128x64, flip mode 1 not supported, (issue 2063)
* SSD1362 256x64 (issue 1322, issue 2051) * SSD1362 256x64 (issue 1322, issue 2051)
* JLX160x80 (issue 2058) * ST75256 JLX160x80 (NOT TESTED, issue 2058)
* UC1638 240x128 (issue 2075) * UC1638 240x128 (issue 2075)
* SED1330 320x200 (issue 1086)
* Bugfix: Clear font_height_mode during setup to ensure correct default values in * Bugfix: Clear font_height_mode during setup to ensure correct default values in
cases where the u8g2 struct / class is created via dynamic memory allocation (issue 2046) cases where the u8g2 struct / class is created via dynamic memory allocation (issue 2046)
* Bugfix: Fix line draw procedure in 16 bit mode (issue 2053) * Bugfix: Fix line draw procedure in 16 bit mode (issue 2053)
* Added Spleen Monospaced Font from https://github.com/fcambus/spleen (issue 2015) * Added Spleen Monospaced Font from https://github.com/fcambus/spleen (issue 2015)
* Extended the "E" font range with subscript characters if available in the original font (issue 2079) * Extended the "E" font range with subscript characters if available in the original font (issue 2079)
* Bugfix for ESP32 HW SPI Pin Remapping (issue 377, PR 2123) * Bugfix for ESP32 HW SPI Pin Remapping (issue 377, PR 2123)
* Bugfix for LoadFromSD examle (issue 2179)
* Changed MUI_LABEL to support UTF8 (issue 2196)

View File

@ -398,7 +398,7 @@ static const uint8_t u8x8_d_sed1330_256x128_init_seq[] = {
U8X8_A(0x020), /* 32 */ /* Low byte of the virtual screen size. (Value confirmed with app notes p41) */ U8X8_A(0x020), /* 32 */ /* Low byte of the virtual screen size. (Value confirmed with app notes p41) */
U8X8_A(0), /* High byte of the virtual screen size, see also section 9.1.2 */ U8X8_A(0), /* High byte of the virtual screen size, see also section 9.1.2 */
U8X8_C(0x044), /* SCROLL */ U8X8_C(0x044), /* SCROLL, 11 Bytes in total */
U8X8_A(0x000), U8X8_A(0x000),
U8X8_A(0x000), U8X8_A(0x000),
U8X8_A(0x080), U8X8_A(0x080),
@ -481,26 +481,27 @@ static const uint8_t u8x8_d_sed1330_320x200_init_seq[] = {
/* system init command, see also u8x8_d_sed1330_powersave0_seq */ /* system init command, see also u8x8_d_sed1330_powersave0_seq */
U8X8_CA(0x040, 0x030), /* sys init (0x040) with one arg, where 0x030 is a wild guess */ U8X8_CA(0x040, 0x030), /* sys init (0x040) with one arg, where 0x030 is a wild guess */
/* system init has total 8 parameters, so 7 more are here */ /* system init has total 8 parameters, so 7 more are here */
U8X8_A(0x087), /* no idea here... WF (topmost bit) is set to one because it is suggested in the datasheet, lowest 3 bits refer to text mode only */ U8X8_A(0x087), /* no idea here... WF (topmost bit) is set to one because it is suggested in the datasheet, lowest 3 bits refer to text mode only */
U8X8_A(0x007), /* FY: height of a char+1, does not matter here (hopefully), because we use graphics mode only */ U8X8_A(0x007), /* FY: height of a char+1, does not matter here (hopefully), because we use graphics mode only */
U8X8_A(0x027), /* 40-1 */ /* C/R: this could be the number of horizontal bytes - 1 (Value confirmed with app notes p41) */ U8X8_A(0x027), /* 40-1 */ /* C/R: this could be the number of horizontal bytes - 1 (Value confirmed with app notes p41) */
U8X8_A(0x039), /* TC/R: According to app notes fOSC=6Mhz fFF=70Hz --> TC/R = 74d*/ U8X8_A(0x02F), /* TC/R: According to app notes fOSC=6Mhz fFF=70Hz --> TC/R = 74d*/
U8X8_A(0x0c7), /* 0xc7=199, L/F: Lines per frame - 1, probably this is the height of the display - 1 (value confirmed with app notes p41)*/ U8X8_A(0x0c7), /* 0xc7=199, L/F: Lines per frame - 1, probably this is the height of the display - 1 (value confirmed with app notes p41)*/
U8X8_A(0x028), /* Low byte of the virtual screen size. (Value confirmed with app notes p41) */ U8X8_A(0x028), /* Low byte of the virtual screen size. (Value confirmed with app notes p41) */
U8X8_A(0), /* High byte of the virtual screen size, see also section 9.1.2 */ U8X8_A(0x000), /* High byte of the virtual screen size, see also section 9.1.2 */
U8X8_C(0x044), /* SCROLL */ U8X8_C(0x044), /* SCROLL, 11 Bytes in total */
U8X8_A(0x000), U8X8_A(0x000), /* Screen 1 Start Address (Low) = 00H */
U8X8_A(0x000), U8X8_A(0x000), /* Screen 1 Start Address (High) = 00H */
U8X8_A(0x0ef), U8X8_A(0x0c7), /* Screen Layer 1 Number of lines = 200d */
U8X8_A(0x0b0), U8X8_A(0x0b0), /* Screen 2 Start Address (Low) = 00H */
U8X8_A(0x004), U8X8_A(0x005), /* Screen 2 Start Address (High) = 00H */
U8X8_A(0x0ef), U8X8_A(0x0c7), /* Screen Layer 2 Number of lines = 200d */
U8X8_C(0x04C), /* Cursor Direction 0,0 Shift Direction = Right */
U8X8_A(0x000), U8X8_A(0x000),
U8X8_A(0x000), U8X8_A(0x000),
U8X8_A(0x000), U8X8_A(0x000),
U8X8_A(0x000),
U8X8_CA(0x05a, 0), /* HDOT SCR: Horizontal dotwise scroll... set to 0 */ U8X8_CA(0x05a, 0), /* HDOT SCR: Horizontal dotwise scroll... set to 0 */
U8X8_CA(0x05b, 0x0c), /* OVLAY: 2-layer, all graphics, OR between layer 1 and 2 */ U8X8_CA(0x05b, 0x0c), /* OVLAY: 2-layer, all graphics, OR between layer 1 and 2 */