Displaying single letters
GoogleCodeExporter opened this issue · 0 comments
GoogleCodeExporter commented
I'd like to be able to set individual positions using the "FONT_DEFAULT"
letters.
Perhaps you could change the setDisplayDigit to accept "font", FONT_DEFAULT as
the fourth argument, but still have it default to "NUMBER_FONT".
Original issue reported on code.google.com by dacomput...@gmail.com
on 15 Dec 2011 at 10:19
GoogleCodeExporter commented
Support implemented on v1.6.0
Original comment by rjbati...@gmail.com
on 15 Dec 2011 at 11:07
- Changed state: Verified
GoogleCodeExporter commented
Can you update the Wiki/Library Reference to show the new syntax?
Thanks!
Original comment by dacomput...@gmail.com
on 16 Dec 2011 at 1:47
GoogleCodeExporter commented
The reference is now updated.
Original comment by rjbati...@gmail.com
on 16 Dec 2011 at 10:28
GoogleCodeExporter commented
Actually, that's already what setDisplayDigit does!
The number font is a specific font for digits (including hexadecimal) and not a
general font like FONT_DEFAULT.
What I can do is set the setDisplayToString to receive a starting position
(defaulting to the start). I think that would solve your problem, right ?
Original comment by rjbati...@gmail.com
on 15 Dec 2011 at 10:40
- Changed state: Accepted
- Added labels: Type-Enhancement
GoogleCodeExporter commented
Right now i'm setting all of the other digits individually with the
setDisplayDigit command.
I've tested to see if your suggestion might work.
I did this by setting digits 2-8 with the setDisplayDigit, while using
setDisplayString on the first digit, and it glitches my display.
All of the other numbers flicker.
Original comment by dacomput...@gmail.com
on 15 Dec 2011 at 11:01
GoogleCodeExporter commented
The setDisplayToString (till v1.5.2) ALWAYS updates the 8 digits - it doesn't
stop on '\0', so there is no way for it to work.
I'll have to change it to add a starting position and make it stop at the
string end.
Original comment by rjbati...@gmail.com
on 15 Dec 2011 at 11:06
GoogleCodeExporter commented
That sounds like it would work. :)
Thanks!
Original comment by dacomput...@gmail.com
on 15 Dec 2011 at 11:24