Skip to content

Blurry/tall text using AliExpress 240x128 3.37" SSD1322 OLED #2308

Answered by TomsJensen
TomsJensen asked this question in Q&A
Discussion options

You must be logged in to vote

So, good news, I believe I've fixed my problem.

It appears to be a problem with the setup (init seq) after all, specifically an issue with the 0xA0 register (controls re-map and com line modes, evidently). I converted the existing line U8X8_CAA(0xa0, 0x36, 0x11) to binary U8X8_CAA(0xa0, 0b000110110, 0b00010001), and tried flipping the bits (as detailed in the datasheet) one by one to observe the effects.
The effects are roughly as follows:

// A0: Complete chaos.
// A1: Flips vertically.
// A2: Garbles columns
// A4: Flips horizontally.
// A5: Adds blank horizontal lines.
// B4: Makes stuff 'blurry'.

My end result was U8X8_CAA(0xa0, 0b000110110, 0b00000001), and it yields nice crisp text.…

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@TomsJensen
Comment options

@TomsJensen
Comment options

Comment options

You must be logged in to vote
10 replies
@olikraus
Comment options

@TomsJensen
Comment options

@TomsJensen
Comment options

@TomsJensen
Comment options

Answer selected by TomsJensen
@olikraus
Comment options

@TomsJensen
Comment options

@olikraus
Comment options

@TomsJensen
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants