Shop OBEX P1 Docs P2 Docs Learn Events
Smart Sensors and Applications - Page 288 — Parallax Forums

Smart Sensors and Applications - Page 288

MichelBMichelB Posts: 154
edited 2009-06-13 09:03 in Accessories
Hi, I saved a copy of TwoAxisBarDisplay.bs2 as TwoAxisBarDisplayTest.bs2 and modified Main Routine as indicated. I noticed that both columns 8 and 9 are displayed just after column 8 was displayed. Please find herewith attached this file. Best regards. MichelB

Post Edited (MichelB) : 6/12/2009 4:09:06 PM GMT

Comments

  • Jessica UelmenJessica Uelmen Posts: 490
    edited 2009-06-12 16:35
    Hi MichelB,

    That is the way the program is designed to function.· Since the Parallax Serial LCD has a 16-column horizontal display, TwoAxisBarDisplay.bs2 is programmed to show you when the display is directly in the middle.· Otherwise, if you only display on bar at point 8, you'll have 8 columns to the left and 7 columns to the right, never having a "centered" display.··Below is a figure·to·demonstrate the issue:
    ·······················_
    _ _ _ _ _ _ _ _ |_| _ _ _ _ _ _ _· <- Display without programming (middle of the count, but not centered on the screen)
    ··················· _·· _
    _ _ _ _ _ _ _ |_||_| _ _ _ _ _ _ _ <- Middle display (middle of the count, centered on the screen)

    Hope this helps!

    Jessica

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jessica Uelmen
    Education Department
    Parallax, Inc.
  • MichelBMichelB Posts: 154
    edited 2009-06-13 09:03
    OK, thank you Jessica. Best regards, MichelB
Sign In or Register to comment.