Shop OBEX P1 Docs P2 Docs Learn Events
3 axis to display on 4X20 LCD — Parallax Forums

3 axis to display on 4X20 LCD

lasernerdlasernerd Posts: 7
edited 2008-07-29 01:56 in BASIC Stamp
Ok how can i get the LCD screen to display the data instead of the PC debug screen

bs2,4x20 LCD,H48C

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-07-28 00:51
    Start by reading the documentation that came with the LCD and the stamp editor help file on serout.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • beazleybubbeazleybub Posts: 102
    edited 2008-07-28 07:01
    lasernerd,

    Do you have a serial or parallel LCD?

    If you are using a parallel LCD it would me much easier and resourceful to use a serial LCD converter board from Modern Device Co. http://www.moderndevice.com/LCD.shtml

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    What if there was nothing? Nothing is something!
  • lasernerdlasernerd Posts: 7
    edited 2008-07-28 14:55
    I do have the serial LCD.3 pin. gnd.5v,rx
  • beazleybubbeazleybub Posts: 102
    edited 2008-07-28 15:26
    Have a look here.
    http://www.parallax.com/dl/docs/prod/audiovis/SICSerialLcd.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    What if there was nothing? Nothing is something!
  • lasernerdlasernerd Posts: 7
    edited 2008-07-29 01:08
    thanks!
    I got a quick schooling there,but it is still not clear to me how to display the 3 axis data..
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-07-29 01:56
    I suppose your 3-axis data are associated with a unique variable.· Long story short -- you would use SEROUT to send those values to the LCD.

    SEROUT pin#, baudmode, [noparse][[/noparse]DEC xaxis, DEC yaxis, DECzaxis]

    Spend some time with PBASIC Help, specifically SEROUT.· If you need more details then upload your program as an attachment.
Sign In or Register to comment.