Shop OBEX P1 Docs P2 Docs Learn Events
shiftout, can you do this? — Parallax Forums

shiftout, can you do this?

ArchiverArchiver Posts: 46,084
edited 2002-11-16 13:51 in General Discussion
shiftout 1,2, msbfirst, [noparse][[/noparse]%011\3, %11110000\8]

is this possible?

thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-11-16 13:17
    You can just specify 11 bits and a single number instead of two seperate
    ones if you want.

    shiftout 1,2,msbfirst,[noparse][[/noparse]thenumber\11]

    Original Message
    From: "rad0" <rad0@a...>
    To: "stampers!" <basicstamps@yahoogroups.com>
    Sent: Saturday, November 16, 2002 3:49 AM
    Subject: [noparse][[/noparse]basicstamps] shiftout, can you do this?


    > shiftout 1,2, msbfirst, [noparse][[/noparse]%011\3, %11110000\8]
    >
    > is this possible?
    >
    > thanks
    >
    >
    >
    > 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-11-16 13:31
    You could also write

    shiftout 1, 2, msbfirst, [noparse][[/noparse]3,240]



    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-11-16 13:51

    Original Message
    From: "Pat M" <pmeloy@s...>
    To: <basicstamps@yahoogroups.com>
    Sent: Saturday, November 16, 2002 7:17 AM
    Subject: Re: [noparse][[/noparse]basicstamps] shiftout, can you do this?


    > You can just specify 11 bits and a single number instead of two seperate
    > ones if you want.
    >
    > shiftout 1,2,msbfirst,[noparse][[/noparse]thenumber\11]
    >

    do you mean what ever the combined 11 digit number is? correct?

    for instance
    addr 000
    data 0x80

    in decimal this is

    000 plus 0x80 which is 8 * 16 which is 128

    so
    shiftout 1,2,msbfirst,[noparse][[/noparse]128\11]

    sends
    000 1000 0000

    just making sure, thanks









    >
    Original Message
    > From: "rad0" <rad0@a...>
    > To: "stampers!" <basicstamps@yahoogroups.com>
    > Sent: Saturday, November 16, 2002 3:49 AM
    > Subject: [noparse][[/noparse]basicstamps] shiftout, can you do this?
    >
    >
    > > shiftout 1,2, msbfirst, [noparse][[/noparse]%011\3, %11110000\8]
    > >
    > > is this possible?
    > >
    > > thanks
    > >
    > >
    > >
    > > 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/
    >
    >
    >
Sign In or Register to comment.