Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSample app for the hd44780u LCD driver on tiva C #253
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Can you elaborate about sizes of each component used (chario, hd) ? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
simias
Dec 4, 2014
Contributor
@0xc0170: sizes? As in std::mem::size_of?
The LCD driver implements a very rough CharIO trait by displaying chars at the current pointer position, wherever that is. That means that if the text goes outside of the screen it won't be displayed (no \n insertion). I didn't bother making it more complicated than that because given the small amount of displayable characters (16x2 at most) you'll probably have to implement a custom drawing function if you have a lot of text to display anyway.
|
@0xc0170: sizes? As in The LCD driver implements a very rough CharIO trait by displaying chars at the current pointer position, wherever that is. That means that if the text goes outside of the screen it won't be displayed (no \n insertion). I didn't bother making it more complicated than that because given the small amount of displayable characters (16x2 at most) you'll probably have to implement a custom drawing function if you have a lot of text to display anyway. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
simias
Dec 4, 2014
Contributor
As for the size of the binary I'm not entirely sure where the bloat comes from.
|
As for the size of the binary I'm not entirely sure where the bloat comes from. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
LGTM, I'll look into binary sizes. |
simias commentedDec 4, 2014
Some sample code for the HD44780U driver that got merged a while back. It creates pretty huge binaries too (12304B for my last build).