Yes, except the BS2p40 which has too many pins to fit in the socket on the BOE. Don't forget to change your timings in your programs or use conditional compilations (the time values for PULSOUT, PULSIN, FREQOUT, etc. are different from Stamp to Stamp).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
Johnny-5, · ·· You would of course need to change the Stamp Directive for your programs based on which module you have, but other changes may need to be made to existing code depending on the module as well.· For example, if you have BS2 code and you use a BS2p, just changing the directive won’t make the code work properly.· Some timing dependant commands have different values for certain parameters.· For example, PULSOUT values will be different and have to be adjusted for the BS2p.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support
..as always, the parameter changes can be handled by smart (symbolic) coding and using the conditional compilation framework that Jon Wiliams published. Sorry, I don't have a link handy, but if you do a search on "conditional compilation", I'll bet it pops up...using the google search, of course.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
Tom, · ·· In most cases you’re correct.· There are a few small cases where changing the BASIC Stamp Model requires more than just changing parameters and constants, especially if the code is based on the resolution or range of those values and they change significantly.· For example, notice that the PULSIN command on the BS2 can measure a pulse width up to 131.07 mS, but the BS2sx, BS2p and BS2px can only measure up to 52.428 mS.· I hope this information helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
·
·· You would of course need to change the Stamp Directive for your programs based on which module you have, but other changes may need to be made to existing code depending on the module as well.· For example, if you have BS2 code and you use a BS2p, just changing the directive won’t make the code work properly.· Some timing dependant commands have different values for certain parameters.· For example, PULSOUT values will be different and have to be adjusted for the BS2p.· I hope this helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
·
·· In most cases you’re correct.· There are a few small cases where changing the BASIC Stamp Model requires more than just changing parameters and constants, especially if the code is based on the resolution or range of those values and they change significantly.· For example, notice that the PULSIN command on the BS2 can measure a pulse width up to 131.07 mS, but the BS2sx, BS2p and BS2px can only measure up to 52.428 mS.· I hope this information helps.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support