Shop OBEX P1 Docs P2 Docs Learn Events
BS2P and PSC — Parallax Forums

BS2P and PSC

Brian CarpenterBrian Carpenter Posts: 728
edited 2005-08-21 21:04 in BASIC Stamp
What has to change in the program that comes with the PSC to work with the BS2P.· Is it that the baud constant is wrong?· What does it need to be set at?· thanks

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


It's Only A Stupid Question If You Have Not Googled It First!!

Post Edited (altitudeap) : 8/21/2005 7:31:38 PM GMT

Comments

  • dandreaedandreae Posts: 1,375
    edited 2005-08-21 19:43
    Yes, you are correct.· The baud rate has to be changed·to 2400 or 38.4K.· The baud rate for the BS2p is 17405 for inverted and 1021 for true.· You can find this information in the BASIC Stamp manual version 2.2 or in the "Help" file.

    Dave

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Tech Support
    dandreae@parallax.com
    Http://www.parallax.com

    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-21 20:00
    Hello,

    ·· Since the PSC uses "OPEN" baud mode, you should add $8000 to the 1021 for the BS2p, giving you a final baud value of 33789.· If your code adds the $8000 then use the 1021.· If you are implicitly specifying the baud rate then use 33789.·



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Brian CarpenterBrian Carpenter Posts: 728
    edited 2005-08-21 21:04
    thanks guys. ive got that part working now thanks.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    It's Only A Stupid Question If You Have Not Googled It First!!
Sign In or Register to comment.