Shop OBEX P1 Docs P2 Docs Learn Events
programing help — Parallax Forums

programing help

ArchiverArchiver Posts: 46,084
edited 2002-08-04 16:39 in General Discussion
Need help with serout command on stamp2.
sending step code to little stepu controller for # of steps
This code work's fine serout 10,baud,[noparse][[/noparse]"{E -200}"]
This code does not
dist var word
dist = -200
serout 10,baud,[noparse][[/noparse]"{E sdec dist}"]
I am not sure how to set this up any help would be appreciated.
Thanks max



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

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-08-03 20:33
    hi max,
    this is more like a shot in the dark but try this serout 10,baud [noparse][[/noparse]"{e",dec
    dist, "}"]
    i've no way of trying this but i took the format from the last page of the
    step-u spec sheet.

    regards ian
    Original Message
    From: max powell <mpowell@t...>
    To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    Date: Sunday, August 04, 2002 12:14 AM
    Subject: [noparse][[/noparse]basicstamps] programing help


    >Need help with serout command on stamp2.
    >sending step code to little stepu controller for # of steps
    >This code work's fine serout 10,baud,[noparse][[/noparse]"{E -200}"]
    >This code does not
    >dist var word
    >dist = -200
    >serout 10,baud,[noparse][[/noparse]"{E sdec dist}"]
    >I am not sure how to set this up any help would be appreciated.
    >Thanks max
    >
    >
    >
    >[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 2002-08-03 21:42

    Original Message
    From: "max powell" <mpowell@t...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, August 03, 2002 8:15 AM
    Subject: [noparse][[/noparse]basicstamps] programing help


    > Need help with serout command on stamp2.
    > sending step code to little stepu controller for # of steps
    > This code work's fine serout 10,baud,[noparse][[/noparse]"{E -200}"]
    > This code does not
    > dist var word
    > dist = -200
    > serout 10,baud,[noparse][[/noparse]"{E sdec dist}"]
    > I am not sure how to set this up any help would be appreciated.
    > Thanks max
    >
    >
    >
    > [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 2002-08-04 02:52
    Thanks a bunch Ian that code worked fine.
    I must not have that data sheet.
    thanks Max



    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-08-04 07:29
    hi max,
    you can get the pdf from www.tla.co.nz

    regards
    ian
    Original Message
    From: max powell <mpowell@t...>
    To: basicstamps@yahoogroups.com <basicstamps@yahoogroups.com>
    Date: Sunday, August 04, 2002 10:52 AM
    Subject: [noparse][[/noparse]basicstamps] programing help


    >Thanks a bunch Ian that code worked fine.
    >I must not have that data sheet.
    >thanks Max
    >
    >
    >
    >[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 2002-08-04 16:39
    Thank I appreciate it
    Ian Lawson <irlawson@i...> wrote: hi max,
    you can get the pdf from www.tla.co.nz

    regards
    ian
    Original Message
    From: max powell
    To: basicstamps@yahoogroups.com
    Date: Sunday, August 04, 2002 10:52 AM
    Subject: [noparse][[/noparse]basicstamps] programing help


    >Thanks a bunch Ian that code worked fine.
    >I must not have that data sheet.
    >thanks Max
    >
    >
    >
    >[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/
    >
    >
    >


    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/




    Do You Yahoo!?
    Yahoo! Health - Feel better, live better

    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.