Microsoft and the Propeller
NWCCTV
Posts: 3,629
in Propeller 1
I know there is a way for the Stamp to communicate using Visual Basic and Visual C but has anyone accomplished this with the Propeller yet? I have some project ideas that would really benefit from the use of VB and VC but have not found any info on this subject.
Comments
I think it would be pretty easy to translate PBASIC serial interface code to Spin.
As JonnyMac points out, this sort of thing should be easier with the Propeller than it was with a BS2.
ON THE PROPELLER
In Visual Basic (6.0 in my case)
Presuming a form is present containing an MSCOMM control named MSComm1; a ComboBox named cb1; and two CommandButtons named cmdRun and cmdQuit.
And in addition a module named SerialEnumerator containing the following code:
Details here http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/VB.htm
I can post some code is anyone is interested.
Bean
I use the propeller tool to create the HUB program and download to the prop. On the prop side I use the SPIN FullDuplexSerial. I use a binary protocol to send and receive data.
Right now I'm looking into a prop loader I can integrate into my C# application.
BTW. the Propellent DLL works well with VS C# and C++