C++ instead of PBasic
Paige
Posts: 2
Is there a way to use C++ instead of PBasic to program the robots?
Thanks
Thanks
Comments
You may want to look into the Parallax SX or Propeller processors - C is available (or soon to be available) for those processors.
If you really want to experiment with robotics, the Basic Stamp, and C++, you can write a program that does indirect robotic control via a computer. The Basic Stamp will need to be programmed in PBasic, but a PC based control program cna be written in the language of your choice.
The way it would work is that the BS2 & control program would communicate with each other, with the BS2 providing sensor information to the control program. The control program would then process the information, and give directions back to the BS2 based on the results.
The Boe-Bot Microsoft Robotics Studio kit basically works in this manner, but you can do something similar with any configuration that allows you to communicate between a Basic Stamp & a PC, usually over a serial (wired or wireless) connection.
Post Edited (Kevin Wood) : 7/22/2007 8:15:44 PM GMT
Post Edited (Capt. Quirk) : 7/22/2007 8:47:44 PM GMT
Paige
Can't you bypass the intrepreter
(or at least use it) to call
'assembly' routines ?
How about using the Parallax Java chip if you want OO?
Regards
Tim
There is no assembler on the PBASIC Stamp since it uses interpretive rather than compiled Basic. Try PBASIC you may like it.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For that facility, the SX is a very nice platform.