send data from a c++ program to basic stamp 2 program dynamically
Grishma
Posts: 9
I want to know how to send data(float) from a c++ program to a bs2 program .In other words, how to read data from a c++ program to a bs2 program dynamically, using commands.
This discussion has been closed.
Comments
You're probably going to need more details. For example, where is the C++ program running? PC? Another MCU? As far as the BASIC Stamp 2 is concerned data can be received serially.
The C++ program runs in pc.Basically I have a program in c++ that calculates a value(float).Now I need to transmit this value to a bs2 program(running on PC (xp) with in built Bluetooth) so that it instructs a boebot to travel that much distance through Bluetooth (eb500).I suppose that now my idea is clear to you. My modules in c++ and bs2 are ready I just need to interface the data from one code to the other.
Or Is there a better alternative available to perform this whole task??
http://forums.parallax.com/showthread.php/158236-how-to-send-data-through-PC-to-boebot-using-eb500-bluetooth?p=1303394#post1303394
I have deleted two other cross posting violations in the past week.
Keep to to one thread please.