Shop OBEX P1 Docs P2 Docs Learn Events
USB and Visual Basic — Parallax Forums

USB and Visual Basic

atlandatland Posts: 1
edited 2009-02-16 21:10 in Propeller 1
I recieved the USB propeller proto-board and would like to start by communicating through the USB with Visual Basic Express. Can anyone tell where to find some demos or any info to get started?
Thx.

Comments

  • JohnBFJohnBF Posts: 107
    edited 2009-02-16 20:44
    atland,

    This is a terrific thread on communicating between the BS2 and·VB.net programs built with VBE:

    http://forums.parallax.com/showthread.php?p=671804

    Yesterday I·put together all the templates and everything works great. My next project was going to be translating·all this to a prop with a USB connection - it should be easy, but I haven't done it yet.·Anyway, this thread is a great place to start.

    /John
  • JasonDorieJasonDorie Posts: 1,930
    edited 2009-02-16 21:10
    The prop connection shows up as a standard serial port under Windows. If you're using VB.net you can use the SerialPort object in the System.IO libraries. Check out CodeProject.com for VB serial port examples, and look at FullDuplexSerial.spin on the Propeller side.

    Jason
Sign In or Register to comment.