Shop OBEX P1 Docs P2 Docs Learn Events
more BS2sx questions.... — Parallax Forums

more BS2sx questions....

ArchiverArchiver Posts: 46,084
edited 2004-04-13 13:36 in General Discussion
And Hello again !

So far all of the replies have been great ! Thanks.
Two more questions wrapped into one:

What I want to do is try using the multi banks to run an LCD from
bank 0 and 2 servos from bank 1.
Sounds simple enough,but is it. When the bank 0 LCD(a serial backpack
by the way) displays 'Motors Forward', a 2 sec. pause, then switch to
bank 1 and start both servos for 5 sec, either using a command to
control 2 outputs or I have a Mini SSC,circa 1995. And then,
stop,pause 1 sec, switch to bank 0 and display 'Motors Reverse', 2
sec pause, switch to bank 1 and run servos for 5 sec and stop, switch
to bank 0 and display of course,.....STOP.
Any 'small' program examples would be great. With that I'll be able
to see how this type of programming works and tweak it some more. And
one more thing, I noticed while experimenting with the backpack and
the SSC that I could not make them both run on the same baud, for
example the Backpack On the BS2sx works great at 2400 baud or 17405,
not the SSC and vice versa. The SSC worked great at $418d, Hence I
think one benefit of seperate banks easily allows for different
coms ?????

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-04-13 13:36
    Try this:

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/nv87.pdf

    This article shows to put your main program code in slot 0 and display
    code (parallel LCD) in slot one.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: jking77777 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vvpmfurchg36T_7XWdT-PZ5IGrmuLIsW2pg68WGXcq9Fkdk2R8H3fY8t3nudztPsD0nyfQpADa12]jking@n...[/url
    Sent: Monday, April 12, 2004 10:00 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] more BS2sx questions....




    And Hello again !

    So far all of the replies have been great ! Thanks.
    Two more questions wrapped into one:

    What I want to do is try using the multi banks to run an LCD from
    bank 0 and 2 servos from bank 1.
    Sounds simple enough,but is it. When the bank 0 LCD(a serial backpack
    by the way) displays 'Motors Forward', a 2 sec. pause, then switch to
    bank 1 and start both servos for 5 sec, either using a command to
    control 2 outputs or I have a Mini SSC,circa 1995. And then,
    stop,pause 1 sec, switch to bank 0 and display 'Motors Reverse', 2
    sec pause, switch to bank 1 and run servos for 5 sec and stop, switch
    to bank 0 and display of course,.....STOP.
    Any 'small' program examples would be great. With that I'll be able
    to see how this type of programming works and tweak it some more. And
    one more thing, I noticed while experimenting with the backpack and
    the SSC that I could not make them both run on the same baud, for
    example the Backpack On the BS2sx works great at 2400 baud or 17405,
    not the SSC and vice versa. The SSC worked great at $418d, Hence I
    think one benefit of seperate banks easily allows for different
    coms ?????
Sign In or Register to comment.