Shop OBEX P1 Docs P2 Docs Learn Events
PWMPAL and BS2p problems — Parallax Forums

PWMPAL and BS2p problems

ArchiverArchiver Posts: 46,084
edited 2003-07-14 03:42 in General Discussion
Recently I just got the PWMPAL and it works great on the BS2.
However running the same program on the BS2p doesnt work.


SEROUT 0, 6,[noparse][[/noparse]"!PWMM1", $6D, $00, $94, $02]
SEROUT 0, 6,[noparse][[/noparse]"!PWMM2", $6D, $00, $94, $02]
SEROUT 0, 6,[noparse][[/noparse]"!PWMM3", $6D, $00, $94, $02]
SEROUT 0, 6,[noparse][[/noparse]"!PWMM4", $6D, $00, $94, $02]
SEROUT 0, 6,[noparse][[/noparse]"!PWMSP", %00000000]
SEROUT 0, 6,[noparse][[/noparse]"!PWMSS", %11110000]

Any help would be appreciated. The BS2p check out fine on other
applications.

Thanks,

David

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-07-13 17:06
    May be you did not change the baud rate
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-13 23:30
    --- In basicstamps@yahoogroups.com, "acatano2002" <acatano2002@y...>
    wrote:
    > May be you did not change the baud rate

    I tried several baud rates and nothing seemed to work. I dont know
    if the BS2p and the PWMPAL are compabiable or not.

    David
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-13 23:38
    David,

    I am using a PWMPAL with a BS2P24 and 40 with no problems. Are you sure of
    the baudrates? The BS2 uses a different table to determing baud rate codes,
    are you sure you are using a P baudrate?

    Jonathan

    www.madlabs.info

    Original Message
    From: "davhowe" <davhowe@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Sunday, July 13, 2003 3:30 PM
    Subject: [noparse][[/noparse]basicstamps] Re: PWMPAL and BS2p problems


    > --- In basicstamps@yahoogroups.com, "acatano2002" <acatano2002@y...>
    > wrote:
    > > May be you did not change the baud rate
    >
    > I tried several baud rates and nothing seemed to work. I dont know
    > if the BS2p and the PWMPAL are compabiable or not.
    >
    > David
    >
    >
    > 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-07-14 03:42
    For a baud rate of 38400 using a BS2p requires that you specify 45 instead of
    6.
Sign In or Register to comment.