Different programming for bs2 and bs2p
I have a system that runs with two bs2's and I tried to replace them with bs2p's.· The software seemed to write OK, but doesn't execute.· I am using PBasic 2.0.· I thought that the bs2p also used PBasic 2.0.· Am I wrong?· Are there some differences I am not aware of?· Also, I thought the pinouts are the same as well.· Any help would be appreciated!
Comments
On the code side, what are you trying to do? If you can paste your code that would help.
Dave
The problem you are seeing though is more likely due to the fact that the BS2p operates at a different speed to the BS2 so any time sensitive instructions in your code will not work as they did before eg: SERIN/SEROUT . The Pbasic help files document the differences.
Jeff T.
If you start out your code with these compiler directives:
then use SERIN SerRecv, Baud, [noparse][[/noparse]data2get...
etc.
This will automatically change based on your {Stamp} directive when you compile the program
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Smile ... It increases your face value!