Shop OBEX P1 Docs P2 Docs Learn Events
writing text on a display in reverse mode — Parallax Forums

writing text on a display in reverse mode

RobbanRobban Posts: 124
edited 2008-02-06 22:28 in BASIC Stamp
I wonder if it is possible to write a text in "reverse" mode...so when i "aim" the display on a mirror the text comes natural.
·

Comments

  • FranklinFranklin Posts: 4,747
    edited 2006-11-03 18:11
    It can be done. That said it will depend on what type of display and your program.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • RobbanRobban Posts: 124
    edited 2006-11-03 18:13
    i use a oled display with a hd44780 compatible driver.
    and use Pbasic with Basic stamp 2
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-11-03 18:15
    Robban,
    ·
    ·· You won’t really be able to do it with a character display…You’d maybe have to use two mirrors or something.· You could define custom characters in reverse, but that would only give you 8 characters.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • RobbanRobban Posts: 124
    edited 2006-11-03 18:21
    isn´t it possible to read the charters from the display that´s already there and modfy them?
  • FranklinFranklin Posts: 4,747
    edited 2006-11-03 18:44
    On a 'character display" the letters are configured inside the display and as Chris said there are only 8 custom characters available. You could use a graphics display or make your own.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • RobbanRobban Posts: 124
    edited 2006-11-03 20:08
    okej,so if i buy like the VFD display from parallaxx it would work?
    is there some kind of command to do this or do i have to make the char:s myself....read something about "reverse" on the datasheet..see below

    http://www.parallax.com/dl/docs/prod/audiovis/VFD-AppNote-01-V1.1.pdf
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-11-03 20:14
    Robban,
    ·
    ·· Because the VFD has a bitmap mode, you could do this with it, however it would be tedious.· You can’t just send a command to flip the character set.· Reverse on this display has a different meaning.· It makes background pixels white and character pixels dark, but they’re still normal as far as direction goes.· You may be able to draw the display in reverse, but you will have to map out all the pixels and dump them to the display as a bitmap image.· It could be done though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • RobbanRobban Posts: 124
    edited 2008-02-05 18:51
    Ok.
    I found the LCD charater creator and there was a funtion "mirror" and when i for ex..

    F = Char0 DATA $1F,$10,$10,$1E,$10,$10,$10,$00,$00,$00,$00

    and F "mirrored" would be.

    Char0 DATA $1F,$01,$01,$0F,$01,$01,$01,$00,$00,$00,$00

    is it possible to convert this so my graphical VFD prints the mirrored F?
    or is there any program to do this with?

    the datasheet on the VFD
    http://www.farnell.com/datasheets/90808.pdf

    /Robban
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-02-06 21:37
    Robban,

    On a character display a single character could be mirrored using the customer characters to simulate it. In fact, on most you could do this with up to 8 characters. Another option is if the display was graphics capable you could do it that way.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2008-02-06 22:28
    Eleven of the 26 capital letters have left-right symmetry. They are AHIMOTUVWXY. That leaves 15 that are asymmetrical: BCDEFGJKLNPQRSZ. If your message consists only of letters and includes no more than eight of the 15 asymmetrical ones, you can do what you want with a character display.

    -Phil
Sign In or Register to comment.