Shop OBEX P1 Docs P2 Docs Learn Events
Basic Stamp - Led - Visual Basic. — Parallax Forums

Basic Stamp - Led - Visual Basic.

GotenGoten Posts: 70
edited 2006-03-01 11:49 in General Discussion
i only wanted to ask, if someone has managed to ignite a led connected to the basic stamp, programming·by a·visual basic turn.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

Best Regards from Chile
Goten
www.chilebot.cl




·

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-02-28 22:43
    Does "igniting" a laser count?

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

    Read further down in the thread-link I provided for a VB program.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • GotenGoten Posts: 70
    edited 2006-03-01 02:43
    well, i used a bad word, i'm sorry for that.

    i just want to do on vb what i do on Parallax editor.

    (if the led is on the pin 6)

    x var word

    inicio:

    for x = 1 to 100

    high 6

    next

    low 6

    goto inicio



    (*) so simple, but i really don't know visual basic, and maybe with a simple example like this, i could get use to the language.



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

    Best Regards from Chile
    Goten
    www.chilebot.cl




    ·
  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2006-03-01 04:21
    Goten,

    You did not use a bad word, I knew exactly what you meant. ... "lighting an LED" or "light an LED" would be a more commonly used phrase.


    I will try to repost a simplified version of my VB code and BS2 code.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-03-01 05:00
    By the way, using PBASIC and trying to learn VB are two different things.· You can communicate between the two for control of the PBASIC program but trying to fully program from VB to learn VB isn't going to happen.· You can't create a form on a BASIC Stamp and drop objects onto it such as buttons and sliders.· They really are distinctly different.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • StaatsStaats Posts: 22
    edited 2006-03-01 11:49
    Nuts & Volts Column 89 "Data Exchange with VB" may be what you are looking for. You can download the .pdf file.
Sign In or Register to comment.