New topic: Led display fonts...
<http://forums.realsoftware.com/viewtopic.php?t=34364> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message JustSomeGuy Post subject: Led display fonts...Posted: Wed Jun 23, 2010 9:07 am Joined: Fri May 11, 2007 11:35 am Posts: 901 I really like the look of an app with Multi Segment Displays. I found a really good 7 segment display here on the board. but has anyone found a multi segment display like this for RB? Or at least the bit map images? http://rbytes.net/software/teroid-multi-segment-display-review/ How would I make my 7 segment display look like it had a piece of glass over the top? _________________ 6502 Assembler on Steroids Top jefftullin Post subject: Re: Led display fonts...Posted: Wed Jun 23, 2010 10:24 am Joined: Wed Nov 15, 2006 3:50 pm Posts: 1672 Location: England Not sure this needs bitmap images, although I can see that would work. You'ld need one picture per character, held in an array, and accessed by the ASCII value of the letter you needed. A less bitmappy solution would be to define each letter in binary, and literally draw the letters as required. Each letter space in the display has a matrix, formed of a solid background color, an 'unset' color used for all the unlit dots, and a 'set' color used for all the lit dots. By setting the 3 colors at runtime, you could simulate all the versions of the display seen there. The letter definitions themselves appear to be defined as a 7 x 9 matrix, which corresponds nicely to the definitions used in old 9 pin dot matrix printers. Here is a number 3 1111110 0000001 0000001 1111110 0000001 0000001 1111110 _________________ RB2009 R5.1 and RB2008 Mac 10.6 + Windows 7/XP + Ubuntu Linux in Vmware on a Macbook 2.16 Top DaveS Post subject: Re: Led display fonts...Posted: Wed Jun 23, 2010 10:45 am Joined: Sun Aug 05, 2007 10:46 am Posts: 2415 Location: San Diego, CA intriguing idea...... I just might have to make a LED class for the fun of it.... entire ASCII character set could be stored in just over 1k of space... _________________ Dave Sisemore MacPro, OSX 10.6.2 RB2009r5.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top JustSomeGuy Post subject: Re: Led display fonts...Posted: Wed Jun 23, 2010 11:00 am Joined: Fri May 11, 2007 11:35 am Posts: 901 S-Copinger gave me a copy of his SevenSegment canvas object... Its pretty much what I need for number... but 7 segments isn't good enough for text.. so I've seen some nice dot matrix images in that link I posted... _________________ 6502 Assembler on Steroids Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
