Shop OBEX P1 Docs P2 Docs Learn Events
Sample code for Memsic 2125 Accelerometer to Serial LCD??? — Parallax Forums

Sample code for Memsic 2125 Accelerometer to Serial LCD???

ArchiverArchiver Posts: 46,084
edited 2003-10-04 15:38 in General Discussion
I know this is a simple thing to do but i still cant figure it out.
Would anyone be able to show me how to output angle measurments to the
LCD? Just a bit of sample code is all I need. Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-10-04 05:16
    At 01:06 AM 10/4/03 +0000, deanc500 wrote:
    >I know this is a simple thing to do but i still cant figure it out.
    >Would anyone be able to show me how to output angle measurments to the
    >LCD? Just a bit of sample code is all I need. Thanks

    Grab the PDF and/or sample code which can be found here on the Parallax web
    site:
    http://www.parallax.com/detail.asp?product_id=28017

    Convert the DEBUG statements found in the code to commands which are
    appropriate
    for your serial LCD.

    Regards,

    Bruce Bates




    >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-10-04 15:29
    Hi Bruce, thanks. I already tried that. Spent several hours cutting
    and pasting bits of the demo programs to try to make it work. I have
    replaced the "debug" command with the appropriate serout comamnds and
    still no good. I get something on the screen, but its just one
    charactar long and is ramdom numbers, letters, and symbols.

    Are you sure thats all there is to it? If so, I will try again.
    Dean


    --- In basicstamps@yahoogroups.com, Bruce Bates <bvbates@u...> wrote:
    > At 01:06 AM 10/4/03 +0000, deanc500 wrote:
    > >I know this is a simple thing to do but i still cant figure it out.
    > >Would anyone be able to show me how to output angle measurments to the
    > >LCD? Just a bit of sample code is all I need. Thanks
    >
    > Grab the PDF and/or sample code which can be found here on the
    Parallax web
    > site:
    > http://www.parallax.com/detail.asp?product_id=28017
    >
    > Convert the DEBUG statements found in the code to commands which are
    > appropriate
    > for your serial LCD.
    >
    > Regards,
    >
    > Bruce Bates
    >
    >
    >
    >
    > >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-10-04 15:38
    At 02:29 PM 10/4/03 +0000, deanc500 wrote:
    >Hi Bruce, thanks. I already tried that. Spent several hours cutting
    >and pasting bits of the demo programs to try to make it work. I have
    >replaced the "debug" command with the appropriate serout comamnds and
    >still no good. I get something on the screen, but its just one
    >charactar long and is ramdom numbers, letters, and symbols.
    >
    >Are you sure thats all there is to it? If so, I will try again.
    >Dean

    Hi Dean -

    Essentially it's replacing or converting the DEBUG commands to meet the
    needs of your LCD. You didn't mention which serial LCD you're using. Are
    you sure you're initializing the LCD correctly, and waiting an appropriate
    amount of time before sending it data to display ?

    Bruce
Sign In or Register to comment.