Skip to content

Question about the data #2355

Answered by olikraus
jtannenba asked this question in Q&A
Discussion options

You must be logged in to vote

How does the library juggle the data to send to the display over i2c?

U8g2 will convert your ascii chars into a bitmap and send the bitmap data. This is, why you have to assign a font.
The font contains a bitmap image for each char.

but I can't see the data over the i2c as I expect.

As expected??? The SSD1306 expects bitmaps not ascii chars. Just read the SSD1306 datasheet then you will understand that the expected data of the SSD1306 is bitmap data. Don't get confused with those 16x2 dot matrix displays. They do expect ascii and do the conversion to dot matrix bitmaps internally in the hardware. However this is not at all true for SSD1306.

And this is also the reason why libs like u8…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jtannenba
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