Shop OBEX P1 Docs P2 Docs Learn Events
SX/B does not support Parallel LCD's ??? — Parallax Forums

SX/B does not support Parallel LCD's ???

christophereet1christophereet1 Posts: 1
edited 2005-07-11 12:23 in General Discussion
I haven't been using the SX/B yet but I would like to find out more

I found code in assembly that works with the SX but could not find
any commands in the new basic that support most LCD's like the
HD44780. It does not seem cost effective to ever use a serial LCD.

My question can I mix the basic commands with the assembly commands?

Is there commands in your new basic that support the HD44780?

By they way this is cool turn.gif

Comments

  • BeanBean Posts: 8,129
    edited 2005-01-14 12:30
    There are no LCD commands in SX/B.
    If you want to mix in assembly you can either prefix each assembly instruction with a "\" or use the ASM and ENDASM commands.

    BTW: In the help file there is an LCD example.

    Bean.
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2005-01-14 19:37
    Christopher,

    See the many LCD examples in the SX/B on-line help file.

    Ken Gracey
  • enowakenowak Posts: 9
    edited 2005-03-24 21:47
    I was wondering where the help files are located. I looked around the Parallax site and couldn’t anything for the SX chip and a parallel LCD
  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-03-24 21:59
    It was hiding right under your nose: http://www.parallax.com/sx/sxb.asp

    accessable via clicking on the link to the SX/B home page on the SX home page http://www.parallax.com/sx/index.asp

    the actual code is obtainable when you install the SX/B software.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-03-24 23:52
    If you've got the latest version of the SX-Key software the SX/B help file is already on your computer -- click Help to find it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • circuitman78circuitman78 Posts: 2
    edited 2005-07-08 02:04
    Regarding parallel LCD interfacing

    I have a small clip of code that I got from "Exploring the SX", page 145 (I think). I have tried several version of the code. The peice I'm working with now was originally ; *** COMPILED WITH SX/B VERSION 1.21 04/27/2005 ***

    I am now using the SX-Key v3.10, and get two errors when compiling. The first is "No IRC_CAL directive. Default IRC_SLOW being used". The second is "Address 262 is not within lower half of memory page".

    Can anyone shed light of these errors?

    Also, I have the BS2SX and a carrier board for BASIC Stamp 2 modules. I don't have a SX-Key. Is this an issue?
  • ForrestForrest Posts: 1,341
    edited 2005-07-08 03:06
    All Basic Stamps are programmable in Parallax Basic - ONLY. You'll find a hookup diagram and a Parallax Basic program to run a parallal LCD in the Stampworks manual starting on page 75. You can download the Stampworks manual here www.parallax.com/detail.asp?product_id=27220

    SX/B is a different animal - it's meant to be used with Ubicom's SX micontrollers and it can only program these chips thru the SX-Key.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-08 03:13
    SX/B is a bit of a moving target -- we update it as we get requests (when possible) or come up with new ideas while using it ourselves (I've put it to work in several recent Parallax EFX products).· I have made a correction to the Serial LCD code and attached it to this message; just note that you need to use the latest version of the compiler (1.3) for this version of the code.

    And yes, you must have and SX key to program the SXmicro.· The BS2sx is a BASIC Stamp and is a different beast.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • circuitman78circuitman78 Posts: 2
    edited 2005-07-10 15:31
    Sorry, I have the BASIC Stamp 2sx Module...not just the Ubicom IC. I have not had an issue programming it with the carrier board.

    Back the LCD issue; I found a few experiments (exp 11 & 12 of the Stampworks manual) that work to some extent with the LCD module I am using (L1671). The module is a 16x1 display however it is addressable in two lines; the 9th character being character one on the second line. Right now, using the code "as is" from experiment 11 will only use half the display. How do I address the other half?
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-07-11 12:23
    This is not the right forum for the BS2sx -- please move your question to the BASIC Stamps forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.