Shop OBEX P1 Docs P2 Docs Learn Events
Display SHT1x info on Parallel LCD — Parallax Forums

Display SHT1x info on Parallel LCD

ArchiverArchiver Posts: 46,084
edited 2003-07-10 23:15 in General Discussion
In trying to combine the SHT1x.BS2 program with the Basic LCD Demonstration
program (I know the SHT1x.BS2 program was written by Jon Williams, and I believe
the LCD Demo was also written by Jon)
I was trying to arrange it so the LCD would be controlled via pins 0 through 7,
and the SHT1x with pins 0 and 1. Although it is not specifically pointed out in
the syntax manual, anytime a statement with "XXXX CON 0" comes up, it
makes pin 0 an input/output pin. Of course that makes the two programs conflict
with each other. So.....what to do??? Anyone want to give me some advice
(other than "Don't bother me
with this trivial stuff!")
Kindest regards, Chuck Irwin


[noparse][[/noparse]Non-text portions of this message have been removed]

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 16:29
    Chuck,

    All you should have to do is designate the LCD cons to different pins, then
    hook the SHT up using the pins you specified.

    Jonathan

    www.madlabs.info

    Original Message
    From: "chuckirwin43" <chuckirwin43@n...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, July 09, 2003 5:01 PM
    Subject: [noparse][[/noparse]basicstamps] Display SHT1x info on Parallel LCD


    > In trying to combine the SHT1x.BS2 program with the Basic LCD
    Demonstration program (I know the SHT1x.BS2 program was written by Jon
    Williams, and I believe the LCD Demo was also written by Jon)
    > I was trying to arrange it so the LCD would be controlled via pins 0
    through 7, and the SHT1x with pins 0 and 1. Although it is not specifically
    pointed out in the syntax manual, anytime a statement with "XXXX CON
    0" comes up, it makes pin 0 an input/output pin. Of course that makes the
    two programs conflict with each other. So.....what to do??? Anyone want to
    give me some advice (other than "Don't bother me
    > with this trivial stuff!")
    > Kindest regards, Chuck Irwin
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 23:15
    Thanks Jonathan!
    I tried that but still had trouble with the LCD Program affecting
    the SHT1x program. I rearranged things and put the LCD program on
    pins 8-15 and that solved the problem. Now am waiting for the SHT1x
    item from Parallax (They are back ordered until 7/15/03). I was
    also able to get the temp and humidity displayed on the LCD. Not
    elegant, but is working thanks to a bit of code from Jon Williams.
    When it is finally working, I will post it here.

    --- In basicstamps@yahoogroups.com, "Jonathan Peakall"
    <jpeakall@m...> wrote:
    > Chuck,
    >
    > All you should have to do is designate the LCD cons to different
    pins, then
    > hook the SHT up using the pins you specified.
    >
    > Jonathan
    >
    > www.madlabs.info
    >
    >
    Original Message
    > From: "chuckirwin43" <chuckirwin43@n...>
    > To: <basicstamps@yahoogroups.com>
    > Sent: Wednesday, July 09, 2003 5:01 PM
    > Subject: [noparse][[/noparse]basicstamps] Display SHT1x info on Parallel LCD
    >
    >
    > > In trying to combine the SHT1x.BS2 program with the Basic LCD
    > Demonstration program (I know the SHT1x.BS2 program was written by
    Jon
    > Williams, and I believe the LCD Demo was also written by Jon)
    > > I was trying to arrange it so the LCD would be controlled via
    pins 0
    > through 7, and the SHT1x with pins 0 and 1. Although it is not
    specifically
    > pointed out in the syntax manual, anytime a statement
    with "XXXX CON
    > 0" comes up, it makes pin 0 an input/output pin. Of course that
    makes the
    > two programs conflict with each other. So.....what to do???
    Anyone want to
    > give me some advice (other than "Don't bother me
    > > with this trivial stuff!")
    > > Kindest regards, Chuck Irwin
    > >
    > >
    > > [noparse][[/noparse]Non-text portions of this message have been removed]
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@yahoogroups.com
    > > from the same email address that you subscribed. Text in the
    Subject and
    > Body of the message will be ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    http://docs.yahoo.com/info/terms/
    > >
    > >
    > >
    > >
    > >
Sign In or Register to comment.