Smart Sensors and Applications - Page 288
MichelB
Posts: 154
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
Post Edited (MichelB) : 6/12/2009 4:09:06 PM GMT
Comments
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.