Shop OBEX P1 Docs P2 Docs Learn Events
IR and VB — Parallax Forums

IR and VB

CenlasoftCenlasoft Posts: 265
edited 2006-04-12 02:41 in General Discussion
Hello,
Does any one know how to use a serial port on a notebook computer to receive IRDA send by an sx using VB 6.0?
Thanks,
Curtis
·

Comments

  • BatmanBatman Posts: 93
    edited 2006-04-07 00:24
    I dont but, I just made a program in vb that controls Basic Stamp II servo, going forward, back, left, and right

    untitled.JPG

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

    Post Edited (Batman) : 4/7/2006 12:27:45 AM GMT
    283 x 134 - 9K
  • CenlasoftCenlasoft Posts: 265
    edited 2006-04-07 00:31
    Thanks for the response,

    Cool project. Are you going to post the VB project?

    Thanks,

    Curtis
  • BatmanBatman Posts: 93
    edited 2006-04-07 01:21
    go here, its a Vb project that turns led on/off.
    http://www.rentron.com/sending_data.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-07 14:34
    Batman said...
    go here, its a Vb project that turns led on/off.
    http://www.rentron.com/sending_data.htm
    So what you're saying is you have created a nice picture of a form but have no code for it.· If you're going to offer answers, provide the code to back it up.· Your link has nothing to do with the picture and form you posted.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • BatmanBatman Posts: 93
    edited 2006-04-07 15:57
    I will post the code when·I come back from school

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-04-10 16:57
    Batman,

    ·· You still haven't posted your code yet.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • A.C. fishingA.C. fishing Posts: 262
    edited 2006-04-10 19:21
    Hmm...
    Does the program compile the code to PBASIC and send it to the BS2, or does it compile to Assembly?
  • BatmanBatman Posts: 93
    edited 2006-04-10 22:23
    After compiling the Pbasic to boebot, then reset boebot. Then run the code on vb.
    Vb then communicate with your boebot.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Happy new year
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-10 22:50
    Batman said...
    I will post the code when·I come back from school
    AND we got:
    After compiling the Pbasic to boebot, then reset boebot. Then run the code on vb.· Vb then communicate with your boebot.
    · What the who?· Who the what?

    · Where's the program, man?·
    · Is it in the Batwave or the Twilight Zone?

    Post Edited (PJ Allen) : 4/10/2006 11:23:24 PM GMT
  • csfancsfan Posts: 14
    edited 2006-04-11 00:44
    I created my own VB program for my Boe-Bot from the example http://www.rentron.com/sending_data.htm that Batman used.· I'm not a·VB·or PBasic expert, but these programs work.·

    Load the Pbasic program to your stamp and then run the VB program.· You will have to set the COM Port accordingly for your PC.· I used COM Port 4·for mine,·which is noted in the VB program.·

    I attached bs2 code, VB .vbp and .frm.· I also included VB .exe which works directly with the bs2 code.


    Post Edited (csfan) : 4/11/2006 12:53:43 AM GMT
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-04-11 01:04
    Way to go, csfan; no talkin', just walkin'.· Excellent.
    [noparse][[/noparse]And now "Batman" has a program, too.]
    ·
  • BatmanBatman Posts: 93
    edited 2006-04-12 02:41
    i do have a program too busy to upload, will do later

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