rsocor01, This may be a starting point:
Dave Purola,
N8NTA
EN82fn
Actually, I have run into a similar LCD design very recently and have to eventually work on it. What he has is a segmented LCD glass with a controller. The various segments are scattered around the face of the lcd and not similar to a 7 segment LEDs grouping. Look carefully and you will find bits of each pattern are scattered around the lcddata bytes. To my mind, what rsocor01 has got now seems suitable if not ideal.
Dave,
This LCD is actually a 7-segments, 4 commons, multiplexed display. That code is more for an LED display type.
Jerson,
Thanks for your comment. So, you know that this displays are a pain in the neck to work with. The code that I posted works perfectly fine, and it can serve as a reference for somebody working with these displays in the future. However, it takes a lot of code space. I was hoping PBP could do something like
But, I don't think that it can do it. Any ideas?Code:DIGIT_0.0 VAR LCDDATA0.7 DIGIT_0.1 VAR LCDDATA3.7 DIGIT_0.2 VAR LCDDATA6.7 ......... And so on
"No one is completely worthless. They can always serve as a bad example."
Anonymous
Even if it could, the underlying code will still have to do the same hard work of juggling bits around. So, eventually, there may only be syntactic sugar, but the bitterness will remain(code size).
Hello
Which pic are you using? There are some newer chips like the 16f1939 with 1k ram and 16K of program space. There are 18f with double.
Bookmarks