PDA

View Full Version : BS2P and PSC



Brian Carpenter
08-22-2005, 03:24 AM
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

dandreae
08-22-2005, 03:43 AM
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 (mailto:dandreae@parallax.com)
http://www.parallax.com

·

Chris Savage
08-22-2005, 04:00 AM
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 (mailto:csavage@parallax.com)

Brian Carpenter
08-22-2005, 05:04 AM
thanks guys. ive got that part working now thanks.

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


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