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

Visual Basic

BatmanBatman Posts: 93
edited 2006-04-06 20:49 in General Discussion
Does any one know·how·I can use·Visual Basic to control my BoE-bot.
I have googled, but i havent found anything.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Happy new year

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-06 13:23
    · I don't see how or why this would be so big a deal.· It would be the same as if you were using Hyperterm.
    · What do you want to do (keep it basic, don't give me this go to the moon in a go-kart stuff)?
    · It should be obvious that, I suppose, you need to have "VB" or whatever send info (ASCII, perhaps?) via the comm port, connected to your boebot; and your boebot programmed to interpret and execute subroutines based on that info.· In other words, you could have "VB" send ASCII "forward" to the boebot, and the boebot programmed to wait for a serial input ("forward") which engages your servo/motor to (guess what?) move forward.
  • BatmanBatman Posts: 93
    edited 2006-04-06 13:34
    The point is i kno nothing about communicating with serial ports using VB, do you have an example code?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-06 13:40
    · Hit the books, "VB"-man.
    · Alternatively, using Hyperterm would be simple.

    · Googling for "visual basic" + "comm port" begat http://www.control.com/1026198113/index_html·and http://www.pages.drexel.edu/~bns23/tutorial.html·and a lot of other stuff.
    · Oh -- how about this one: http://www.rentron.com/sending_data.htm

    Post Edited (PJ Allen) : 4/6/2006 2:45:11 PM GMT
  • JavalinJavalin Posts: 892
    edited 2006-04-06 15:23
    Even better than that!

    Look at column #89 - Data exchange with Visual basic on in the Nuts and Volts articles!

    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V3.asp
  • BatmanBatman Posts: 93
    edited 2006-04-06 20:43
    well that code was pretty confusing, didnt even know what its transmitting, and what code it using to transmitt

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
  • BatmanBatman Posts: 93
    edited 2006-04-06 20:49
    But never mind i got it, thank's to http://www.rentron.com/sending_data.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
Sign In or Register to comment.