Robert@HCC
01-21-2006, 04:50 PM
I am currently using a BS2 to run the components in our CanSat project. Components consist of :
DS1620, DS1302, Memsic 2125, MAX187 ADC, MPX4115 Pressure sensor , uM-FPU FP coprocessor, 25LC640 EEPROM, AeroComm 4790 RF modules, and a LassenIQ GPS module.
We are planning on moving up to a Bs2P-24 ,as I had to disable my EEPROM datalogging code when I added the coprocessor to fit the code in the bs2 eeprom http://forums.parallax.com/images/smilies/tongue.gif
The coprocessor is actually overkill, I know - but we want to experience working with the widest range of components possible to add to the learning experience.
Additionally, I still have to add a bit of code for the RF and a small bit to control a servo for parachute release/guidance.
Also, we would like to take advantage of the speed boost of the bs2p, as well as the program slots.
My question is, in converting the code from the bs2 to the bs2p, what functions are affected by changing over to the bs2p from the bs2? For instance, I know about changing the scale for the memsic 2125 like so:
#SELECT $STAMP
#CASE BS2, BS2E, BS2PE
Scale CON $200 ' 2.0 us per unit
#CASE BS2SX, BS2P, BS2PX
Scale CON $0CC ' 0.8 us per unit
#ENDSELECT
And changing my baud rate constant as well....
Any other potential "gotchas" I should be aware of besides this ?
Aloha, and thanks for any replies!
Robert
DS1620, DS1302, Memsic 2125, MAX187 ADC, MPX4115 Pressure sensor , uM-FPU FP coprocessor, 25LC640 EEPROM, AeroComm 4790 RF modules, and a LassenIQ GPS module.
We are planning on moving up to a Bs2P-24 ,as I had to disable my EEPROM datalogging code when I added the coprocessor to fit the code in the bs2 eeprom http://forums.parallax.com/images/smilies/tongue.gif
The coprocessor is actually overkill, I know - but we want to experience working with the widest range of components possible to add to the learning experience.
Additionally, I still have to add a bit of code for the RF and a small bit to control a servo for parachute release/guidance.
Also, we would like to take advantage of the speed boost of the bs2p, as well as the program slots.
My question is, in converting the code from the bs2 to the bs2p, what functions are affected by changing over to the bs2p from the bs2? For instance, I know about changing the scale for the memsic 2125 like so:
#SELECT $STAMP
#CASE BS2, BS2E, BS2PE
Scale CON $200 ' 2.0 us per unit
#CASE BS2SX, BS2P, BS2PX
Scale CON $0CC ' 0.8 us per unit
#ENDSELECT
And changing my baud rate constant as well....
Any other potential "gotchas" I should be aware of besides this ?
Aloha, and thanks for any replies!
Robert