Skip to content

question about the ili9341 stm32f4 spi driver #27

Answered by MaJerle
franksterb92 asked this question in Q&A
Discussion options

You must be logged in to vote

Fonts are described as a fixed size array, for instance variable TM_Font7x10 has 10 uint16_t array values per character.
Each character line is described as bitfield where font is "active" and where we should draw background.

If we draw from left to right, we want to check always bits from left to right. This is done by shifting our uint16_t value by j and then check MSB bit. Mask for MSB bit is 0x8000.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@franksterb92
Comment options

Answer selected by franksterb92
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