Shop OBEX P1 Docs P2 Docs Learn Events
Bs2px24 — Parallax Forums

Bs2px24

WHWH Posts: 7
edited 2006-03-15 22:22 in BASIC Stamp
hi, i'm used to have a BS2 (normal) and some how it went "berzerk" as all the functions were mixed up...
then i switched over to a BS2PX24 chip, and i'm wondering if the code from my old BS2 chip can be used for the BS2PX24 if i change the
"·· '{$Stamp bs2}··· " part to···"· ·'{$Stamp BS2px}· "·····confused.gif· ?

if there are any tips, they would be welcomed.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-15 21:39
    No, the BS2px is different in many ways than the BS2, including the speed, which can cause timing issues.· You can not just drop it in and it will work if any command are used which are timing dependant.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • WHWH Posts: 7
    edited 2006-03-15 21:40
    ok, then can you help me or direct me to a page that can help me?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-15 21:54
    The BASIC Stamp Manual and the Help file within the editor have the information regarding the differences in some commands used by different Stamp Models.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • WHWH Posts: 7
    edited 2006-03-15 22:02
    one last question

    i'm using th BOE rev. B, is there any thing i need to do since the overview of the BS2PX says that the Vin should not be connected if the VDD is connedted, what do i do?
  • GadgetmanGadgetman Posts: 2,436
    edited 2006-03-15 22:11
    You shouldn't have to do anything special about the VDD/VSS lines as this is the same on ALL BS2 models.
    (The Boe board only connects to one of the pins anyway)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't visit my new website...
  • WHWH Posts: 7
    edited 2006-03-15 22:21
    thing is, i have the rev B board, and it connects all the pins

    tested with a multimeter(short circuit·checker)
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-15 22:22
    That BASIC Stamp 2px is electrically compatible with all the other 24 pin Stamp Modules.· The differences are in the execution speeds of various timing critical instructions.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • WHWH Posts: 7
    edited 2006-03-15 22:22
    thanks

    i looked at the speed differences and calculated that the pulsout function from the BS2 Code to BS2PX code needed to be multiplied by 2.5 to get the right timing

    Post Edited (WH) : 3/15/2006 10:25:09 PM GMT
Sign In or Register to comment.