Shop OBEX P1 Docs P2 Docs Learn Events
code for lcd screen — Parallax Forums

code for lcd screen

LIZ56LIZ56 Posts: 3
edited 2007-12-16 22:45 in BASIC Stamp
I am really new to the boe-bot and I am curious about using a digital compass/ lcd screen. I want the compass info (i.e. '30 degrees east of north' etc.) to display on the 2x16 lcd screen. The code given by parallax under their products section doesnt seem to work/ I don't know how to modify it to display the info from the compass. Does anyone know what BASIC programming code to use? Thanks so much,

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-16 22:27
    The code given on the product page for any Parallax product should work. It's all tested before posting. There must be something about your setup that doesn't match the requirements of the code (usually well documented in the code and documentation for the product). You'll have to give more information about your setup and the actual code you're using.
  • LIZ56LIZ56 Posts: 3
    edited 2007-12-16 22:37
    I am only unsure what code to use that tells the boe-bot to output its compass info on the lcd. There is no example code for this from parallax; there's only one on how to send one line strings of text from the computer to the lcd. I don't know how to replace that text with the info from the compass.
  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-16 22:45
    Well, you'll have to define how you want to convert the compass output to text.
    Particularly, you'll have to decide, based on the compass position (in degrees
    or radians) how you want to display it. Once you've developed the rules, I'm
    sure we can make suggestions, but there are no ready-to-go examples.
Sign In or Register to comment.