HD44780 supports 8 programmable characters, using them we can show digits like on 7-segment LED display.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
lcd_big.cplain - 8.94 kB - 04/09/2018 at 18:02 |
|
Create an account to leave a comment. Already have an account? Log In.
Uploaded a file with source code. Added a couple photos. One of them shows colon and space between groups of digits so it can be clock. The second is a development board what I use.
I didn't use character LCDs much. I made one 7-segment digits set using 4 character places for one digit, and I didn't like how it looked. Yours is much better.
Seeing your addition of colon between the digits, I must ask you: can one create custom characters on the fly?
You need 6 custom characters for digits (up, down, up & down, left, right, left & right), and you would need additional three custom characters for colon between each possible combination of digits (left & dot, dot & right, left & dot & right).
That's total of nine. I thought there were only 8 spaces for custom characters map in HD44780?
So, how do you do it? And, once you reprogram one of the existing custom chars, do ones of same code, already printed on screen, remain as they previously were, until they are written over?
Ah, I get it now :-) .
There is no trick: the dots are not inserted in usual gap between adjacent digits, digit on the right has its separate beginning in another column, so there is no sharing of same character for both lines and a dot.
I was thinking inside my own box.
I think I've seen a similar technique already. Not this one precisely though, but the idea is similar : use 2 characters to create one symbol. It was long ago so I'm sorry I can't give a reference :-/
I see my error : THAT version is much smarter and better ! :-D
This is an interesting technique. Do you have any more info about it?
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
@Yann Guidon / YGDES , Here is a link to a version that dosen't look too bad.
https://www.flickr.com/photos/funnypolynomial/6839733307/
But I think Witalls version is better. I have to try them out both and see which that actually looks better. Maybe the background light and the contrast will make a difference....
Then there's a version that looks ultra-fat - that one I don't like at all.