Has anyone ever interfaced their Basic Stamp with Microsoft Visual C++?
Adan
Posts: 2
Hi,
I have a project in mind where I'd like to connect my basic stamp via serial cable to the PC (exactly like what you do for debugging or printing text out to the debugger window in the BASIC programming software.
I'd like to design a Visual C++ program which detects and reads information coming in from a serial port that the BASIC stamp is connected too. Basically I'd like to take a sample sensor reading coming from the stamp and store it as a variable in the Visual C++ program.
Has anyone done something like this and have any sample code I can build upon?
I've searched these forums but it appears no one has ever posted something about Visual C++.
Many thanks for all and any help! [noparse]:)[/noparse]
-Adan
I have a project in mind where I'd like to connect my basic stamp via serial cable to the PC (exactly like what you do for debugging or printing text out to the debugger window in the BASIC programming software.
I'd like to design a Visual C++ program which detects and reads information coming in from a serial port that the BASIC stamp is connected too. Basically I'd like to take a sample sensor reading coming from the stamp and store it as a variable in the Visual C++ program.
Has anyone done something like this and have any sample code I can build upon?
I've searched these forums but it appears no one has ever posted something about Visual C++.
Many thanks for all and any help! [noparse]:)[/noparse]
-Adan
Comments
http://forums.parallax.com/showthread.php?p=607328
The samples are only one way - sending a string to the Stamp. However, you should be able to figure out reading from the Stamp without much difficulty.
Also, just to let you know, the standard forum search engine doesn't work very well. For best results, use the Parallax Google engine at search.parallax.com
http://forums.parallax.com/showthread.php?p=640960
has examples of vb6 and .Net and others..
Quattro
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'