Shop OBEX P1 Docs P2 Docs Learn Events
BS2sx & PULSOUT — Parallax Forums

BS2sx & PULSOUT

ArchiverArchiver Posts: 46,084
edited 2001-03-22 02:50 in General Discussion
Remember that the pulsout on a BS2SX will have different setting than
it does on the stampII.

If you are like me, you have already stripped several servos trying
to make it work. If you still haven't figured it out yet, email me
again and I will give you the parameters that work for me.

Doug

> To: basicstamps@yahoogroups.com
> From: Rodent <daweasel@s...>
> Date: Wed, 21 Mar 2001 20:23:50 -0600
> Reply-to: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] BS2sx & PULSOUT

> Anyone had any problems getting PULSOUT to work on the BS2sx? We were
> working on a servo and could not get PULSOUT to put out a steady pulse
> stream.
>
> Per examples found in several books, we set up a loop with a PULSOUT
> statement and a pause and we only got about 10-12 pulses out of any of the
> ports we tried.
>
> We wrote a FOR NEXT loop and toggled the port high and low at a high rate
> with no problems, but the PULSOUT command does not appear to work properly.
>
> Any ideas?
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-03-22 02:23
    Anyone had any problems getting PULSOUT to work on the BS2sx? We were
    working on a servo and could not get PULSOUT to put out a steady pulse
    stream.

    Per examples found in several books, we set up a loop with a PULSOUT
    statement and a pause and we only got about 10-12 pulses out of any of the
    ports we tried.

    We wrote a FOR NEXT loop and toggled the port high and low at a high rate
    with no problems, but the PULSOUT command does not appear to work properly.

    Any ideas?
  • ArchiverArchiver Posts: 46,084
    edited 2001-03-22 02:50
    i've had pretty good luck with the bs2sx accept that i had to set the dir pins
    individually to get some of my programs to work as i expected.

    ie: dirs=%00011111... didn't seem to get all of the pins but

    dir0=0
    dir1=0
    etc...

    made everything work fine.

    -pete

    On Wed, 21 Mar 2001, Rodent wrote:

    > Anyone had any problems getting PULSOUT to work on the BS2sx? We were
    > working on a servo and could not get PULSOUT to put out a steady pulse
    > stream.
    >
    > Per examples found in several books, we set up a loop with a PULSOUT
    > statement and a pause and we only got about 10-12 pulses out of any of the
    > ports we tried.
    >
    > We wrote a FOR NEXT loop and toggled the port high and low at a high rate
    > with no problems, but the PULSOUT command does not appear to work properly.
    >
    > Any ideas?
    >
Sign In or Register to comment.